Update modules/users.nix modules/workspace/i3/default.nix
This commit is contained in:
parent
6fca913d8c
commit
a1aa693af9
@ -39,7 +39,7 @@
|
||||
services.udev.extraRules = ''
|
||||
ACTION=="remove", ATTRS{idVendor}=="1050, RUN+="${
|
||||
pkgs.writeShellScript "lock-system"
|
||||
"/run/wrappers/bin/sudo -u balsoft 'swaylock -f -c ${
|
||||
"/run/wrappers/bin/sudo -u balsoft 'XDG_RUNTIME_DIR=/run/user/1000/ ${pkgs.swaylock}/bin/swaylock -f -c ${
|
||||
builtins.substring 1 7 config.themes.colors.bg
|
||||
}'"
|
||||
}"'';
|
||||
|
@ -161,9 +161,9 @@ in {
|
||||
"${modifier}+v" = "split v";
|
||||
"${modifier}+F1" = "move to scratchpad";
|
||||
"${modifier}+F2" = "scratchpad show";
|
||||
"${modifier}+F11" = "output * dpms off";
|
||||
"${modifier}+F11" = "exec swaylock -f -c ${builtins.substring 1 7 thm.bg}; output * dpms off";
|
||||
"${modifier}+F12" = "output * dpms on";
|
||||
"${modifier}+End" = "swaylock -f -c ${builtins.substring 1 7 thm.bg}";
|
||||
"${modifier}+End" = "exec swaylock -f -c ${builtins.substring 1 7 thm.bg}";
|
||||
"${modifier}+p" = "sticky toggle";
|
||||
"${modifier}+i" =
|
||||
script "0x0" ''wl-paste | curl -F"file=@-" https://0x0.st | wl-copy'';
|
||||
|
Loading…
Reference in New Issue
Block a user