mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-21 21:04:41 +01:00
fix screen locking with desktopctl (and make it more universal)
This commit is contained in:
parent
dadccdbe20
commit
b4b0f73f35
|
@ -2,7 +2,7 @@
|
|||
pkgs.writeShellScriptBin "desktopctl" ''
|
||||
case $@ in
|
||||
"Lock Screen")
|
||||
nohup sh -c "i3lock-fancy" > /dev/null &
|
||||
loginctl lock-session
|
||||
exit 0
|
||||
;;
|
||||
"Log Out")
|
||||
|
|
Loading…
Reference in a new issue