Add lock screen shortcut
This commit is contained in:
parent
f5fae9b428
commit
353f307d31
6
nixos/home-manager/env/sxhkd.nix
vendored
6
nixos/home-manager/env/sxhkd.nix
vendored
|
@ -3,6 +3,12 @@
|
||||||
services.sxhkd = {
|
services.sxhkd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
keybindings = {
|
keybindings = {
|
||||||
|
"alt + shift + l" = ''
|
||||||
|
scrot -z /tmp/i3lock.png;\
|
||||||
|
convert /tmp/i3lock.png -blur \"15x12\" /tmp/i3lock.png;\
|
||||||
|
i3lock -i /tmp/i3lock.png;\
|
||||||
|
rm /tmp/i3lock.png
|
||||||
|
'';
|
||||||
"super + w" = "firefox";
|
"super + w" = "firefox";
|
||||||
"super + Return" = "kitty";
|
"super + Return" = "kitty";
|
||||||
"alt + shift + Return" = "xfce4-terminal --drop-down";
|
"alt + shift + Return" = "xfce4-terminal --drop-down";
|
||||||
|
|
Loading…
Reference in a new issue