A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 hacks.rc

View raw Download
text/plain • 1.12 kiB
ASCII text
        
            
1
# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
2
#
3
# This file contains horrible hacks to make this theme work with some programs
4
# This is mostly due to the limitations of GTK 2 but sometimes its the fault of
5
# the programs themselves. Not going to point fingers.
6
#
7
# Either way, it's a WONTFIX for both, hence this horrible file.
8
9
style "toplevel_hack" {
10
engine "adwaita" {}
11
}
12
13
style "chrome_entry" {
14
base[NORMAL] = @base_color
15
base[INSENSITIVE] = @base_color
16
}
17
18
style "vim_notebook" {
19
bg[NORMAL] = @base_color
20
bg[ACTIVE] = @bg_color
21
}
22
23
# Vim puts an eventbox between the tab and the label and colours it,
24
# we need to handle that
25
widget "vim-main-window*GtkNotebook.GtkEventBox" style "vim_notebook"
26
27
# (he)xchat input box
28
class "SexySpellEntry" style:highest "normal_entry"
29
30
# Chromium uses base as the fill colour of its own entries
31
# This would be fine but GTK uses it to fill the surrounding space, so its set to bg
32
# That results in Chromium using it for the fill, so we need to handle that
33
widget_class "*Chrom*<GtkEntry>" style "chrome_entry"
34
35
# Hack to be able to match widgets in LibreOffice
36
class "GtkWindow" style "toplevel_hack"
37