Skip to content

Instantly share code, notes, and snippets.

@Ditti4
Created September 4, 2018 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ditti4/a7472b2083c9d67ce7183cf31d5cb81d to your computer and use it in GitHub Desktop.
Save Ditti4/a7472b2083c9d67ce7183cf31d5cb81d to your computer and use it in GitHub Desktop.
Simple devilspie2 script to enable the "Always on top" property on the new Skype's (version 8) mini video popup window. Place in .config/devilspie2/
-- The only situation where Skype will spawn a new window is during a call when
-- another application is brought to the foreground. This new window will then
-- be called "Skype", just like the main window, but will not be resizable.
if (get_window_name() == "Skype" and
get_window_role() == "browser-window" and
not string.find(get_window_property("_NET_WM_ALLOWED_ACTIONS"), "RESIZE")) then
make_always_on_top()
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment