dotfiles

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

gtkrc (5648B)


      1 # A NEW HOPE
      2 # by jurialmunkey
      3 
      4 # Input boxes are lighter shades of "Window" colours
      5 # Menus, menubars and panels take "Input Boxes" colours
      6 # Selected menu items are the same as "Tooltip" colours
      7 # All other selected items take "Selected" colours
      8 
      9 
     10 ##########################################
     11 # COLOR SCHEME
     12 ##########################################
     13 gtk_color_scheme	= "bg_color:#073642\nfg_color:#93A1A1"				# Window Colours
     14 gtk_color_scheme	= "selected_bg_color:#268BD2\nselected_fg_color:#FDF6E3"	# Selected Items
     15 gtk_color_scheme	= "base_color:#002B36\ntext_color:#93A1A1"			# Menus, Menubars, Panels
     16 gtk_color_scheme	= "tooltip_bg_color:#262523\ntooltip_fg_color:#ffffff" 		# Tooltips, Menuitems
     17 gtk_color_scheme	= "link_color:#6C71C4"						# Hyperlinks
     18 gtk_color_scheme	= "frame_color:#93A1A1\ninactive_frame_color:#586E75"		# Fix for Chrome
     19 gtk_color_scheme	= "sidebar_color:#073642\nsidetxt_color:#93A1A1"		# Nautilus Sidebar 
     20 
     21 gtk-icon-sizes 		= "panel-menu=22,22:panel=22,22:gtk-button=16,16:gtk-large-toolbar=22,22"
     22 
     23 gtk-button-images	= 0			# Disables icons in buttons
     24 gtk-toolbar-style	= 0			# Disables text in toolbar
     25 gtk-auto-mnemonics	= 1			# Disables ugly lines under menu items
     26 
     27 
     28 ##########################################
     29 # DEFAULT STYLE
     30 ##########################################
     31 style "default" {
     32 fg[NORMAL]        	= @fg_color
     33 fg[PRELIGHT]      	= @fg_color
     34 fg[SELECTED]      	= @selected_fg_color
     35 fg[ACTIVE]        	= @fg_color
     36 fg[INSENSITIVE]   	= darker (@bg_color)
     37 
     38 bg[NORMAL]        	= @bg_color
     39 bg[PRELIGHT]      	= shade (1.02, @bg_color)
     40 bg[SELECTED]	  	= @selected_bg_color
     41 bg[INSENSITIVE]   	= @bg_color
     42 bg[ACTIVE]        	= shade (1.04, @bg_color)
     43 
     44 base[NORMAL]      	= lighter (@bg_color)
     45 base[PRELIGHT]    	= shade (0.95, @bg_color)
     46 base[ACTIVE]      	= shade (0.92, @selected_bg_color)
     47 base[SELECTED]    	= shade (0.93, @selected_bg_color)
     48 base[INSENSITIVE] 	= @bg_color
     49 
     50 text[NORMAL]      	= @fg_color
     51 text[PRELIGHT]    	= @fg_color
     52 text[ACTIVE]      	= @base_color
     53 text[SELECTED]    	= @selected_fg_color
     54 text[INSENSITIVE] 	= darker (@bg_color)
     55 
     56 
     57 # COMBOBOX / ENTRYBOX STYLE PROPERTIES
     58 GtkComboBox::appears-as-list				= 0
     59 GtkEntry::inner-border					= {2,2,2,2}
     60 GtkEntry::state-hint					= 0
     61 GtkEntry::honors-transparent-bg-hint			= 1
     62 GtkEntry::progress-border				= {0,0,0,0}
     63 
     64 # MISC STYLE PROPERTIES
     65 GtkWidget::new-tooltip-style				= 1
     66 GtkWidget::focus-padding				= 0
     67 GtkImage::x-ayatana-indicator-dynamic			= 1
     68 GtkPaned::handle-size					= 4
     69 GtkTreeView::expander-size				= 14
     70 GtkTreeView::vertical-separator				= 0
     71 GtkExpander::expander-size				= 16
     72 GtkRange::trough-under-steppers 			= 1
     73 GtkScrolledWindow::scrollbars-within-bevel		= 0
     74 
     75 # BUTTON STYLE PROPERTIES
     76 GtkButton::default-border 				= { 2, 2, 2, 2 }
     77 GtkButton::default-outside-border 			= { 2, 2, 2, 2 }
     78 #GtkButton::inner-border 				= { 3, 3, 1, 1 }
     79 #GtkButton::image-spacing				= 0
     80 #GtkButton::child-displacement-x			= 1
     81 #GtkButton::child-displacement-y			= 1
     82 #GtkButton::displace-focus				= 1
     83 
     84 
     85 # HTML STYLE PROPERTIES
     86 GnomeHRef		::link_color  				= @link_color		
     87 GtkHTML			::link-color				= @link_color
     88 GtkIMHtmlr		::hyperlink-color 			= @link_color
     89 GtkIMHtml		::hyperlink-color			= @link_color
     90 GtkWidget		::link-color				= @link_color
     91 GtkWidget		::visited-link-color			= @fg_color
     92 
     93 xthickness = 1
     94 ythickness = 1
     95 
     96 engine "murrine" {
     97 animation		= TRUE
     98 roundness		= 3
     99 contrast 		= 0.3
    100 
    101 highlight_shade 	= 1.0
    102 glazestyle 		= 0
    103 
    104 lightborderstyle 	= 1
    105 lightborder_shade 	= 1.3
    106 
    107 #glow_shade		= 1.0
    108 #glowstyle		= 0
    109 #border_shades 		= {1.08, 1.03}
    110 gradient_shades 	= {1.07, 0.98, 0.98, 0.95}
    111 
    112 glow_shade 		= 1.08
    113 glowstyle 		= 5
    114 border_shades 		= {1.13, 1.03}
    115 
    116 
    117 trough_shades 		= { 0.92, 1.05 }
    118 trough_border_shades 	= { 1.1 , 1.1 }
    119 
    120 menustyle 		= 2	# 0 = no stripe, 1 = stripe, 2 = light glow, 3 = dark glow
    121 menubaritemstyle 	= 1	# 0 = menuitem look, 1 = button look
    122 menubarstyle		= 0	# 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
    123 menuitemstyle		= 0   	# 0 = flat, 1 = glassy, 2 = striped
    124 toolbarstyle		= 0	# 0 = flat, 1 = glassy, 2 = gradient
    125 focusstyle 		= 0
    126 separatorstyle 		= 1
    127 textstyle 		= 0
    128 handlestyle 		= 2
    129 listviewstyle 		= 0
    130 progressbarstyle 	= 0
    131 arrowstyle 		= 0
    132 reliefstyle 		= 0
    133 sliderstyle		= 0
    134 stepperstyle 		= 1
    135 scrollbarstyle		= 0
    136 
    137 default_button_color 	= shade (0.95, @selected_bg_color)
    138 
    139 rgba		   	= FALSE
    140 colorize_scrollbar 	= FALSE
    141 }
    142 }
    143 
    144 style "wide" = "default" {
    145 xthickness 		= 2
    146 ythickness 		= 2
    147 }
    148 
    149 style "wider" = "default" {
    150 xthickness 		= 3
    151 ythickness 		= 3
    152 }
    153 
    154 style "widest" = "default" {
    155 xthickness 		= 4
    156 ythickness 		= 3
    157 }
    158 
    159 style "tooltips" = "widest"{
    160 fg[NORMAL] 		= @tooltip_fg_color		# TEXT COLOR
    161 bg[NORMAL] 		= @tooltip_bg_color		# BG COLOR
    162 bg[SELECTED] 		= @tooltip_bg_color		# BORDER
    163 engine "murrine" {
    164 roundness 		= 6
    165 }}
    166 
    167 
    168 ##########################################
    169 # FIX FOR CHROME	
    170 ##########################################
    171 style "chrome-gtk-frame"
    172 {
    173     ChromeGtkFrame::frame-color = @base_color
    174     ChromeGtkFrame::inactive-frame-color = @base_color
    175 }
    176 
    177 class "ChromeGtkFrame" style "chrome-gtk-frame"
    178 
    179 ##########################################
    180 # MATCHES	
    181 ##########################################
    182 class "GtkWidget"    					style "default"
    183 #class "GtkFrame"     					style "widest"
    184 #class "GtkSeparator" 					style "wide"
    185 widget "gtk-tooltip*" 					style "tooltips"
    186 
    187 ##########################################
    188 # INCLUDES	
    189 ##########################################
    190 include "Styles/notebook.rc"
    191 include "Styles/button.rc"
    192 include "Styles/menu.rc"				
    193 include "Styles/panel.rc"			
    194 include "Styles/toolbar.rc"			
    195 include "Styles/nautilus.rc"			
    196 include "Styles/breadcrumbs.rc"
    197 include "Styles/scrollbar.rc"
    198 
    199