Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Install devilspie2 (not devilspie) and place this file under $HOME/.config/devilspie2
- -- Set devilspie2 to autostart with your session
- x, y, width, height = get_window_geometry()
- name = get_window_name()
- role = get_window_role()
- class = get_window_class()
- debug_print("Window name: "..name)
- debug_print("Window role: "..role)
- debug_print("Window class: "..class)
- debug_print("Window dimensions: "..width.."x"..height)
- if (name == "Skype" and role == "browser-window" and class == "Skype") then
- if (width < 300 and height < 300) then
- make_always_on_top()
- set_skip_tasklist(true)
- set_skip_pager(true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement