]> git.phdru.name Git - dotfiles.git/blob - .gtkrc-2.0
.shellrc: Check if file `bash_completion` exists
[dotfiles.git] / .gtkrc-2.0
1 # When turned on, this option causes gtk to select the contents of an entry field when it becomes focused.
2 gtk-entry-select-on-focus = 1
3
4 #############################
5 #font stuff
6 ############################
7
8 # Sets the font used by all gtk applications.
9 gtk-font-name = "Sans 16"
10
11 # The following section allows you to change the style of the conversation
12 # window widgets, log viewer widget, and request and notify window widgets.
13 # These only work in Gaim 0.78 or higher.
14 style "imhtml-fix"
15 {
16    font_name = "Sans 16"
17 }
18 class "*" style "imhtml-fix"
19
20 # Set the widget style for the conversation entry box
21 widget "*gaim_gtkconv_entry" style "imhtml-fix"
22 # Set the widget style for the conversation
23 widget "*gaim_gtkconv_imhtml" style "imhtml-fix"
24 # Set the widget style for the log viewer
25 widget "*gaim_gtklog_imhtml" style "imhtml-fix"
26
27 # Set the widget style for IMHtml input widgets in request dialogs
28 widget "*gaim_gtkrequest_imhtml" style "imhtml-fix"
29 # Set the widget style for IMHtml widgets in notify dialogs
30 widget "*gaim_gtknotify_imhtml" style "imhtml-fix"
31
32 # Uncommenting the line below sets all IMHtml widgets in Gaim to the same style
33 # and will work in Gaim versions prior to 0.78
34 #widget_class "*.GtkScrolledWindow.GtkIMHtml" style "imhtml-fix"
35
36 # The following lets you customize the color of hyperlinks
37 # and also the text cursors. The link color thing is Gaim specific
38 # but the rest work for any Gtk2 program. You can search the Gtk2
39 # docs for other style properties.
40 style "my-style-name" {
41   GtkIMHtml::hyperlink-color = "#000080"
42   GtkWidget::cursor-color    = "#0000FF"
43   GtkWidget::secondary-cursor-color = "#00FF00" #for mixed ltr and rtl
44 }
45 widget_class "*" style "my-style-name"
46
47 #############################
48 #Blist stuff
49 #############################
50
51 # This style sets the expander size on a treeview to 0, which has the result
52 # of reducing the indent for items in the tree. This can be applied to the
53 # Gaim buddy list to reduce it's width.
54 # This only works in Gaim 0.79 and higher
55 #style "my-narrow-tree"
56 #{
57 #  GtkTreeView::expander_size = 0
58 #}
59 # And apply the style to the buddy list:
60 #widget "*gaim_gtkblist_treeview" style "my-narrow-tree"
61
62 # Customize the New 2.0.0 Status Selector
63 style "gaim-statusbox-style" {
64     # This is a work-around that keeps you from having to scroll
65     # if the status selector is at the bottom of the screen.
66         GtkComboBox::appears-as-list = 1
67
68     # Depending on your theme and/or GTK+ version, one of
69     # the following blocks should eliminate excess padding.
70     # The second approach is probably more universally
71     # applicable, but the first removes more padding for
72     # some people.
73
74     # Eliminate Padding Approach 1
75         xthickness = 0
76         ythickness = 0
77
78     # Eliminate Padding Approach 2
79         xthickness = 2
80         ythickness = 2
81     GtkWidget::focus-line-width = 0
82     GtkWidget::focus-padding = 0
83 }
84 widget "*gaim_gtkblist_statusbox*" style "gaim-statusbox-style"
85
86
87 #############################
88 #key bindings
89 #############################
90
91 # Controls the keybindings that gtk uses for text entry/editing/etc
92 # The "emacs" theme turns on things like:
93 # ctrl-a == move to beginning of line, ctrl-e == move to end of line, etc.
94 gtk-key-theme-name = "Default"
95
96 #to let you edit your gaim key bindings
97 #gtk-can-change-accels = 1
98
99 # In Pidgin you can set custom keybindings in your theme.  Here
100 # is an example to follow
101
102 binding "my-bindings"
103 {
104 # enter inserts a newline
105         bind "Return" { "insert-at-cursor" ("\n") }
106 # ctrl-enter sends message
107         bind "<ctrl>Return" { "message_send" () }
108 # ctrl-s sends message
109 #       bind "<ctrl>s" { "message_send" () }
110 # shift-f1 toggles bold
111 #       bind "<shft>F1" { "format_function_toggle" (1) }
112 # alt-f2 toggles italic
113 #       bind "<alt>F2" { "format_function_toggle" (2) }
114 # Ctrl-alt-shift-f3 toggles underline
115 #       bind "<ctrl><alt><shift>F3" { "format_function_toggle" (4) }
116 # Ctrl-f1 resets the formatting
117 #       bind "<ctrl>F1" { "format_function_clear" () }
118 }
119 widget "*pidgin_conv_entry" binding "my-bindings"
120
121 #############################
122 #misc
123 #############################
124
125 # Tooltips - black on yellow-white
126 style "tooltips"
127 {
128    fg[NORMAL] = "#000000"
129    bg[NORMAL] = "#efe3b5"
130 }
131 widget "gtk-tooltips*" style "tooltips"
132
133 gtk-recent-files-max-age=1
134
135 gtk-button-images=1
136 gtk-menu-images=1
137 gtk-cursor-theme-size=0
138 gtk-enable-event-sounds=0
139 gtk-enable-input-feedback-sounds=0
140 gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
141 gtk-toolbar-style=GTK_TOOLBAR_BOTH
142 gtk-xft-antialias=1
143 gtk-xft-hinting=1
144 gtk-xft-hintstyle="hintfull"
145 gtk-xft-rgba="none"