aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2024-11-28 17:49:53 -0500
committerBardofSprites <[email protected]>2024-11-28 17:49:53 -0500
commitb61411fa66e413483f03b3dc7e9b3cf967f43711 (patch)
tree2d6233d98af6d354377901267bc54f358809eb12
parent7ea7cf2e266b31f98f29e398ab32e4cf2f503d9e (diff)
new fvwm horizontal panel
-rw-r--r--fvwm/.fvwm/config72
1 files changed, 21 insertions, 51 deletions
diff --git a/fvwm/.fvwm/config b/fvwm/.fvwm/config
index a00d780..e5448b2 100644
--- a/fvwm/.fvwm/config
+++ b/fvwm/.fvwm/config
@@ -39,6 +39,7 @@ ImagePath +:$[FVWM_USERDIR]/icon/Yoritsuki/24
ImagePath +:$[FVWM_USERDIR]/icon/pixmap
# read .sidebar.fvwm2rc
+Read horizontal.sys
SetEnv fvwmscript $[HOME]/.fvwm/fvwmscript/
SetEnv themedir $[HOME]/.fvwm/themes/
@@ -68,9 +69,8 @@ SetEnv themedir $[HOME]/.fvwm/themes/
DestroyFunc StartFunction
AddToFunc StartFunction
+ I Test (Init) Module FvwmBanner
-+ I Module FvwmButtons LeftPanel
-# + I Module FvwmScript sidebar
+ I Module FvwmScript fvwmscript/org-clock
++ I Module FvwmButtons HorizontalPanel
+ I Module FvwmEvent EventNewDesk
# Mouse Bindings Functions
@@ -225,7 +225,7 @@ DesktopName 0 Main
DesktopName 1 Desk1
DesktopName 2 Desk2
DesktopName 3 Desk3
-DesktopSize 2x2
+DesktopSize 4x1
# EdgeScroll will move the view port between the Pages when the mouse
# moves to the edge of the screen. This set the amount of distance to
@@ -241,7 +241,14 @@ Style * EdgeMoveDelay 350, EdgeMoveResistance 350
# EwmhBaseStruts [left] [right] [top] [bottom]
# Reserves space along the edge(s) of the Screen that will not
# be covered when maximizing or placing windows.
-EwmhBaseStruts screen $[monitor.0.name] 120 0 0 0
+
+# no gaps
+EwmhBaseStruts screen $[monitor.0.name] 0 0 30 0
+EwmhBaseStruts screen $[monitor.1.name] 0 0 0 0
+
+# with gaps
+# EwmhBaseStruts screen $[monitor.0.name] 20 20 50 20
+# EwmhBaseStruts screen $[monitor.1.name] 20 20 20 20
# This sets the ClickTime and MoveThreshold used to determine
# Double Clicks, Hold and Move for the mouse.
@@ -283,10 +290,11 @@ Style * BorderColorset 3, HilightBorderColorset 4
# Comment this out or use Style * Icon to get the icons back.
Style * Icon
# Style * IconBox 990x150-20-10, IconGrid 234 134, IconFill right bottom
-Style * IconBox 64x1080-0+0
+Style * IconBox 64x1080-0+40
+# Style * IconBox 64x1080-0+0
# Window Specific Styles
-Style LeftPanel !Title, !Borders, !Handles, Sticky, \
+Style HorizontalPanel !Title, !Borders, !Handles, Sticky, \
WindowListSkip, NeverFocus, FixedPosition
Style conky !Title, !Borders, !Handles, Sticky, \
WindowListSkip, NeverFocus
@@ -615,20 +623,20 @@ Silent Key F4 A 4S MoveToDesk 0 3
Silent Key 1 A 4 GotoPage 0 0
Silent Key 2 A 4 GotoPage 1 0
-Silent Key 3 A 4 GotoPage 0 1
-Silent Key 4 A 4 GotoPage 1 1
+Silent Key 3 A 4 GotoPage 2 0
+Silent Key 4 A 4 GotoPage 3 0
Silent Key 1 A 4S MoveToPage 0 0
Silent Key 2 A 4S MoveToPage 1 0
-Silent Key 3 A 4S MoveToPage 0 1
-Silent Key 4 A 4S MoveToPage 1 1
+Silent Key 3 A 4S MoveToPage 2 0
+Silent Key 4 A 4S MoveToPage 3 0
DestroyMenu MenuSendToPage
AddToMenu MenuSendToPage
+ "Page (0,0)" MoveToPage 0 0
-+ "Page (0,1)" MoveToPage 0 1
+ "Page (1,0)" MoveToPage 1 0
-+ "Page (1,1)" MoveToPage 1 1
++ "Page (2,0)" MoveToPage 2 0
++ "Page (3,0)" MoveToPage 3 0
# page scrolling custom
Mouse 9 R 4 Scroll 0 -100p
@@ -813,44 +821,6 @@ DestroyModuleConfig FvwmBanner:*
DestroyModuleConfig FvwmScript:*
*FvwmScript: DefaultColorset 10
-# FvwmButtons - LeftPanel
-#
-# FvwmButtons is a powerful module that can be used to build custom
-# panels and docks. This config uses FvwmButtons to build the LeftPanel.
-# The panel contains buttons to switch desks, FvwmPager, a system tray,
-# FvwmIconMan (list of running windows), and a clock.
-#
-# Note - To use the system tray you must have "stalonetray" installed.
-DestroyModuleConfig LeftPanel:*
-DestroyModuleConfig LeftPanel:*
-*LeftPanel: Geometry 120x$[vp.height]+0+0
-# *LeftPanel: Geometry 120x$[vp.height]-0+0
-*LeftPanel: Colorset 10
-*LeftPanel: Rows $[vp.height]
-*LeftPanel: Columns 120
-*LeftPanel: Frame 0
-*LeftPanel: Font "xft:Comic Code:Bold:size=14:antialias=True"
-# *LeftPanel: (120x45, Icon "fvwm-logo-small.png", Frame 0)
-*LeftPanel: (120x5, Frame 0)
-*LeftPanel: (10x30, Frame 0)
-*LeftPanel: (25x30, Id desk0, Title "0", Action (Mouse 1) GotoDesk 0 0, Colorset 11, ActiveColorset 12, Frame 0)
-*LeftPanel: (25x30, Id desk1, Title "1", Action (Mouse 1) GotoDesk 0 1, ActiveColorset 12, Frame 0)
-*LeftPanel: (25x30, Id desk2, Title "2", Action (Mouse 1) GotoDesk 0 2, ActiveColorset 12, Frame 0)
-*LeftPanel: (25x30, Id desk3, Title "3", Action (Mouse 1) GotoDesk 0 3, ActiveColorset 12, Frame 0)
-*LeftPanel: (10x30, Frame 0)
-*LeftPanel: (5x120, Frame 0)
-*LeftPanel: (110x120, Swallow FvwmPager 'Module FvwmPager *', Frame 0)
-*LeftPanel: (5x120, Frame 0)
-*LeftPanel: (120x5, Frame 0)
-Test (x stalonetray) PipeRead 'echo "*LeftPanel: (120x$(($[vp.height]-250)), \
- Top, Swallow FvwmIconMan \'Module FvwmIconMan\', Frame 0)"'
-Test (!x stalonetray) PipeRead 'echo "*LeftPanel: (120x$(($[vp.height]-250)),\
- Top, Swallow FvwmIconMan \'Module FvwmIconMan\', Frame 0)"'
-*LeftPanel: (120x80, Swallow DateTime 'Module FvwmScript fvwmscript/FvwmScript-DateTime',\
- Frame 0)
-# *LeftPanel: (120x50, Swallow ACPIStatus 'Module FvwmScript fvwmscript/FvwmScript-ACPIStatus',\
-# Frame 0)
-
# FvwmPager
#
# This module displays the location of the windows on the various Pages
@@ -872,7 +842,7 @@ DestroyModuleConfig FvwmPager:*
# is used as the window list in the panel or taskbar.
DestroyModuleConfig FvwmIconMan:*
*FvwmIconMan: UseWinList true
-*FvwmIconMan: ButtonGeometry 120x20
+*FvwmIconMan: ButtonGeometry 120x30
*FvwmIconMan: ManagerGeometry 1x1
*FvwmIconMan: Colorset 10
*FvwmIconMan: FocusColorset 11