fix screen locking with desktopctl (and make it more universal)
This commit is contained in:
parent
dadccdbe20
commit
b4b0f73f35
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
pkgs.writeShellScriptBin "desktopctl" ''
|
pkgs.writeShellScriptBin "desktopctl" ''
|
||||||
case $@ in
|
case $@ in
|
||||||
"Lock Screen")
|
"Lock Screen")
|
||||||
nohup sh -c "i3lock-fancy" > /dev/null &
|
loginctl lock-session
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
"Log Out")
|
"Log Out")
|
||||||
|
|
Loading…
Reference in a new issue