commit 5459ca576e8bfac8214705390646e911a4ac3084 parent 206fbb0f01ac41d3988dc8f93d9162c1ea6c3a3b Author: Chris Bracken <chris@bracken.jp> Date: Wed, 27 Feb 2019 15:37:39 -0800 Use i3lock for i3 lockscreen/screensaver Diffstat:
M | .i3/config | | | 9 | +++++---- |
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/.i3/config b/.i3/config @@ -25,15 +25,16 @@ font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 floating_modifier $mod # start a terminal -bindsym $mod+Return exec gnome-terminal +bindsym $mod+Return exec urxvt # kill focused window bindsym $mod+Shift+q kill # Lock, suspend -set $lock_screen dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock -bindsym Control+Mod1+l exec $lock_screen -bindsym Control+Mod1+s exec dbus-send --system --dest=org.freedesktop.UPower --type=method_call +set $lock_screen i3lock -d -c 000000 +exec --no-startup-id xautolock -time 10 -locker "$lock_screen" +bindsym Control+$mod+l exec $lock_screen +# bindsym Control+$mod+s exec dbus-send --system --dest=org.freedesktop.UPower --type=method_call # start dmenu (a program launcher) bindsym $mod+d exec PATH=$HOME/bin:$PATH dmenu_run