From 217634f576893a094f6dcc22c8720fde6a9320ac Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Sat, 9 Feb 2019 17:18:17 -0800 Subject: Default zoom to 3 stops --- .config/awesome/mcrute.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to '.config') 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 -- -- Session-persistent Zooming Support -- -local current_zoom_stop = 0 +-- Start at the zoom stop I generally go to anyhow, it's always possible to +-- zoom in further our out. +local default_zoom_stop = 3 +local current_zoom_stop = default_zoom_stop -- zoom_screen_up is a shortcut for zooming up using zoom stops that work -- correctly with the display @@ -367,8 +370,8 @@ end -- zoom_screen_reset resets the zooming of the screen and disables panning function zoom_screen_reset() - current_zoom_stop = 0 - zoom_screen(current_zoom_stop) + current_zoom_stop = default_zoom_stop + zoom_screen(0) end -- make_spawn is a shortcut for generating awful.util.spawn closures and allows -- cgit v1.2.3