Task Flux Panel: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
## Remove RightPanel | ## Remove RightPanel | ||
KillModule FvwmButtons *RightPanel | KillModule FvwmButtons *RightPanel | ||
SetEnv tpc-image $[HOME]/.fvwm/icons | |||
### Colorsets | |||
Colorset 16 VGradient 50 #c0ccd1 #42616f | |||
Colorset 17 fg black, bg #9c9c9c, hi #24424f, sh #111f26, Plain, NoShape | |||
Colorset 18 fg #ffffff, bg #2b4e5e, hi #2b4e5e, sh #2b4e5e, Plain, NoShape | |||
DestroyMenu MenuStart | DestroyMenu MenuStart | ||
AddToMenu MenuStart | AddToMenu MenuStart | ||
Test (x xfce4-appfinder) + " | Test (x xfce4-appfinder) + "Find " Exec exec xfce4-appfinder | ||
+ "-" Nop | + "-" Nop | ||
+ "Restart " Restart | + "Restart " Restart | ||
| Line 20: | Line 27: | ||
DestroyModuleConfig TaskButtonsFlux: * | DestroyModuleConfig TaskButtonsFlux: * | ||
*TaskButtonsFlux: Geometry | *TaskButtonsFlux: Geometry 1010x36-450-12 | ||
*TaskButtonsFlux: Colorset | *TaskButtonsFlux: Colorset 16 | ||
*TaskButtonsFlux: PressColorset | *TaskButtonsFlux: PressColorset 17 | ||
*TaskButtonsFlux: Frame 0 | *TaskButtonsFlux: Frame 0 | ||
*TaskButtonsFlux: Rows 1 | *TaskButtonsFlux: Rows 1 | ||
*TaskButtonsFlux: Font "xft:Sans:size=10:antialias=True" | *TaskButtonsFlux: Font "xft:Sans:size=10:antialias=True" | ||
*TaskButtonsFlux: Padding 0 0 | *TaskButtonsFlux: Padding 0 0 | ||
*TaskButtonsFlux: (1x1, Colorset 17) | |||
*TaskButtonsFlux: (70x1, Icon $[tpc-image]/Fvwm-58x20.png, Colorset 16, ActionOnPress, Action(Mouse 1) Menu MenuStart Rectangle -1450-40 0 -111m) | |||
*TaskButtonsFlux: (380x1, Swallow FvwmIconMan 'Module FvwmIconMan', Frame 2) | |||
Test (x stalonetray) *TaskButtonsFlux: (70x1, Colorset 16, Swallow(NoClose,UseOld) \ | |||
stalonetray 'Exec exec stalonetray --config \ | |||
"$[FVWM_DATADIR]/default-config/stalonetrayrc"' ) | |||
*TaskButtonsFlux: (3x1, Colorset 16) | |||
*TaskButtonsFlux: (2x1, Colorset 18) | |||
*TaskButtonsFlux: (31x1, Icon $[tpc-image]/quit-25x25.png, Colorset 16, Action \ | |||
`Read $[HOME]/restartSDown.txt` ) | |||
*TaskButtonsFlux: (1x1, Colorset 17) | |||
## Style setting | ## Style setting | ||
Style TaskButtonsFlux !Borders, !Title, WindowListSkip, StaysOnTop, Sticky | Style TaskButtonsFlux !Borders, !Title, WindowListSkip, StaysOnTop, Sticky | ||
</pre> | </pre> | ||
'''HOW TO''': | '''HOW TO''': | ||
Copy the code and paste it into your config. Or create FILE 1 | Copy the code and paste it into your config. Or create FILE 1 and run the below line:<br> | ||
''Read $[HOME]/ | ''Read $[HOME]/.fvwm/taskBFlux.txt'' | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ | ||
Revision as of 10:12, 12 July 2025
Task Flux Panel (modules) is made of FvwmButtons. The main panel building modules that lay out a panel into a series of buttons, such as this taskbar, based on Fluxbox.
## FILE 1
## Modules: taskBFlux.txt
## Remove RightPanel
KillModule FvwmButtons *RightPanel
SetEnv tpc-image $[HOME]/.fvwm/icons
### Colorsets
Colorset 16 VGradient 50 #c0ccd1 #42616f
Colorset 17 fg black, bg #9c9c9c, hi #24424f, sh #111f26, Plain, NoShape
Colorset 18 fg #ffffff, bg #2b4e5e, hi #2b4e5e, sh #2b4e5e, Plain, NoShape
DestroyMenu MenuStart
AddToMenu MenuStart
Test (x xfce4-appfinder) + "Find " Exec exec xfce4-appfinder
+ "-" Nop
+ "Restart " Restart
+ "Quit " Module FvwmScript FvwmScript-ConfirmQuit
## Taskbar
Module FvwmButtons TaskButtonsFlux
DestroyModuleConfig TaskButtonsFlux: *
*TaskButtonsFlux: Geometry 1010x36-450-12
*TaskButtonsFlux: Colorset 16
*TaskButtonsFlux: PressColorset 17
*TaskButtonsFlux: Frame 0
*TaskButtonsFlux: Rows 1
*TaskButtonsFlux: Font "xft:Sans:size=10:antialias=True"
*TaskButtonsFlux: Padding 0 0
*TaskButtonsFlux: (1x1, Colorset 17)
*TaskButtonsFlux: (70x1, Icon $[tpc-image]/Fvwm-58x20.png, Colorset 16, ActionOnPress, Action(Mouse 1) Menu MenuStart Rectangle -1450-40 0 -111m)
*TaskButtonsFlux: (380x1, Swallow FvwmIconMan 'Module FvwmIconMan', Frame 2)
Test (x stalonetray) *TaskButtonsFlux: (70x1, Colorset 16, Swallow(NoClose,UseOld) \
stalonetray 'Exec exec stalonetray --config \
"$[FVWM_DATADIR]/default-config/stalonetrayrc"' )
*TaskButtonsFlux: (3x1, Colorset 16)
*TaskButtonsFlux: (2x1, Colorset 18)
*TaskButtonsFlux: (31x1, Icon $[tpc-image]/quit-25x25.png, Colorset 16, Action \
`Read $[HOME]/restartSDown.txt` )
*TaskButtonsFlux: (1x1, Colorset 17)
## Style setting
Style TaskButtonsFlux !Borders, !Title, WindowListSkip, StaysOnTop, Sticky
HOW TO:
Copy the code and paste it into your config. Or create FILE 1 and run the below line:
Read $[HOME]/.fvwm/taskBFlux.txt
