aboutsummaryrefslogtreecommitdiff
path: root/.themes/Relax-GTK/gtk-2.0/hacks.rc
diff options
context:
space:
mode:
authorIndrajith2024-07-03 02:03:35 +0530
committerIndrajith2024-07-03 02:03:35 +0530
commit824022cd1f633c70c4d2782934251616756f4668 (patch)
treea310eb4bf72b26c2d110838b8c487daaa3537bea /.themes/Relax-GTK/gtk-2.0/hacks.rc
parent57eb70137b5bbcdabdc0f02eea5477b3e5f845a1 (diff)
downloaddots-824022cd1f633c70c4d2782934251616756f4668.tar.gz
dots-824022cd1f633c70c4d2782934251616756f4668.tar.bz2
dots-824022cd1f633c70c4d2782934251616756f4668.zip
Dots Updated
* Adds GTK Themes * Adds wlogout * Adds tmux config * Adds Pywal-16-colors * Removed unwanted gtk folders * Config Updates * Fish * Hyprland * Hyprlock * Hyprpaper * waybar
Diffstat (limited to '.themes/Relax-GTK/gtk-2.0/hacks.rc')
-rw-r--r--.themes/Relax-GTK/gtk-2.0/hacks.rc37
1 files changed, 37 insertions, 0 deletions
diff --git a/.themes/Relax-GTK/gtk-2.0/hacks.rc b/.themes/Relax-GTK/gtk-2.0/hacks.rc
new file mode 100644
index 000000000..c8a376346
--- /dev/null
+++ b/.themes/Relax-GTK/gtk-2.0/hacks.rc
@@ -0,0 +1,37 @@
+# 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] = @insensitive_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"