diff options
author | Mike Crute <mike@crute.us> | 2019-02-09 17:18:17 -0800 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2019-02-09 17:18:17 -0800 |
commit | 217634f576893a094f6dcc22c8720fde6a9320ac (patch) | |
tree | c7a2a65e4e68be51e7c536b92297cfe2984ab02b /.config | |
parent | f57053299418ac49b37e4250a302d6235042aedb (diff) | |
download | dotfiles-217634f576893a094f6dcc22c8720fde6a9320ac.tar.bz2 dotfiles-217634f576893a094f6dcc22c8720fde6a9320ac.tar.xz dotfiles-217634f576893a094f6dcc22c8720fde6a9320ac.zip |
Default zoom to 3 stops
Diffstat (limited to '.config')
-rw-r--r-- | .config/awesome/mcrute.lua | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.config/awesome/mcrute.lua b/.config/awesome/mcrute.lua index 13fc047..1ff6158 100644 --- a/.config/awesome/mcrute.lua +++ b/.config/awesome/mcrute.lua | |||
@@ -340,7 +340,10 @@ end | |||
340 | -- | 340 | -- |
341 | -- Session-persistent Zooming Support | 341 | -- Session-persistent Zooming Support |
342 | -- | 342 | -- |
343 | local current_zoom_stop = 0 | 343 | -- Start at the zoom stop I generally go to anyhow, it's always possible to |
344 | -- zoom in further our out. | ||
345 | local default_zoom_stop = 3 | ||
346 | local current_zoom_stop = default_zoom_stop | ||
344 | 347 | ||
345 | -- zoom_screen_up is a shortcut for zooming up using zoom stops that work | 348 | -- zoom_screen_up is a shortcut for zooming up using zoom stops that work |
346 | -- correctly with the display | 349 | -- correctly with the display |
@@ -367,8 +370,8 @@ end | |||
367 | 370 | ||
368 | -- zoom_screen_reset resets the zooming of the screen and disables panning | 371 | -- zoom_screen_reset resets the zooming of the screen and disables panning |
369 | function zoom_screen_reset() | 372 | function zoom_screen_reset() |
370 | current_zoom_stop = 0 | 373 | current_zoom_stop = default_zoom_stop |
371 | zoom_screen(current_zoom_stop) | 374 | zoom_screen(0) |
372 | end | 375 | end |
373 | 376 | ||
374 | -- make_spawn is a shortcut for generating awful.util.spawn closures and allows | 377 | -- make_spawn is a shortcut for generating awful.util.spawn closures and allows |