[bglug] xfce e conky [era: Conky cover art]

Joe Galaxy joegalaxy@gmail.com
Mer 30 Nov 2011 11:55:05 CET


On Wed, Nov 30, 2011 at 08:50:49AM +0100, Alexandro Ghettini wrote:
> > Su kde.
> yup
Quindi meglio fluxbox: http://strop.ath.cx/shot.png

Questo il color theme maker per flux:

----8<---- CUT HERE ----8<----
#!/bin/bash
# Time-stamp: <colorflux, 29/11/2011 9:45:40 joe Exp> 
# Fluxbox color theme maker by Joe Galaxy
 
# Choose your color by Color Name or RGB Hex
# example: "darkolivegreen" or "#4f4f2f"
# see rgb color list at:
# http://web.njit.edu/~kevin/rgb.txt.html
# Requirements: imagemagick

new_color="ghostwhite"
font=snap

#########################################
basedir="$HOME/.fluxbox/styles/colorflux"
pixdir="$basedir/pixmaps"

if [ ! -d $basedir ]; then
mkdir -p $basedir
mkdir -p $pixdir
fi

# create pixmaps
convert -size 14x14 xc:transparent -fill "$new_color" -draw "line 3,10 10,3" -draw "line 3,3 10,10" $pixdir/close.xpm
convert -size 14x14 xc:transparent $pixdir/close_unfocus.xpm
convert -size 14x14 xc:transparent $pixdir/max_unfocus.xpm
convert -size 14x14 xc:transparent $pixdir/min_unfocus.xpm
convert -size 14x14 xc:transparent $pixdir/stick_unfocus.xpm
convert -size 14x14 xc:transparent -fill "$new_color" -draw "rectangle 6,6 7,7" $pixdir/stick.xpm
convert -size 14x14 xc:transparent -fill "$new_color" -draw "rectangle 6,6 7,7" -draw "line 3,10 10,10" -draw "line 3,3 10,3" -draw "line 3,3 3,10" -draw "line 10,3 10,10" $pixdir/stick_pressed.xpm
convert -size 14x14 xc:transparent -fill "$new_color" -draw "line 3,10 10,10" $pixdir/min.xpm
convert -size 14x14 xc:transparent -fill "$new_color" -draw "line 3,10 10,10" -draw "line 3,3 10,3" -draw "line 3,3 3,10" -draw "line 10,3 10,10" $pixdir/max.xpm
convert -size 14x14 xc:transparent -fill "$new_color" -draw "rectangle 8,5 12,9" $pixdir/select.xpm
convert -size 14x14 xc:transparent -fill "$new_color" -draw "line 8,5 12,5" -draw "line 8,5 8,9" -draw "line 8,9 12,9" -draw "line 12,5 12,9" $pixdir/unselect.xpm
convert -size 14x14 xc:transparent -fill "$new_color" -draw "line 0,0 13,0" -draw "line 0,13 13,13" $pixdir/hilite.xpm

cat << EOF > $basedir/theme.cfg
!-----------------------------------------------------------------------
! This work is licensed under the Creative Commons 
! Attribution-NonCommercial-ShareAlike License. 
! To view a copy of this license, visit 
! http://creativecommons.org/licenses/by-nc-sa/1.0/
!-----------------------------------------------------------------------
! Style Name:					fluxcolor
! Style version					1.2
! Style Author:			     Joe Galaxy (joegalaxyATgmailDOTcom)
! Style Date: 					04.03.2010
!-----------------------------------------------------------------------

*font:						$font
!*.font.effect:  				halo
!*.font.shadow.color: 				gray30
!*.font.shadow.x: 				1
!*.font.shadow.y: 				1

!-----------------------------------------------------------------------
 
toolbar.bevelWidth:				0
 
toolbar.borderWidth:				1
toolbar.borderColor:				$new_color

toolbar.height:					14 
toolbar.justify:				center
 
toolbar:								
toolbar.pixmap:							
toolbar.color:                  		black
toolbar.colorTo:						

toolbar.shaped:                 		false
toolbar.clock:						
toolbar.clock.pixmap:						
toolbar.clock.justify:				center
toolbar.clock.color:            		black
toolbar.clock.colorTo:					
toolbar.clock.textColor:			$new_color
 
toolbar.workspace:					
toolbar.workspace.pixmap:				
toolbar.workspace.justify:			center
toolbar.workspace.color:        		black
toolbar.workspace.colorTo:			
toolbar.workspace.textColor:			$new_color
 
toolbar.button:						 
toolbar.button.pixmap:					
toolbar.button.color:           		black
toolbar.button.colorTo:				
toolbar.button.picColor:			$new_color
toolbar.button.pressed:				
toolbar.button.pressed.pixmap:				
toolbar.button.pressed.color:
toolbar.button.pressed.colorTo:			
toolbar.button.pressed.picColor:                     			
 
toolbar.iconbar.empty:				
toolbar.iconbar.empty.pixmap:				
toolbar.iconbar.empty.color:    		black 
toolbar.iconbar.empty.colorTo:	
toolbar.iconbar.borderWidth:			0  
 
toolbar.iconbar.focused.borderWidth:		
toolbar.iconbar.focused.borderColor:		
toolbar.iconbar.focused:				
toolbar.iconbar.focused.pixmap:			
toolbar.iconbar.focused.color:	black
toolbar.iconbar.focused.colorTo:		
toolbar.iconbar.focused.textColor:		$new_color
toolbar.iconbar.focused.justify:		center
 
toolbar.iconbar.unfocused.borderWidth:	
toolbar.iconbar.unfocused.borderColor:	
toolbar.iconbar.unfocused:				
toolbar.iconbar.unfocused.pixmap:			
toolbar.iconbar.unfocused.color:
toolbar.iconbar.unfocused.colorTo:		
toolbar.iconbar.unfocused.textColor:	        $new_color
toolbar.iconbar.unfocused.justify:		center

!-----------------------------------------------------------------------

menu.bevelWidth:				0
menu.itemHeight:				14
menu.titleHeight:				14

menu.roundCorners:						
menu.borderColor:				$new_color
menu.borderWidth:				1

menu.bullet.position:				right
menu.bullet:					empty

menu.submenu.pixmap:							
menu.hilite.submenu.pixmap:				

menu.selected.pixmap:				select.xpm
menu.hilite.selected.pixmap:			hilite_select.xpm

menu.unselected.pixmap:				unselect.xpm	
menu.hilite.unselected.pixmap:			hilite_unselect.xpm

menu.title:								
menu.title.pixmap:						
menu.title.justify:				center
menu.title.color:		                black
menu.title.colorTo:						
menu.title.textColor:				$new_color

menu.frame:								
menu.frame.pixmap:						
menu.frame.justify:				left
menu.frame.color:		                black
menu.frame.colorTo:						
menu.frame.textColor:				$new_color
menu.frame.disableColor:			$new_color
 
menu.hilite:								
menu.hilite.pixmap:                             hilite.xpm
menu.hilite.color:							
menu.hilite.colorTo:						
menu.hilite.textColor:				$new_color

!-----------------------------------------------------------------------
 
window.bevelWidth:				0
window.shade:							
window.borderWidth:				1
window.borderColor:				$new_color
window.roundCorners:					
window.justify:					center

window.title.height:				14

window.title.focus:						
window.title.focus.pixmap:					
window.title.focus.color:				
window.title.focus.colorTo:				
window.title.unfocus:					
window.title.unfocus.pixmap:			
window.title.unfocus.color:				
window.title.unfocus.colorTo:			

window.label.focus:						
window.label.focus.pixmap:				
window.label.focus.color:			black
window.label.focus.colorTo:				
window.label.focus.textColor:			$new_color
window.label.unfocus:					
window.label.unfocus.pixmap:				
window.label.unfocus.color:			black
window.label.unfocus.colorTo:			
window.label.unfocus.textColor:			$new_color

window.button.focus:						
window.button.focus.color:      		
window.button.focus.colorTo:      		
window.button.focus.picColor:			
window.button.unfocus:					
window.button.unfocus.Color:			
window.button.unfocus.ColorTo:			
window.button.unfocus.picColor:			
window.button.pressed:					
window.button.pressed.color:				
window.button.pressed.colorTo:			
window.button.pressed.picColor:			

window.shade.pixmap:					
window.shade.unfocus.pixmap:			
window.shade.pressed.pixmap:			

window.unshade.pixmap:					
window.unshade.unfocus.pixmap:			
window.unshade.pressed.pixmap:			

window.menuicon.pixmap:					
window.menuicon.unfocus.pixmap:			
window.menuicon.pressed.pixmap:			

window.close.pixmap:				close.xpm
window.close.unfocus.pixmap:			close_unfocus.xpm
window.close.pressed.pixmap:

window.iconify.pixmap:				min.xpm
window.iconify.unfocus.pixmap:			min_unfocus.xpm
window.iconify.pressed.pixmap:

window.maximize.pixmap:				max.xpm
window.maximize.unfocus.pixmap:			max_unfocus.xpm
window.maximize.pressed.pixmap:

window.stick.pixmap:				stick.xpm
window.stick.unfocus.pixmap:			stick_unfocus.xpm
window.stick.pressed.pixmap:			stick_pressed.xpm

window.stuck.pixmap:				stick_pressed.xpm
window.stuck.unfocus.pixmap:			stick_pressed.xpm
window.stuck.pressed.pixmap:			stick_pressed.xpm

window.handle.focus:					
window.handle.focus.pixmap:				
window.handle.focus.color:			black
window.handle.focus.colorTo:			
window.handle.unfocus:					
window.handle.unfocus.pixmap:			
window.handle.unfocus.color:			black
window.handle.unfocus.colorTo:			
window.handleWidth:				1

window.grip.focus:						
window.grip.focus.pixmap:					
window.grip.focus.color:			black
window.grip.focus.colorTo:				
window.grip.unfocus:						
window.grip.unfocus.pixmap:				
window.grip.unfocus.color:			black
window.grip.unfocus.colorTo:				

!-----------------------------------------------------------------------

slit:						flat gradient vertical
slit.pixmap:  
slit.color:					black
slit.colorTo:					black	
slit.borderWidth: 				1
slit.bevelWidth: 				1
slit.borderColor: 				$new_color

!-----------------------------------------------------------------------
EOF

echo "Done. Restart Fluxbox."
----8<---- CUT HERE ----8<----




-- 
$(echo 502625742692402704447754P|dc)@gmail.com


Maggiori informazioni sulla lista bglug