add suspend bind
This commit is contained in:
parent
0f7cde3640
commit
20ef97bddc
|
@ -195,6 +195,7 @@ in
|
|||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
networking.firewall.enable = false;
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
nix = {
|
||||
package = pkgs.nixFlakes; # or versioned attributes like nixVersions.nix_2_8
|
||||
extraOptions = ''
|
||||
|
|
|
@ -368,7 +368,7 @@ in {
|
|||
tap = "enabled";
|
||||
};
|
||||
input."*" = {
|
||||
xkb_layout = "us(colemak)";
|
||||
xkb_layout = "us(colemak),br";
|
||||
xkb_options = "lv3:lsgt_switch,grp:shifts_toggle";
|
||||
xkb_numlock = "enabled";
|
||||
repeat_rate = "30";
|
||||
|
@ -480,6 +480,9 @@ in {
|
|||
XF86AudioNext = "exec playerctl next";
|
||||
XF86AudioPrev = "exec playerctl previous";
|
||||
};
|
||||
system_binds = {
|
||||
"Ctrl+${mod}+z" = "exec systemctl suspend";
|
||||
};
|
||||
in {
|
||||
"${mod}+Return" = "exec ${terminal}";
|
||||
"${mod}+x" = "kill";
|
||||
|
@ -503,6 +506,7 @@ in {
|
|||
// workspace_binds
|
||||
// prev_next_binds
|
||||
// movement_binds
|
||||
// system_binds
|
||||
# // map (key: "$mod+${key} workspace prev_on_output") [ key.tabL "bracketleft" "Prior" "button9" "button4" ]
|
||||
# // map (key: "$mod+${key} workspace next_on_output") [ key.tabL "bracketleft" "Prior" "button9" "button4" ]
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue