diff options
author | Yaroslav <contact@yaroslavps.com> | 2019-09-23 06:32:38 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2019-09-23 06:32:38 +0300 |
commit | 93d2743e3864e9eab0699b1bb1ea5f01c10bdbc1 (patch) | |
tree | f5cab1472bf7d95aa72c43a713e104d2827b37a5 /dotfiles/.themes/oomox-materia-dark/gtk-2.0/hacks.rc | |
download | swayrice-93d2743e3864e9eab0699b1bb1ea5f01c10bdbc1.tar.gz swayrice-93d2743e3864e9eab0699b1bb1ea5f01c10bdbc1.zip |
initial commit
Diffstat (limited to 'dotfiles/.themes/oomox-materia-dark/gtk-2.0/hacks.rc')
-rw-r--r-- | dotfiles/.themes/oomox-materia-dark/gtk-2.0/hacks.rc | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dotfiles/.themes/oomox-materia-dark/gtk-2.0/hacks.rc b/dotfiles/.themes/oomox-materia-dark/gtk-2.0/hacks.rc new file mode 100644 index 0000000..96eb088 --- /dev/null +++ b/dotfiles/.themes/oomox-materia-dark/gtk-2.0/hacks.rc @@ -0,0 +1,36 @@ +# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et: +# +# This file contains horrible hacks to make this theme work with some programs +# This is mostly due to the limitations of gtk2 but sometimes its the fault of +# the programs themselves. Not going to point fingers. +# +# Either way, it's a WONTFIX for both, hence this horrible file. + +style "toplevel_hack" { + engine "adwaita" {} +} + +style "chrome_entry" { + base[NORMAL] = @base_color + base[INSENSITIVE] = @base_color +} + +style "vim_notebook" { + bg[NORMAL] = @base_color + bg[ACTIVE] = @bg_color +} + +# Vim puts an eventbox between the tab and the label and colours it, +# we need to handle that +widget "vim-main-window*GtkNotebook.GtkEventBox" style "vim_notebook" + +# (he)xchat input box +class "SexySpellEntry" style:highest "normal_entry" + +# Chromium uses base as the fill colour of its own entries +# This would be fine but Gtk+ uses it to fill the surrounding space, so its set to bg +# That results in Chromium using it for the fill, so we need to handle that +widget_class "*Chrom*<GtkEntry>" style "chrome_entry" + +# Hack to be able to match widgets in LibreOffice +class "GtkWindow" style "toplevel_hack" |