dotfiles

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

panelrc (10448B)


      1 ### Panelrc ###
      2 ### These settings are for xfec & LXDE's panels. ### 
      3 ### And a few extra xfce tweaks. ###
      4 
      5   #############################################################
      6 # PANEL SETTINGS / XFCE / LXDE
      7 #############################################################
      8 
      9 style "panel"
     10 {
     11 	WnckTasklist	:: fade-overlay-rect		= 1
     12 	WnckTasklist	:: fade-opacity			= 1.0
     13 	WnckTasklist	:: fade-loop-time		= 6.0
     14 
     15 	GtkArrow	:: arrow-scaling		= 0.4
     16 	
     17 	xthickness = 0
     18 	ythickness = 0
     19 
     20 	bg[NORMAL]	= shade (1.1, @bg_color)
     21 	bg[ACTIVE]	= shade (0.9, @bg_color)
     22 	bg[PRELIGHT]	= shade (1.3, @bg_color)
     23 	bg[SELECTED]	= shade (0.78, @bg_color)
     24 	
     25 	bg_pixmap[NORMAL] 			= "images/other/panel.png"
     26 	bg_pixmap[INSENSITIVE] 		= "images/other/panel.png"
     27 }
     28 
     29 
     30 #############################################################
     31 #THESE DECLARATIONS MAKE SURE THE PANEL STILL USES PANEL STYLE
     32 #many of these are depreciated with gnome-2
     33 #############################################################
     34 
     35 class	"PanelToplevel*" 							style		"panel"			# For Window List Menu... I think
     36 widget_class "*PanelToplevel*"		style "panel"
     37 class "*Mail*" 				style "panel"
     38 class "*notif*" 			style "panel"
     39 class "*Notif*" 			style "panel"
     40 class "*Tray*" 				style "panel"
     41 class "*tray*" 				style "panel"
     42 widget_class "*Mail*" 			style "panel"
     43 widget_class "*notif*" 			style "panel"
     44 widget_class "*Notif*" 			style "panel"
     45 widget_class "*Tray*" 			style "panel"
     46 widget_class "*tray*" 			style "panel"
     47 widget_class "*BonoboDockItem" 		style "panel"
     48 class "*BonoboDockItem" 		style "panel"
     49 widget "*TrayIcon*" 			style "panel"
     50 class "*Panel*Applet*" 			style "panel"
     51 widget_class "*Panel*GtkToggleButton" 	style "panel"
     52 widget_class	"*Panel*GtkToggleButton*"						style		"panel"
     53 widget_class "*Panel*GtkButton" 	style "panel"
     54 widget_class "*.Panel*Button*GtkLabel" 	style "panel"
     55 widget_class "*.Panel*GtkLabel" 	style "panel"
     56 widget "*PanelWidget*" 			style "panel"
     57 widget "*PanelApplet*" 			style "panel"
     58 widget "*fast-user-switch*"		style "panel"
     59 widget "*CPUFreq*Applet*"		style "panel"
     60 widget "*indicator-applet*"		style "panel"
     61 class "PanelApp*"			style "panel"
     62 widget_class "*computertemp*"		style "panel"
     63 widget_class "*Applet*Tomboy*"		style "panel"
     64 widget_class "*Applet*Netstatus*"	style "panel"
     65 widget "*.tclock.*"		style "panel"
     66 widget "*.taskbar.*"		style "panel"
     67 widget_class "*GtkBgbox*"	style "panel"
     68 class		"PanelApplet" 								style		"panel"			# Task List, Calendar Button, Grip
     69 widget		"*Deskbar*Arrow" 							style		"panel"			# Deskbar Panel Applet
     70 #############################################################
     71 #THE COMMENTED CLASSES FIXES A PANEL BUG THAT MADE SOME 
     72 #TRAY ICONS MOVE DOWN 1 PIXEL , A VERY BIG THANKS TO MOOMEX
     73 #FOR THIS INFORMATION!!!!!!
     74 #############################################################
     75 # THANKS TO merlwiz79 FOR THESE FIXES
     76 #############################################################
     77 
     78 widget_class "*Netstatus*" 		style "panel"
     79 widget_class "*Tomboy*Tray*" 		style "panel"
     80 widget "*fast-user-switch*" 		style "panel"
     81 widget_class "*PanelToplevel*" 		style "panel"
     82 class "Xfce*Panel*" 			style "panel"
     83 widget_class "*Xfce*Panel*" 		style "panel"
     84 widget_class "*PanelApplet*" 		style "panel"
     85 widget_class "*PanelWidget*" 		style "panel"
     86 widget		"*Xfce*Panel*Tasklist*"							style:rc		"panel"
     87 
     88 #############################################################
     89 
     90 style "panel-buttons"
     91 {
     92 	xthickness            			= 4
     93 	ythickness            			= 4
     94 	GtkWidget::focus_padding 		= 2
     95 	
     96 	fg[NORMAL]			= "#ababab"
     97 	fg[PRELIGHT]		= "#cbcbcb"
     98 	fg[SELECTED]		= @selected_fg_color
     99 	#fg[INSENSITIVE]		= "#3e4041"
    100 	fg[ACTIVE]			= "#efefef"
    101 
    102 	engine "pixmap"
    103 	 { 
    104 	image
    105 	{
    106 		function        		= BOX
    107 		recolorable     		= TRUE
    108 		state					= NORMAL
    109 		file            		= "images/buttons/panel-button.svg"
    110 		border          		= { 4, 4, 5, 2 }
    111 		stretch         		= TRUE
    112 	}	
    113 	image
    114 	{
    115 		function        		= BOX
    116 		shadow					= OUT
    117 		recolorable     		= TRUE
    118 		state					= PRELIGHT
    119 		file            		= "images/buttons/panel-button-hover.svg"
    120 		border          		= { 4, 4, 5, 2 }
    121 		stretch         		= TRUE
    122 	}		
    123 	image
    124 	{
    125 		function        		= BOX
    126 		recolorable     		= TRUE
    127 		shadow					= IN
    128 		state					= PRELIGHT
    129 		file            		= "images/buttons/panel-button-active-prelight.svg"
    130 		border          		= { 4, 4, 5, 2 }
    131 		stretch         		= TRUE
    132 	}
    133 	image
    134 	{
    135 		function        		= BOX
    136 		recolorable     		= TRUE
    137 		state					= ACTIVE
    138 		file            		= "images/buttons/panel-button-active.svg"
    139 		border          		= { 4, 4, 5, 2 }
    140 		stretch         		= TRUE
    141 	}  
    142 	image
    143 	{
    144 		function        		= BOX
    145 		recolorable     		= TRUE
    146 		state					= INSENSITIVE
    147 		file            		= "images/buttons/panel-button-insensitive.svg"
    148 		border          		= { 4, 4, 5, 2 }
    149 		stretch         		= TRUE
    150 	} 
    151 	image
    152 	{
    153 		function        		= BOX
    154 		recolorable     		= TRUE
    155 		state					= SELECTED
    156 		file            		= "images/buttons/panel-button-active.svg"
    157 		border          		= { 4, 4, 5, 2 }
    158 		stretch         		= TRUE
    159 	}  
    160  }
    161 }
    162 
    163 style "panel-toggle-buttons" 
    164 {
    165 	GtkWidget::focus_padding = 0
    166 	
    167 	xthickness            			= 4
    168 	ythickness            			= 1
    169 
    170 	bg[NORMAL]	= shade (1.1, "#0a0a0a")
    171 	bg[ACTIVE]	= shade (0.9, "#0a0a0a")
    172 	bg[PRELIGHT]	= shade (1.3, "#0a0a0a")
    173 	bg[SELECTED]	= shade (0.78, "#0a0a0a")
    174 
    175 	engine "pixmap" 
    176    {
    177 	image
    178 	{
    179 		function        		= BOX
    180 		recolorable     		= TRUE
    181 		state					= NORMAL
    182 		file            		= "images/other/panel.png"
    183 		border          		= { 2,2,2,2 }
    184 		stretch         		= TRUE
    185 	}
    186 	image
    187 	{
    188 		function				= BOX
    189 		recolorable				= TRUE
    190 		state					= PRELIGHT
    191 		file					= "/images/menu/menubar-button.svg"
    192 		border					= { 0 ,0 , 0, 3}
    193 		stretch					= TRUE
    194 	}
    195 	image
    196 	{
    197 		function        		= BOX
    198 		recolorable     		= TRUE
    199 		state					= ACTIVE
    200 		file					= "/images/menu/menubar-button.svg"
    201 		border					= { 0 ,0 , 0, 3}
    202 		stretch         		= TRUE
    203 	} 
    204 	image
    205 	{
    206 		function        		= BOX
    207 		recolorable     		= TRUE
    208 		state					= INSENSITIVE
    209 		file            		= "images/other/panel.png"
    210 		border          		= { 2,2,2,2 }
    211 		stretch         		= TRUE
    212 	}
    213 	image
    214 	{
    215 		function        		= BOX
    216 		recolorable     		= TRUE
    217 		state					= SELECTED
    218 		file					= "/images/menu/menubar-button.svg"
    219 		border					= { 0 ,0 , 0, 3}
    220 		stretch         		= TRUE
    221 	}  
    222   }
    223 }
    224 
    225 # This applies to xfce clock for some reason #
    226 # change the color to whatever you like, replace the '*' with the name of the font of your choice
    227 # and lastly change the '10' to whatever font size you would like #
    228 style "panel-frame-label"
    229 {
    230 	fg[NORMAL]   =  shade(1.42, @selected_bg_color)
    231 	font_name = "* Bold 9"
    232 }
    233 
    234 style "switcher"
    235 {
    236 xthickness 		= 3
    237 ythickness 		= 3
    238 
    239 bg[NORMAL] 			= "#060606"
    240 bg[PRELIGHT] 		= shade(0.8, @selected_bg_color)
    241 bg[SELECTED] 		= shade(1.04, @selected_bg_color)
    242 
    243 }
    244 
    245 widget_class "*Pager*" 				style "switcher"
    246 
    247 # XFCE Notify #
    248 style "notify-window"
    249 {
    250     XfceNotifyWindow::summary-bold = 1
    251     XfceNotifyWindow::border-color = "#000000"
    252     XfceNotifyWindow::border-radius = 3.0
    253     XfceNotifyWindow::border-width = 1.0
    254     bg[NORMAL] = "#FFFFFF"
    255 }
    256 
    257 style "notify-button"
    258 {
    259 	GtkWidget::focus_padding = 0
    260 
    261     fg[NORMAL] = "#080808"
    262     fg[PRELIGHT] = "#040404"
    263     engine "pixmap" 
    264    {
    265 	 image
    266     {
    267       function			= BOX
    268       state				= NORMAL
    269       file				= "images/buttons/xfce-notify-button.svg"
    270       border			= { 2, 2, 2, 2 }
    271       stretch			= TRUE
    272     }	
    273      image
    274     {
    275       function			= BOX
    276       state				= PRELIGHT
    277       file				= "images/buttons/xfce-notify-button-prelight.svg"
    278       border			= { 2, 2, 2, 2 }
    279       stretch			= TRUE
    280     }  
    281     image
    282     {
    283       function			= BOX
    284       state				= ACTIVE
    285       file				= "images/buttons/xfce-notify-button-active.svg"
    286       border			= { 2, 2, 2, 2 }
    287       stretch			= TRUE
    288     }
    289    }
    290 }
    291 
    292 style "notify-text"
    293 {
    294     fg[NORMAL] = "#060606"
    295     GtkWidget::link-color = "#006AA8"
    296 }
    297 
    298 style "xfdesktop-icon-view" { 
    299 	#XfdesktopIconView::label-alpha = 9.92
    300 
    301 		base[NORMAL] 	= "#efefef"
    302 		base[SELECTED] 	= shade(1.2, @selected_bg_color)
    303 		base[ACTIVE] 	= shade (0.6, @selected_bg_color)
    304 		fg[NORMAL]		= "#060606"
    305 		fg[SELECTED] 	= @selected_fg_color
    306 		fg[ACTIVE] 		= "#ababab"
    307 
    308 	engine "murrine" { 	
    309 		textstyle 	= 0 
    310 }}
    311 
    312 #This is for the desktop icons
    313 widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
    314 
    315 #this is for the xfce Notify#
    316 class "XfceNotifyWindow" style "notify-window"
    317 widget_class "XfceNotifyWindow.*<GtkButton>" style "notify-button"
    318 widget_class "XfceNotifyWindow.*.<GtkLabel>" style "notify-text"
    319 
    320 #this is the open close log-out dialogue button# ##(otherwise try 'xfce-panel-button') its sub class of GtkButton!##
    321 widget_class "*<XfceArrowButton>" 	style "panel-toggle-buttons"
    322 widget_class "*<XfceActionsPlugin>*"  style "panel-toggle-buttons"
    323 
    324 #This is the mount button#
    325 widget_class "*XfcePanelPlugin.GtkButton"  style "panel-toggle-buttons"
    326 
    327 widget 	"*dict*Applet*"	style "panel-toggle-buttons"
    328 #This is the applications Menu Button#
    329 widget_class "*Panel*GtkToggleButton" 		style "panel-toggle-buttons"
    330 
    331 widget_class "*Xfce*NetkTasklist*GtkToggleButton" style "panel-toggle-buttons"
    332 
    333 #This is for the window-list/task-list buttons#
    334 widget_class "*PanelToplevel*GtkToggleButton"   style "button" #LXDE's task list buttons are inside GtkEventboxes.  There fore the 'panel-button' wont draw properly.  So I chose to use the default buttons here.#
    335 widget "*tasklist*" 			style:highest "panel-buttons"
    336 
    337 #This is for the panel clock#
    338 widget_class "*Panel*.<GtkFrame>.<GtkLabel>" 		style "panel-frame-label"
    339 
    340 #
    341 
    342 style "panel-progressbar" {
    343 	xthickness	= 1
    344 	ythickness	= 1
    345 	
    346 	fg[PRELIGHT] 	= shade(1.15, @fg_color)
    347 	fg[NORMAL] 		= shade(0.85, @text_color)
    348     font_name 		= "Bold"
    349 	
    350 	bg[NORMAL]  = "#141414"
    351 	bg[SELECTED]	=  @selected_bg_color
    352 	bg[INSENSITIVE]	= "#171717"
    353 	bg[ACTIVE]	= "#0e0e0e"
    354 
    355 	engine "murrine" {
    356 		progressbarstyle	= 0
    357 		#gradient_shades		= {0.80, 1.00, 1.00, 1.20}
    358 		glazestyle		= 1
    359 		roundness			= 0
    360 		reliefstyle			= 0
    361 		trough_border_shades = {0.6, 0.4}
    362 		#border_shades		= { 1.1, 0.8 }
    363 		textstyle		= 1	
    364 	}
    365 }
    366 
    367 style "panel-menu-progressbar" = "panel-progressbar" {
    368 	bg[ACTIVE]	= "#181818"
    369 engine "murrine" {
    370 		progressbarstyle	= 0
    371 		#gradient_shades		= {1.10, 1.00, 1.00, 0.90}
    372 		glazestyle		= 0
    373 		roundness			= 2
    374 		reliefstyle			= 0
    375 		trough_border_shades = {0.6, 0.4}
    376 		textstyle		= 1	
    377 	}
    378 }
    379 
    380 widget_class "*Panel*<GtkProgressBar>" 		style "panel-progressbar"
    381 widget_class "*<GtkMenu>*<GtkProgressBar>" 		style "panel-menu-progressbar"