Skip to content

Instantly share code, notes, and snippets.

@tcmhoang
Created April 20, 2020 02:08
Show Gist options
  • Save tcmhoang/7f06eaaba8e55c6eb439c26966f47575 to your computer and use it in GitHub Desktop.
Save tcmhoang/7f06eaaba8e55c6eb439c26966f47575 to your computer and use it in GitHub Desktop.
Devilspie Config
( if
(or
( contains ( window_class ) "Firefox" )
(contains ( window_class ) "Popcorn-Time"))
(begin
(spawn_async (str "xprop -id " (window_xid) " -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 "))
(spawn_async (str "xprop -id " (window_xid) " -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY 0xdfffffff"))
)
)
( if
(or
(contains ( window_class ) "VSCodium")
(contains ( window_class ) "jetbrains-idea")
(contains ( window_class ) "TelegramDesktop")
)
(begin
(spawn_async (str "xprop -id " (window_xid) " -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 "))
(spawn_async (str "xprop -id " (window_xid) " -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY 0xcf363636"))
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment