~ntgg/dotfiles

a27dea91e5a5f74b141387dad33937d759ca52e6 — Noah Graff 2 months ago faaec58
background image, passmenu bind, lock wait up
1 files changed, 6 insertions(+), 4 deletions(-)

M .config/sway/config
M .config/sway/config => .config/sway/config +6 -4
@@ 19,8 19,9 @@ set $workspace10 10
set $term alacritty

set $menu 'wofi -Sdrun'
set $passmenu 'passmenu >/dev/null 2>&1'

# set $bgimg {{{ wallpaper-path }}}
set $bgimg '~/Pictures/Wallpapers/Calvin_and_Hobbes-I_Demand_Euphoria.png'

set $lockimg $bgimg
set $lockcmd 'swaylock -f -i $lockimg'


@@ 36,9 37,9 @@ exec_always --no-startup-id flashfocus
exec mako

exec swayidle -w \
    timeout 180 $lockcmd \
    timeout 300 $lockcmd \
    timeout 120 'swaymsg "output * dpms off"' \
    resume 'swaymsg "output * dpms on"' \
        resume 'swaymsg "output * dpms on"' \
    before-sleep $lockcmd

#


@@ 81,6 82,7 @@ floating_modifier $mod normal
bindsym $mod+Return exec $term
bindsym $mod+Shift+q kill
bindsym $mod+d exec $menu
bindsym $mod+p exec $passmenu

bindsym $mod+Shift+c reload
bindsym $mod+Shift+e exec swaynag -t warning -m 'Exit sway?' -b 'Yes' 'swaymsg exit'


@@ 181,5 183,5 @@ client.urgent $color_urgent $color_urgent $color_text_focused $color_indicator $
gaps inner 4
smart_gaps on

# output * background $bgimg fill
output * background $bgimg fill