Skip to content

Instantly share code, notes, and snippets.

@logarytm
Created February 22, 2018 08:43
Show Gist options
  • Save logarytm/be76b1b3e20d39b988abb45e60fd71ff to your computer and use it in GitHub Desktop.
Save logarytm/be76b1b3e20d39b988abb45e60fd71ff to your computer and use it in GitHub Desktop.
give some apps dark titlebar under GNOME
-- $HOME/.config/devilspie2/devilspie2.lua
if string.match(get_window_class(), "Code") or string.match(get_window_class(), "jetbrains") then
os.execute("xprop -id " .. get_window_xid() .. " -f _GTK_THEME_VARIANT 8u -set _GTK_THEME_VARIANT 'dark'")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment