about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-05-01T14·41+0200
committerVincent Ambo <tazjin@gmail.com>2018-05-01T14·41+0200
commite5d129b49902987d68078bd41ac11389e4eae028 (patch)
tree68c427bdc5f74e243664f26ac7c60df92d0daa04
parent456f692b88323575aacab137a1a016df88f76638 (diff)
fix(nixos): Use 'screen-lock' command instead of i3lock directly
-rw-r--r--init/nixos.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/nixos.el b/init/nixos.el
index eaf68dd98267..71cd8adbc2fe 100644
--- a/init/nixos.el
+++ b/init/nixos.el
@@ -31,7 +31,7 @@
 
 (defun lock-screen ()
   (interactive)
-  (shell-command "i3lock"))
+  (shell-command "screen-lock"))
 
 (defun generate-randr-config ()
   (-flatten `(,(-map (lambda (n) (list n "DP2")) (number-sequence 1 5))