~emersion/dotfiles

0e2472fea6f560f7fb788183ac668f29e4dfecf4 — emersion 1 year, 8 months ago bbb44d4
sway: turn off screens when locking
1 files changed, 4 insertions(+), 2 deletions(-)

M .config/sway/config
M .config/sway/config => .config/sway/config +4 -2
@@ 133,8 133,9 @@ bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioPrev exec playerctl previous
bindsym XF86AudioStop exec playerctl stop
# lockscreen
bindsym $mod+l exec swaylock -i $wallpaper_lock --scaling fill
bindsym XF86ScreenSaver exec swaylock -i $wallpaper_lock --scaling fill
# (sleep before entering idle state to let the user lift keys)
bindsym $mod+l exec "swaylock -f -i $wallpaper_lock --scaling fill; sleep 1; pkill -USR1 swayidle"
bindsym --locked $mod+l exec "sleep 1; pkill -USR1 swayidle"
# screenshots
bindsym $mod+g exec grim $(xdg-user-dir PICTURES)/$(date +'%Y-%m-%d-%H%M%S_grim.png')
bindsym $mod+Shift+g slurp | grim -g - $(xdg-user-dir PICTURES)/$(date +'%Y-%m-%d-%H%M%S_grim.png')


@@ 191,6 192,7 @@ input "1386:222:Wacom_Bamboo_16FG_4x5_Pen" {
exec mako >/tmp/mako.log 2>&1
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec kanshi >/tmp/kanshi.log 2>&1
exec swayidle timeout 0 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'

include ~/.config/sway/conf.d/*
include ~/.config/sway/`hostname`/*