dotfiles

config files for my linux setup
git clone git://edryd.org/dotfiles
Log | Files | Refs | README

toolbar.rc (6082B)


      1 ##########################################
      2 # DARK TOOLBARS	
      3 ##########################################
      4 style "toolbar-dark" = "default"
      5 {
      6 xthickness		= 3
      7 ythickness		= 3
      8 
      9 # TOOLBAR STYLE PROPERTIES
     10 GtkToolbar::button-relief				= GTK_RELIEF_NONE 	
     11 # Indicated the relief to be drawn around a GtkButton. 
     12 # GTK_RELIEF_NORMAL	Draw a normal relief. 
     13 # GTK_RELIEF_HALF	A half relief. 
     14 # GTK_RELIEF_NONE	No relief.
     15 
     16 GtkToolbar::internal-padding				= 0
     17 
     18 #GtkToolbar::shadow-type=GTK_SHADOW_NONE
     19 # GTK_SHADOW_NONE	No outline. 
     20 # GTK_SHADOW_IN		The outline is bevelled inwards. 
     21 # GTK_SHADOW_OUT	The outline is bevelled outwards like a button. 
     22 # GTK_SHADOW_ETCHED_IN	The outline has a sunken 3d appearance. 
     23 # GTK_SHADOW_ETCHED_OUT	The outline has a raised 3d appearance
     24 
     25 fg[NORMAL] 		= @text_color			
     26 fg[ACTIVE] 		= @text_color			
     27 fg[PRELIGHT] 		= @tooltip_fg_color			
     28 fg[SELECTED] 		= @tooltip_fg_color
     29 fg[INSENSITIVE] 	= @text_color
     30 
     31 text[NORMAL] 		= @text_color			
     32 text[ACTIVE] 		= @text_color			
     33 text[PRELIGHT] 		= @tooltip_fg_color			
     34 text[SELECTED] 		= @tooltip_fg_color
     35 text[INSENSITIVE] 	= @text_color			
     36 
     37 bg[NORMAL] 		= @base_color	
     38 bg[ACTIVE] 		= shade (0.93, @base_color)
     39 bg[PRELIGHT] 		= @tooltip_bg_color
     40 bg[SELECTED] 		= @tooltip_bg_color
     41 bg[INSENSITIVE] 	= @base_color	
     42 
     43 engine "murrine" {
     44 contrast 		= 0.0
     45 reliefstyle		= 1
     46 toolbarstyle		= 0
     47 gradient_shades 	= {1.0, 1.1, 1.1, 1.2}
     48 glow_shade 		= 1.0
     49 }
     50 }
     51 style "toolbar-button-dark" = "toolbar-dark"
     52 {
     53 
     54 engine "murrine" {
     55 #roundness 		= 3
     56 border_shades 		= {1.16, 1.0}
     57 glow_shade 		= 1.1
     58 glowstyle 		= 5
     59 contrast 		= 0.6
     60 lightborder_shade 	= 0.88
     61 gradient_shades 	= {0.88, 0.95, 0.95, 1.18}
     62 }
     63 }
     64 
     65 
     66 #########################################
     67 # TOOLBAR FIXES			
     68 #########################################
     69 # FIXES FOR				
     70 # ---------------------------------------
     71 # BANSHEE				
     72 # EVOLUTION
     73 # CHROMIUM 
     74 # FIREFOX
     75 # SYNAPTIC QUICKSEARCH TEXT
     76 #########################################
     77 # TO FIX
     78 # ---------------------------------------
     79 # RHYTHMBOX ALBUM BAR TEXT
     80 #########################################
     81 
     82 # LIGHT TOOLBARS
     83 style "toolbar-fix" {
     84 fg[NORMAL]        	= @fg_color
     85 fg[PRELIGHT]      	= @fg_color
     86 fg[SELECTED]      	= @selected_fg_color
     87 fg[ACTIVE]        	= @fg_color
     88 fg[INSENSITIVE]   	= darker (@fg_color)
     89 
     90 text[NORMAL]        	= @fg_color
     91 text[PRELIGHT]      	= @fg_color
     92 text[SELECTED]      	= @selected_fg_color
     93 text[ACTIVE]        	= @fg_color
     94 text[INSENSITIVE]   	= darker (@fg_color)
     95 
     96 bg[NORMAL]        	= @bg_color
     97 bg[PRELIGHT]      	= shade (1.02, @bg_color)
     98 bg[SELECTED]	  	= @selected_bg_color
     99 bg[INSENSITIVE]   	= @bg_color
    100 bg[ACTIVE]        	= shade (1.04, @bg_color)
    101 
    102 base[NORMAL]      	= lighter (@bg_color)
    103 base[PRELIGHT]    	= shade (0.95, @bg_color)
    104 base[ACTIVE]      	= shade (0.92, @selected_bg_color)
    105 base[SELECTED]    	= shade (0.93, @selected_bg_color)
    106 base[INSENSITIVE] 	= @bg_color
    107 
    108 engine "murrine" {
    109 toolbarstyle		= 0
    110 reliefstyle		= 1
    111 }
    112 }
    113 style "toolbar-button-fix" = "toolbar-fix"
    114 {
    115 
    116 engine "murrine" {
    117 #roundness 		= 3
    118 border_shades 		= {1.16, 1.0}
    119 glow_shade 		= 1.1
    120 glowstyle 		= 5
    121 lightborder_shade 	= 1.3
    122 gradient_shades 	= {0.95, 1.05, 1.05, 1.18}
    123 }
    124 }
    125 
    126 # FG IS TEXT COLOR WORKAROUND
    127 style "fg_is_text_color_workaround" {
    128 fg[NORMAL] = @text_color
    129 fg[PRELIGHT] = @text_color
    130 fg[SELECTED] = @selected_fg_color
    131 fg[ACTIVE] = @selected_fg_color
    132 fg[INSENSITIVE] = darker (@bg_color)
    133 }
    134 style "evo-event-box"
    135 {
    136 	bg_pixmap[NORMAL]			= "Toolbar/plain.png"
    137 }
    138 ##########################################
    139 # MATCHES	
    140 ##########################################	
    141 widget_class "*<BonoboDockItem>*" 			style "toolbar-dark"
    142 class "*BonoboDockItem" 				style "toolbar-dark"
    143 widget_class "*<HandleBox>*"			 	style "toolbar-dark"
    144 class "*HandleBox" 					style "toolbar-dark"
    145 widget_class "*<GtkToolbar>*"     			style "toolbar-dark"
    146 widget_class "*<Toolbar>*" 				style "toolbar-dark"
    147 class "*Toolbar" 					style "toolbar-dark"
    148 
    149 # TOOLBAR BUTTONS
    150 widget_class "*<GtkToolbar>*<GtkEntry>"			style "entrybox"
    151 widget_class "*<GtkToolbar>*<GtkButton>"     		style "toolbar-button-dark"
    152 widget_class "*<GtkToolbar>*<GtkComboBox>"         	style "toolbar-button-dark"
    153 widget_class "*<GtkToolbar>*<GtkCombo>"         	style "toolbar-button-dark"
    154 
    155 # ------------------------------------------------------------------------------
    156 # SYNAPTIC QUICKSEARCH TEXT FIX									
    157 # ------------------------------------------------------------------------------
    158 widget "*.label_fast_search" style "fg_is_text_color_workaround"
    159 
    160 
    161 # ------------------------------------------------------------------------------
    162 # RHYTHMBOX TOOLBAR NEAR SEARCH BAR FIX
    163 # ------------------------------------------------------------------------------
    164 widget_class "*RBSourceHeader*"	style "toolbar-button-fix"
    165 widget_class "*HeaderToolbar*"	style "toolbar-button-fix"
    166 widget_class "*FooterToolbar*"	style "toolbar-button-fix"
    167 
    168 
    169 # ------------------------------------------------------------------------------
    170 # BANSHEE FIX									
    171 # ------------------------------------------------------------------------------
    172 widget_class	"__gtksharp_1*<GtkToolbar>*"	style "toolbar-fix"
    173 #widget_class	"__gtksharp_1*<GtkButton>*"	style "toolbar-fix"
    174 widget_class	"__gtksharp_1*<GtkEntry>*"	style "button"
    175 
    176 # ------------------------------------------------------------------------------
    177 # EVOLUTION FIX									
    178 # ------------------------------------------------------------------------------
    179 widget_class "EShellWindow.*Toolbar*" 		style : highest "toolbar-fix"
    180 widget "EShellWindow*EShellSwitcher.GtkNotebook.E*Sidebar.GtkEventBox" 		style "evo-event-box"
    181 
    182 # ------------------------------------------------------------------------------
    183 # CHROME/CHROMIUM FIX								
    184 # ------------------------------------------------------------------------------
    185 widget_class "*Chrom*" 				style "toolbar-fix"
    186 
    187 
    188 # ------------------------------------------------------------------------------
    189 # FIREFOX FIX								
    190 # ------------------------------------------------------------------------------
    191 widget	"MozillaGtkWidget.GtkFixed.GtkHandleBox.GtkToolbar" style "toolbar-fix"
    192 
    193