06a5d5a71a89

More
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 15 Jun 2019 11:46:22 -0400
parents f82982006717
children c0a992963f26
branches/tags (none)
files bin/lock-screen stumpwmrc xsessionrc

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/lock-screen	Sat Jun 15 11:46:22 2019 -0400
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+exec slock /home/sjl/src/dotfiles/bin/slock-post-lock /home/sjl/src/dotfiles/bin/slock-post-unlock
--- a/stumpwmrc	Mon Jun 10 17:33:39 2019 -0400
+++ b/stumpwmrc	Sat Jun 15 11:46:22 2019 -0400
@@ -316,7 +316,7 @@
     ()
   (hostcase
     ((:alephnull :mobius)
-     (run-shell-command "exec slock")
+     (run-shell-command "exec lock-screen")
      (run-shell-command "systemctl suspend"))
     (t (message "Not sleeping this machine for safety.."))))
 
@@ -424,7 +424,7 @@
   ("H-b" "browser")
   ("H-B" "exec firefox")
   ("H-o" "spotify")
-  ("H-q" "exec slock")
+  ("H-q" "exec lock-screen")
   ("H-y" "screenshot-area")
   ("H-Y" "screenshot-screen")
   ("H-r" "loadrc")
--- a/xsessionrc	Mon Jun 10 17:33:39 2019 -0400
+++ b/xsessionrc	Sat Jun 15 11:46:22 2019 -0400
@@ -17,7 +17,7 @@
 
 /home/sjl/src/dotfiles/bin/keysettings
 xcape -t 200 -e 'Control_L=Escape;Shift_L=Shift_L|9;Shift_R=Shift_R|0'
-xautolock -time 30 -locker /usr/bin/slock &
+xautolock -time 30 -locker /home/sjl/src/dotfiles/bin/lock-screen &
 
 # /usr/bin/dunst -config $HOME/.dunstrc &