diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-08-13 13:16:55 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-08-19 08:39:06 +0200 |
commit | 505c6a0e3897eb1b5a23f85de668612dad4f2d4d (patch) | |
tree | e1cdd2a8fab5d9c02935e6a7fcfab3bcf4640924 /initvars.config | |
parent | 09e2ffa33f135754dd110983e04eac402d01293a (diff) |
Turn some hardcoded numbers into variables.
Diffstat (limited to 'initvars.config')
-rw-r--r-- | initvars.config | 3 |
1 files changed, 3 insertions, 0 deletions
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 ## |