]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Launch light-locker from i3 config
authorMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 17 Oct 2018 10:13:59 +0000 (11:13 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 17 Oct 2018 10:13:59 +0000 (11:13 +0100)
light-locker must be started after the dbus-session
is already running.  This can be guaranteed when i3 is
running

X/.xprofile
i3/.config/i3/config.base

index 59defe4f24238d797b348d968031340d5953d0fd..f131b889d50313f2fd208d45748082728cc67baf 100644 (file)
@@ -51,11 +51,6 @@ esac
 
 cat ~/.ratpoisonrc.base ~/.ratpoisonrc.$HOSTNAME > ~/.ratpoisonrc
 
-# run xcreensaver
-if [ -x $(which xscreensaver) ]; then
-  xscreensaver&
-fi
-
 # configure i3
 
 if [ -f ~/.config/i3/config.base ]; then
index e4795aba59ea9c7345b782469f64bdda7c567631..22fbce83fee1a36553b5b3e0a3df002694f9e0e0 100644 (file)
@@ -104,7 +104,7 @@ mode "$ratpoison" {
 
     bindsym Escape mode "default"
 
-    bindsym $mod+l mode "default" exec "i3lock -i ~/Pictures/lockscreen.png"
+    bindsym $mod+l mode "default" exec "light-locker-command -l"
 
 }
 
@@ -178,3 +178,5 @@ focus_follows_mouse no
 focus_on_window_activation urgent
 
 for_window [class="^rdesktop"] move workspace number 9; floating disable
+
+exec light-locker&