fxde-core/modules/shelf
2021-06-15 19:25:01 -03:00

182 lines
6.7 KiB
Plaintext

#Define the shelf.
Style "Shelf" NeverFocus, NoTitle, !Handles, !Borders, Sticky, FixedSize, \
WindowListSkip, CirculateSkip, StaysOnBottom, FixedPosition, \
!Iconifiable, !Closable, !Maximizable
DestroyModuleConfig Shelf
*Shelf: Geometry 136x$[vp.height]-0-0@g
*Shelf: Columns 136
*Shelf: Rows $[vp.height]
*Shelf: Frame 3
*Shelf: Padding 2 2
*Shelf: Colorset 10
*Shelf: BoxSize fixed
*Shelf: Font "$[infostore.ui_font]"
*Shelf: Colorset 9
*Shelf: PressColorset 10
# Vertical bevel.
PipeRead 'echo "*Shelf: (Size 5x$(($[vp.height])), Colorset 9, \
ActiveColorset 9)"'
# Horizontal bevel.
*Shelf: (Size 131x6, Colorset 9, ActiveColorset 9)
# Start of command button block.
*Shelf: (Size 131x30, Title (Right) Terminal , Action Exec \
exec $[infostore.term]
*Shelf: (Size 131x30, Title (Right) Editors , Action Menu EditMenu)
*Shelf: (Size 131x30, Title (Right) Files , Action Exec exec \
$[infostore.filer])
*Shelf: (Size 131x30, Title (Right) Browsers , Action Menu BrowseMenu)
*Shelf: (Size 131x30, Title (Right) Comms , Action Menu CommsMenu)
*Shelf: (Size 131x30, Title (Right) Media , Action Menu MediaMenu)
*Shelf: (Size 131x30, Title (Right) Utilities, Action Menu UtilMenu)
*Shelf: (Size 131x15, Frame 1)
*Shelf: (Size 131x30, Title (Right) Run , Action Module FvwmScript \
$[infostore.fscript]/FvwmScript-Execute)
*Shelf: (Size 131x30, Title (Right) Configure , Action Module FvwmScript \
$[infostore.fscript]/FXDE-ControlPanel)
*Shelf: (Size 131x30, Title (Right) Sysinfo , Action Menu InfoMenu)
*Shelf: (Size 131x30, Title (Right) Hide , Action Function ShowDeskFunc)
*Shelf: (Size 131x30, Title (Right) Lock , Action Exec exec xset s activate)
*Shelf: (Size 131x30, Title (Right) Logout , Action Module FvwmScript \
$[infostore.fscript]/FvwmScript-ConfirmQuit)
# End of command button block.
PipeRead 'echo "*Shelf: (Size 131x$(((($[vp.height]/106)*1)))), Frame 1)"'
# Start of monitor widget block.
# CPU monitor.
*Shelf: (Size 131x24, Frame 0, Swallow cpumon "exec xosview \
-xrm xosview*borderWidth:0 -xrm xosview*foreground:#$[infostore.cs_09_bg] \
-xrm xosview*background:#$[infostore.cs_09_bg] \
-xrm xosview*cpuFreeColor:#$[infostore.cs_09_bg] \
-xrm xosview*cpuUserColor:#00FFFF -xrm xosview*cpuFormat:single \
-xrm xosview*cpuFields:USED -xrm xosview*cpuDecay:false \
-xrm xosview*cpuGraph:false -xrm xosview*captions:false \
-xrm xosview*wireless:false -xrm xosview*labels:false \
-xrm xosview*title:cpumon -xrm xosview*power:false \
-xrm xosview*font:fixed -xrm xosview*load:false -xrm xosview*page:false \
-xrm xosview*swap:false -xrm xosview*disk:false -xrm xosview*net:false \
-xrm xosview*mem:false -xrm xosview*cpu:true")
*Shelf: (Size 131x5, Frame 1)
# Memory monitor.
*Shelf (Size 131x24, Frame 0, Swallow memmon "exec xosview \
-xrm xosview*memFreeColor:#$[infostore.cs_09_bg]\
-xrm xosview*memUsedFormat:percent \
-xrm xosview*foreground:#$[infostore.cs_09_bg] \
-xrm xosview*background:#$[infostore.cs_09_bg] \
-xrm xosview*memUsedColor:#05C4B0 \
-xrm xosview*memSharedColor:#05C4B0 \
-xrm xosview*memBufferColor:#05C4B0 \
-xrm xosview*memCacheColor:#02A2A0 \
-xrm xosview*memFreeColor:#$[infostore.cs_09_bg] \
-xrm xosview*memKernelColor:#05C4B0 \
-xrm xosview*memSlabColor:#05C4B0 \
-xrm xosview*memMapColor:#05C4B0 \
-xrm xosview*memPriority:1 \
-xrm xosview*captions:false \
-xrm xosview*memDecay:false \
-xrm xosview*wireless:false \
-xrm xosview*labels:false \
-xrm xosview*title:memmon \
-xrm xosview*power:false \
-xrm xosview*disk:false \
-xrm xosview*load:false \
-xrm xosview*page:false \
-xrm xosview*swap:false \
-xrm xosview*font:fixed \
-xrm xosview*cpu:false \
-xrm xosview*net:false \
-xrm xosview*mem:true")
*Shelf: (Size 131x5, Frame 1)
# Disk monitor.
*Shelf: (Size 131x24, Frame 0, Swallow dskmon "exec xosview -xrm \
xosview*borderWidth:0 -xrm xosview*foreground:#$[infostore.cs_09_bg] \
-xrm xosview*background:#$[infostore.cs_09_bg] \
-xrm xosview*diskIdleColor:#$[infostore.cs_09_bg] \
-xrm xosview*diskWriteColor:#A98C40 -xrm xosview*diskReadColor:#CBAE62 \
-xrm xosview*diskDecay:false -xrm xosview*diskGraph:false \
-xrm xosview*captions:false -xrm xosview*diskPriority:1 \
-xrm xosview*wireless:false -xrm xosview*labels:false \
-xrm xosview*power:false -xrm xosview*title:dskmon -xrm xosview*load:false \
-xrm xosview*page:false -xrm xosview*swap:false -xrm xosview*font:fixed \
-xrm xosview*cpu:false -xrm xosview*net:false -xrm xosview*disk:true \
-xrm xosview*mem:false")
*Shelf: (Size 131x5, Frame 1)
# Network monitor.
*Shelf: (Size 131x24, Frame 0, Swallow netmon "exec xosview\
-xrm xosview*background:#$[infostore.cs_09_bg] \
-xrm xosview*foreground:#$[infostore.cs_09_bg] \
-xrm xosview*netBackground:#$[infostore.cs_09_bg] \
-xrm xosview*UsedFormat:autoscale \
-xrm xosview*netOutColor:#CC0000 \
-xrm xosview*netBandwidth:115875000 \
-xrm xosview*netInColor:#0000CC \
-xrm xosview*netIface:eno1 \
-xrm xosview*netGraph:false \
-xrm xosview*wireless:false \
-xrm xosview*netPriority:1 \
-xrm xosview*labels:false \
-xrm xosview*title:netmon \
-xrm xosview*power:false \
-xrm xosview*netDecay:false \
-xrm xosview*disk:false \
-xrm xosview*font:fixed \
-xrm xosview*load:false \
-xrm xosview*page:false \
-xrm xosview*swap:false \
-xrm xosview*cpu:false \
-xrm xosview*mem:false \
-xrm xosview*net:true")
# End of monitor widget block.
PipeRead 'echo "*Shelf: (Size 131x$(((($[vp.height]/53)*28)))), Frame 1)"'
# Start of auxiliary widget block.
*Shelf: (Size 131x60, Frame 1, Swallow stalonetray, 'Exec exec stalonetray \
--kludges force_icons_size --icon-size 32 --icon-gravity SE \
--geometry 4x2 --background "#$[infostore.cs_09_bg]"')
*Shelf: (Size 131x5, Frame 2)
*Shelf: (Padding 5 0, Action Exec exec xcalendar, Size 131x30, Frame 2, \
Swallow xclock, 'Exec exec /usr/bin/xclock -digital -strftime "%a %H:%M:%S"\
-update 1 -bg "#$[infostore.cs_09_bg]" -sharp -face "$[infostore.small_font]"',\
PressColorset 9)
*Shelf: (Size 131x130, Frame 2, Swallow ShelfPager)