Task Curve Panel

From Fvwm Extensions (configs) Archive
Jump to navigation Jump to search
Image

Task Curve Panel (modules) is made of FvwmButtons. The main panel building modules that lays out a panel into a series of buttons, such as this task bar based on Somatic theme.

Based on David Lanham’s Somatic theme.

## FILE 1: taskBCurve.txt
## Modules

DestroyMenu MenuStart
AddToMenu MenuStart
Test (x xfce4-appfinder) + "Apps " Exec exec xfce4-appfinder
+ "-" Nop
+ "Refresh " Restart
+ "Logout " Module FvwmScript FvwmScript-ConfirmQuit

## Taskbar

SetEnv tpc-image $[HOME]/.fvwm/icons

Module FvwmButtons TaskButtonsCurve

DestroyModuleConfig TaskButtonsCurve: *
*TaskButtonsCurve: Geometry 730x36+0+3
*TaskButtonsCurve: Colorset 111
*TaskButtonsCurve: Frame 0
*TaskButtonsCurve: Rows 1
*TaskButtonsCurve: Padding 0 0

*TaskButtonsCurve: (60x1, Icon $[tpc-image]/Fvwm-58x20.png, Colorset 272,  ActionOnPress, Action(Mouse 1) Menu MenuStart Rectangle +$left+28 0 12m)

*TaskButtonsCurve: (341x1, Swallow FvwmIconMan 'Module FvwmIconMan', Frame 2)

Test (x stalonetray) *TaskButtonsCurve: (120x1, Colorset 111, Swallow(NoClose,UseOld) \
    stalonetray 'Exec exec stalonetray --config \
    "$[FVWM_DATADIR]/default-config/.stalonetrayrc"', Frame 0)
    
*TaskButtonsCurve: (5x1, Colorset 111)
*TaskButtonsCurve: (37x1, Icon $[tpc-image]/curve2.png, Colorset 266)
#*TaskButtonsCurve: (5x1, Back #6da2e3)

## Style setting
Style TaskButtonsCurve !Borders, !Title, WindowListSkip, Sticky

HOW TO: Copy the code and paste it into your config. Or create FILE 1 and run the below line:
Read $[HOME]/.fvwm/taskBCurve.txt