dotfiles

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

scrollbar.rc (2368B)


      1 ##########################################
      2 # SCROLLBARS RANGE AND PROGRESSBARS	
      3 ##########################################
      4 style "range" = "default" {
      5 GtkScale::slider-length		= 12
      6 GtkScale::slider-width		= 12
      7 GtkScale::trough-side-details 	= 1
      8 bg[PRELIGHT] = shade (2.0, @base_color)
      9 bg[SELECTED] = shade (1.3, @base_color)
     10 bg[NORMAL] = @base_color
     11 
     12 engine "murrine" {
     13 roundness		= 12
     14 contrast 		= 0.7
     15 gradient_shades 	= {0.95, 1.0, 1.0, 1.08}
     16 trough_shades 		= { 0.99, 1.05 }
     17 trough_border_shades 	= { 1.0 , 1.5 }
     18 border_shades 		= { 50.0 , 50.0 }
     19 }}
     20 
     21 style "scrollbar" = "default" {
     22 
     23 GtkScrollbar::fixed-slider-length			= 0
     24 GtkScrolledWindow::scrollbar-spacing			= 4
     25 GtkScrolledWindow::scrollbars-within-bevel		= 0
     26 GtkRange::trough-border 				= 1
     27 GtkRange::slider-width 					= 9
     28 GtkRange::stepper-size 					= 0
     29 GtkScrollbar::min_slider_length 			= 32
     30 GtkScrollbar::has-backward-stepper 			= 1
     31 #GtkScrollbar::has-secondary-backward-stepper 		= 1
     32 GtkScrollbar::has-forward-stepper			= 1
     33 #GtkScrollbar::has-secondary-forward-stepper		= 1
     34 GtkRange::trough-under-steppers 			= 1
     35 
     36 
     37 bg[PRELIGHT] = shade (2.0, @base_color)
     38 bg[SELECTED] = @base_color
     39 bg[NORMAL] = @base_color
     40 
     41 engine "murrine" {
     42 roundness		= 12
     43 contrast 		= 0.7
     44 #trough_border_shades 	= { 1.2 , 1.2 }
     45 trough_shades 		= { .95 , 1.5 }
     46 border_shades 		= {50.0, 50.0}
     47 
     48 trough_border_shades 	= { 1.25 , 0.75 }
     49 #trough_shades 		= { 1.02 , 1.02 }
     50 }}
     51 
     52 style "progressbar" = "default" {
     53 xthickness 		= 3
     54 ythickness 		= 3
     55 
     56 bg[PRELIGHT] = shade (2.0, @base_color)
     57 bg[SELECTED] = @base_color
     58 bg[NORMAL] = @base_color
     59 fg[PRELIGHT] = @text_color
     60 
     61 GtkProgressBar::min-horizontal-bar-height		= 18
     62 GtkProgressBar::min-vertical-bar-width			= 18
     63 
     64 engine "murrine" {
     65 contrast		= 0.7
     66 roundness		= 12
     67 #gradient_shades 	= {0.95, 1.0, 1.0, 1.08}
     68 gradient_shades 	= { 1.0 , 1.0 , 1.0 , 1.0 }
     69 border_shades	= {50.0, 50.0}
     70 trough_border_shades 	= { 1.0 , 1.5 }
     71 trough_shades 		= { .97 , 1.02 }
     72 }}
     73 
     74 ##########################################
     75 # MATCHES	
     76 ##########################################
     77 class "GtkRange"     					style "range"
     78 widget_class "*<GtkProgress>"				style "progressbar"
     79 widget_class "*<GtkProgressBar>"      			style "progressbar"
     80 widget_class "*<GtkScrollbar>"       			style "scrollbar"
     81 
     82 widget		"__gtksharp_1*SeekSlider*"	style : highest "range"
     83 widget_class	"__gtksharp_1*<GtkScale>*"	style : highest "range"
     84 
     85