aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2014-08-02 18:44:28 +0100
committerdakkar <dakkar@thenautilus.net>2014-08-02 18:49:04 +0100
commit3ae75d779e4205cd1cc716b40c649f2db455573f (patch)
tree05f531ea6205abec208f2009702254c1aedbae22
parentuse XDG apps descriptions for launcher (diff)
downloadfvwm-crystal-3ae75d779e4205cd1cc716b40c649f2db455573f.tar.gz
fvwm-crystal-3ae75d779e4205cd1cc716b40c649f2db455573f.tar.bz2
fvwm-crystal-3ae75d779e4205cd1cc716b40c649f2db455573f.zip
fix multi-screen positions
-rw-r--r--recipes/TopLine-single12
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes/TopLine-single b/recipes/TopLine-single
index f7b5e7a..d30de0d 100644
--- a/recipes/TopLine-single
+++ b/recipes/TopLine-single
@@ -68,15 +68,15 @@ AddToFunc StartFunction
+ I Style mwatch !FixedPosition
+ I Style gkrellm !FixedPosition
+ I UpdateStyles
-+ I All (mwatch) Move -0 +25p
-+ I All (gkrellm) Move -0 -0
++ I All (mwatch) Move screen p -0 +25p
++ I All (gkrellm) Move screen p -0 -0
+ I Style mwatch FixedPosition
+ I Style gkrellm FixedPosition
# Main menu panel {{{1
All (FvwmButtons-Panel) Close
DestroyModuleConfig FvwmButtons-Panel: *
-*FvwmButtons-Panel: Geometry -0+0
+*FvwmButtons-Panel: Geometry -0+0@p
*FvwmButtons-Panel: BoxSize smart
*FvwmButtons-Panel: ActiveColorset $[cs_panel_active]
*FvwmButtons-Panel: Colorset $[cs_panel_inactive]
@@ -119,7 +119,7 @@ Script components/scripts/FvwmScript-Clock-dakkar
# Applications panel and menu generator {{{1
All (ApplicationPanel) Close
DestroyModuleConfig ApplicationPanel: *
-*ApplicationPanel: Geometry +0+0
+*ApplicationPanel: Geometry +0+0@p
*ApplicationPanel: BoxSize smart
*ApplicationPanel: ActiveColorset $[cs_panel_active]
*ApplicationPanel: Colorset $[cs_panel_inactive]
@@ -139,7 +139,7 @@ SetEnv Desk_Pages_X "5"
SetEnv Desk_Pages_Y "5"
PipeRead 'echo SetEnv FvwmPager_Width $((24*$[vp.width]/$[vp.height]*$[Desk_Pages_X])); echo SetEnv FvwmPager_Height $((24*$[Desk_Pages_Y]))'
-PipeRead 'echo *FvwmPager: Geometry $[FvwmPager_Width]x$[FvwmPager_Height]+$((($[vp.width]-$[FvwmPager_Width])/2))'
+PipeRead 'echo *FvwmPager: Geometry $[FvwmPager_Width]x$[FvwmPager_Height]+$(((1366-$[FvwmPager_Width])/2))'
PipeRead 'echo DesktopSize $[Desk_Pages_X]x$[Desk_Pages_Y]'
*FvwmPager: MiniIcons
@@ -167,7 +167,7 @@ AddToFunc raise_pager
+ I WindowId $0 (FvwmPager|mwatch) Layer 0 7
# Settings for icons on the desktop {{{1
-Style * IconBox 1000x600+0-0, IconFill left bottom, IconGrid 30 30
+Style * IconBox 1000x600+0-0@p, IconFill left bottom, IconGrid 30 30
Style * StickyIcon
# Settings for FvwmIdent {{{1