Debian Codegraph @

common/gtk-2.0/apps.rc

raw
1 #
2 # Thunar
3 #
4 style "thunar-handle" { GtkPaned::handle-size = 2 }
5
6 style "dark-sidebar" {
7 GtkTreeView::odd_row_color = @dark_sidebar_bg
8 GtkTreeView::even_row_color = @dark_sidebar_bg
9
10
11 base[NORMAL] = @dark_sidebar_bg
12 base[INSENSITIVE] = @dark_sidebar_bg
13
14 text[NORMAL] = "#BAC3CF"
15 text[ACTIVE] = @selected_fg_color
16 text[SELECTED] = @selected_fg_color
17 }
18
19 style "thunar-frame" {
20 xthickness = 0
21 ythickness = 0
22 }
23
24 widget_class "*ThunarWindow*.<GtkScrolledWindow>" style "thunar-frame"
25 widget_class "*ThunarShortcutsView*" style "dark-sidebar"
26 widget_class "*ThunarTreeView*" style "dark-sidebar"
27 widget_class "*ThunarWindow*.<GtkHPaned>" style "thunar-handle"
28
29 #
30 # Workaround for colored entries
31 #
32 style "entry_border" {
33
34 xthickness = 7
35 ythickness = 5
36
37 engine "pixmap" {
38
39 image {
40 function = SHADOW
41 state = NORMAL
42 detail = "entry"
43 file = "assets/entry-border-bg.png"
44 border = {6, 6, 6, 6}
45 stretch = TRUE
46 }
47
48 image {
49 function = SHADOW
50 state = ACTIVE
51 detail = "entry"
52 file = "assets/entry-border-active-bg.png"
53 border = {6, 6, 6, 6}
54 stretch = TRUE
55 }
56
57 image {
58 function = FLAT_BOX
59 state = ACTIVE
60 detail = "entry_bg"
61 file = "assets/null.png"
62 }
63
64 image {
65 function = FLAT_BOX
66 state = INSENSITIVE
67 detail = "entry_bg"
68 file = "assets/null.png"
69 }
70
71 image {
72 function = FLAT_BOX
73 detail = "entry_bg"
74 file = "assets/null.png"
75 }
76 }
77 }
78
79 style "combobox_entry_border" = "combobox_entry" {
80
81 engine "pixmap" {
82
83 image {
84 function = SHADOW
85 detail = "entry"
86 state = NORMAL
87 shadow = IN
88 file = "assets/combo-entry-border.png"
89 border = { 4, 4, 12, 12 }
90 stretch = TRUE
91 direction = LTR
92 }
93
94 image {
95 function = SHADOW
96 detail = "entry"
97 state = ACTIVE
98 file = "assets/combo-entry-border-focus.png"
99 border = { 4, 4, 12, 12 }
100 stretch = TRUE
101 direction = LTR
102 }
103
104 image {
105 function = SHADOW
106 detail = "entry"
107 state = NORMAL
108 shadow = IN
109 file = "assets/combo-entry-border-rtl.png"
110 border = { 4, 4, 12, 12 }
111 stretch = TRUE
112 direction = RTL
113 }
114
115 image {
116 function = SHADOW
117 detail = "entry"
118 state = ACTIVE
119 file = "assets/combo-entry-border-focus-rtl.png"
120 border = { 4, 4, 12, 12 }
121 stretch = TRUE
122 direction = RTL
123 }
124
125 image {
126 function = FLAT_BOX
127 state = INSENSITIVE
128 detail = "entry_bg"
129 file = "assets/null.png"
130 }
131
132 image {
133 function = FLAT_BOX
134 detail = "entry_bg"
135 file = "assets/null.png"
136 }
137 }
138 }
139
140
141 # Mousepad search entry
142 widget_class "*MousepadSearchBar*.<GtkEntry>" style "entry_border"
143
144 # Mousepad find and replace
145 widget_class "*MousepadReplaceDialog*.<GtkEntry>" style "entry_border"
146
147 # Thunar bulk rename
148 widget_class "*ThunarRenamerDialog*.<GtkEntry>" style "entry_border"
149
150 # Hexchat input box
151 class "SexySpellEntry" style:highest "entry_border"
152
153 # Geany search entries
154 widget "*GeanyToolbar.*geany-search-entry-no-match*" style "entry_border"
155 widget "*GeanyToolbar.*GtkEntry*" style "entry_border"
156
157 widget "GeanyDialogSearch.*GtkComboBoxEntry*.*geany-search-entry-no-match*" style "combobox_entry_border"