[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fluxbox e toolbar [OT]



Alle 14:22, domenica 6 febbraio 2005, Fabio Nigi ha scritto:
> > http://www.fvwm.org/screenshots/desktops/Nuno_Alexandre-1600x1200/scre
> >enshot.jpg
> non mi dispiacerebbe trovare i config di questo tema, ma sembrano
> irreperibili :-(((
gia'... cercati piu' volte...

> > http://iogaspa.altervista.org/image/screen_1_gaspa.jpg
> e i tuoi ce li mandi o non sono gpl :-)
no, non li metto sotto gpl! (gne'-gne')

scherzo, ovviamente non credo siano cosi' ocmplicati da richiedere una 
licenza (potrei invece richiedere un brevetto!) :-)
Inoltre sono ancora da sistemare (parecchio)
- i thumbnail non funzionano alla perferzione. 
- e' commentato da cani (quasi per nulla) 

quando ho un secondo x sistemarlo  magari lo mando in lista... :-)

Bye!
-- 
-gaspa-
-----------------------------------------------
Powered by Debian GNU/Linux and Debian GNU/Hurd
------ HomePage: iogaspa.altervista.org -------
# FILE di configurazione di fvwm, personale... 
# vediamo se ce la faccio...
#TODO:

#BOTTONI 
#ButtonStyle 6 4 50x65@1 35x35@1 65x35@1 50x60@1
ButtonStyle 4 4	50x35@1 65x65@0 35x65@0 50x35@1
ButtonStyle 2 8 35x15@1 20@50@1 40x50@0 30x80@1 75x40@0 50x40@1 75x15@0 35x15@1
ButtonStyle 6 16 60x40@1 60x80@0 15x80@0 15x40@1 60x40@1 40x40@1 40x25@1 75x25@1 75x60@0 60x60@0 75x60@0 75x40@0 85x40@0 85x15@0 60x15@1 60x25@1

Mouse 0 1	A	Menu MenuFvwmWindowsOps
Mouse 0 2	A	Close
Mouse 1 4	A	Maximize 100 100
Mouse 2 4	A	Maximize 0 100
Mouse 3 4	A	Maximize 100 0
#Mouse 0 6	A	Iconify
Mouse 0 6	A	Thumbnail
Mouse 0 I	A	DeThumbnail

#Barra del titolo:
BorderStyle -- HiddenHandles NoInset
BorderStyle Inactive Colorset 42 -- flat
BorderStyle Active   Colorset 41 -- flat
TitleStyle AllInactive Colorset 42 -- flat
TitleStyle AllActive   Colorset 41 -- flat
ButtonStyle All -- UseTitleStyle flat


# scala di blu
#TitleStyle	ActiveUp	(HGradient 128 2 gray 50 rgb:0/0/400 50 gray -- Flat) Inactive(HGradient 128 2 gray 50 gray 35 50 gray -- Flat)
# colori sul bordo'... :-P
#TitleStyle	ActiveUp (HGradient 128 2 gray 50 rgb:151/52/72 50 gray -- Flat) Inactive (HGradient 128 2 gray 50 gray 35 50 gray -- Flat)

Style *		HilightFore gray90, HiligthBack gray
Style *		Color black/gray
Style *		Font "shadow=1:xft:Luxi Sans:Medium:Roman:size=10"
Style *		BorderWidth 1,HandleWidth 1

#Menu
Mouse 1 R	A	Menu MenuFvwmRoot
Colorset 0		Transparent, Tint #64757D 30,fg White
Colorset 1 		fg blue 2,RootTransparent, Tint red 40
Colorset 2		fg white, Transparent, Tint #64757D 50
Colorset 3		fg white
Colorset 41		RootTransparent buffer, fg white, bg average, Tint #64757D 30
Colorset 42		RootTransparent buffer, fg red, bg average, Tint #64757D 30

EdgeThickness	1
EdgeCommand Right Raise gkrellm
EdgeScroll	100	100
EdgeResistance 100 3

OpaqueMoveSize	-1
SnapAttraction	3	SameType

MenuStyle *		fvwm, MenuColorset 0, BorderWidth 0
MenuStyle *		Font "xft:Luxi Sans:Medium:Roman:size=9"

Style * 	IconBox	150 500 -150 -0, IconFill left bottom 
Style * 	IconBoxColorset 0 -- Flat
Style *		IconFont "xft:Luxi Sans:Medium:Roman:size=9"
Style *		IconTitleColorset 0 -- Flat
Style *		HilightIconTitleColorset 1 -- Flat
# comment these lines if you dont like Icons to have Titles.
Colorset 12 fg white, bg black, fgsh black, RootTransparent
Style * IconTitle, IconTitleColorset 12, HilightIconTitleColorset 12, IconTitleRelief 0
Style * IndexedIconName, IconBackgroundPadding 2
Style * IconBackgroundRelief 0, IconBackGroundColorset 12



### MENUS. ###
AddToFunc CreateWallpaperMenu
+ I PipeRead `fvwm-menu-drectory --command-file 'Exec xli -onroot -fullscreen %f' --dir /home/gaspa/Gallery`

DestroyMenu MyWallpapers
AddToMenu MyWallPapers
+ MissingSubmenuFunction CreateWallpaperMenu
+ "User"	Popup $[HOME]/Gallery
+ "System"	Popup /usr/share/wallpapers

AddToMenu RootMenu
+ "Wallpapers"	Popup MyWallpapers

# TASTI
Key F12		A	A	All (AcceptFocus CurrentPage !Iconic !Shaded) Thumbnail

# ---------- FvwmEvent ----------
#DestroyModuleConfig FvwmEvent:*
#*FvwmEvent: deiconify DeThumbnail

# FvwmEvent can bind Commands to Events
DestroyModuleConfig FvwmEvent: *
*FvwmEvent: deiconify DeThumbnail
#*FvwmEvent: add_window NewWindowFunc
*FvwmEvent: new_desk "SendToModule DeskControl ChangeButton desk Title $$[desk.n]"

# ---------- FvwmPager ----------
Style FvwmPager   NoTitle,  Sticky, WindowListSkip, CirculateSkipIcon, CirculateSkip, StaysOnBottom
DestroyModuleConfig FvwmPager: *
Colorset 31 fg white, RootTransparent buffer, Tint #b5b2ff 50
Colorset 32 fg white, bg gray, RootTransparent buffer, Tint #eeefcf 40
Colorset 33 fg #63656e, bg black, RootTransparent buffer, Tint #b5b2ff 60
Colorset 34 fg black, bg #e7e7e7, Plain
Colorset 35 fg white, bg black, RootTransparent buffer, Tint #e4e5c7 90
*FvwmPager: Colorset * 31
*FvwmPager: HilightColorset * 35
*FvwmPager: WindowColorsets 4 31
*FvwmPager: BalloonColorset * 34
*FvwmPager: geometry 100x100+924+668

# Comment out or set this to a font name for desktop names/numbers above desks (you can name desktops 
# anything you like to help organise your workspaces).
*FvwmPager: Font none
# Comment out or set this option for window names in pager windows
# also see WindowLabelFormat.
*FvwmPager: SmallFont none
*FvwmPager: Balloons All
*FvwmPager: BalloonFont "xft:Bitstream Vera Sans:style=Roman:size=7:antialias=True"
*FvwmPager: BalloonYOffset +2
*FvwmPager: BalloonBorderWidth 1
*FvwmPager: UseSkipList
*FvwmPager: MoveThreshold 0
*FvwmPager: SolidSeparators
*FvwmPager: WindowBorderWidth 1
# Try uncommenting this for MiniIcon's in pager windows
*FvwmPager: MiniIcons

DestroyFunc EWMHActivateWindowFunc
AddToFunc EWMHActivateWindowFunc 
+ I Iconify
+ I Focus
+ I Raise
+ I WarpToWindow 50 50

################ FUNCTION ###############

DestroyFunc StartFunction
AddToFunc StartFunction
+ I Exec exec Esetroot /home/gaspa/linux_inside2.jpg
+ I Test (Restart) All (Iconic) Test (f $[FVWM_USERDIR]/icon.tmp.$[w.id].png) WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png
+ I Module FvwmPager
+ I Module FvwmEvent
+ I Exec exec aterm -ls -sh 70 -bg black -fg white -tr +sb -fn 6x10 -fb 6x10bold

# THUMBNAILs...
DestroyFunc Thumbnail
AddToFunc Thumbnail
+ I Raise
+ I ThisWindow (!Iconic) SetEnv Icon-$[w.id] $[w.iconfile]
+ I ThisWindow (!Shaded,Iconifiable,!Iconic) PipeRead \
		"xwd -silent -id $[w.id] | convert -scale 128 -frame 1x1 -mattecolor black -quality 0 xwd:- png:$[FVWM_USERDIR]/icon.tmp.$[w.id].png \
		&& echo WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png || echo Nop"
+ I TestRc (Match) Test (f $[w.miniiconfile],f $[FVWM_USERDIR]/icon.tmp.$[w.id].png) PipeRead \
		"composite -geometry +2+4 $[w.miniiconfile] $[FVWM_USERDIR]/icon.tmp.$[w.id].png \
		$[FVWM_USERDIR]/icon.tmp.$[w.id].png; echo Nop"
+ I Iconify

DestroyFunc DeThumbnail
AddToFunc DeThumbnail
+ I PipeRead "echo Test \\(i \\$\\[icon-$[w.id]\\]\\) WindowStyle Icon \\$\\[icon-$[w.id]\\]"
+ I TestRc (NoMatch) WindowStyle NoIconOverride, Icon
+ I Exec rm -f $[FVWM_USERDIR]/icon.tmp.$[w.id].png
+ I All (Iconic, CurrentPage) PlaceAgain Icon
+ I UnsetEnv Icon-$[w.id]

Reply to: