summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2019-02-09 17:18:17 -0800
committerMike Crute <mike@crute.us>2019-02-09 17:18:17 -0800
commit217634f576893a094f6dcc22c8720fde6a9320ac (patch)
treec7a2a65e4e68be51e7c536b92297cfe2984ab02b /.config
parentf57053299418ac49b37e4250a302d6235042aedb (diff)
downloaddotfiles-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.lua9
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--
343local 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.
345local default_zoom_stop = 3
346local 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
369function zoom_screen_reset() 372function 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)
372end 375end
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