diff options
-rw-r--r-- | config | 4 | ||||
-rw-r--r-- | initvars.config | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -20,8 +20,6 @@ Read styles.config Read deco.config Read menu.config -# 96 pixels per page -PipeRead 'echo InfoStoreAdd num_pages $(($[infostore.pagerheight]/96))' DesktopSize 1x$[infostore.num_pages] EdgeThickness 0 @@ -30,7 +28,7 @@ OpaqueMoveSize unlimited HideGeometryWindow Always IgnoreModifiers L25 EdgeResistance -1 -EwmhBaseStruts 0 128 0 0 +EwmhBaseStruts 0 $[infostore.panelwidth] 0 0 ##################### diff --git a/initvars.config b/initvars.config index aaa4dd2..6e07559 100644 --- a/initvars.config +++ b/initvars.config @@ -3,7 +3,10 @@ # heights of panel apps InfoStoreAdd trayheight 26 InfoStoreAdd clockheight 64 +InfoStoreAdd pageheight 96 +InfoStoreAdd panelwidth 128 PipeRead 'echo InfoStoreAdd pagerheight $(($[vp.height] - $[infostore.trayheight] - $[infostore.clockheight]))' +PipeRead 'echo InfoStoreAdd num_pages $(($[infostore.pagerheight]/$[infostore.pageheight]))' ############################## ## Set default applications ## |