diff --git a/home/alisceon/base.nix b/home/alisceon/base.nix index 2358da3..17e55bd 100644 --- a/home/alisceon/base.nix +++ b/home/alisceon/base.nix @@ -129,6 +129,16 @@ hostname = "books.lab.the.malice.zone"; user = "root"; }; + "tower" = { + forwardAgent = true; + addKeysToAgent = "yes"; + hostname = "tower.home.the.malice.zone"; + }; + "electra" = { + forwardAgent = true; + addKeysToAgent = "yes"; + hostname = "electra.home.the.malice.zone"; + }; }; # end matchBlocks }; # end ssh direnv = { diff --git a/home/wm/sway.nix b/home/wm/sway.nix index 9184bbc..f41f145 100644 --- a/home/wm/sway.nix +++ b/home/wm/sway.nix @@ -257,10 +257,11 @@ "Mod4+space" = ''exec ${notify} -t 2000 "$(xonsh ~/.nixos_config/util/get_xkb.xsh)"''; "${key_mod}+Shift+r" = "reload"; "${key_mod}+Ctrl+r" = "restart"; - "${key_mod}+Escape" = "exec ${nag} -m 'Shutdown options:' -B 'Power Off' 'systemctl poweroff' -B 'Reboot' 'systemctl reboot' -B 'Logout' 'swaymsg exit'"; + "${key_mod}+Escape" = "exec ${nag} -m 'Shutdown options:' -Z 'Power Off' 'systemctl poweroff' -Z 'Reboot' 'systemctl reboot' -Z 'Logout' 'swaymsg exit'"; + "${key_mod}+Shift+Backspace" = "exec ${nag} -m 'TuneD profiles:' -Z 'Performance' 'tuned-adm profile accelerator-performance' -Z 'Balanced' 'tuned-adm profile balanced' -Z 'Power Save' 'tuned-adm profile powersave'"; "${key_mod}+Return" = "exec ${term}"; "${key_mod}+Shift+q" = "kill"; - "${key_mod}+F4" = "kill"; + "Alt+F4" = "kill"; # Locking and idle "${key_mod}+L" = "exec ${lock}"; @@ -460,6 +461,7 @@ ]; modules-right = [ "tray" + "idle_inhibitor" "network" "pulseaudio" "battery" @@ -477,6 +479,13 @@ icon-size = 24; spacing = 8; }; + "idle_inhibitor" = { + format = "| {icon} "; + format-icons = { + activated = "OuO"; + deactivated = "=w="; + }; + }; "clock" = { interval = 60; tooltip = true; @@ -768,5 +777,6 @@ # this right here offends me https://source.chromium.org/chromium/chromium/src/+/main:base/nix/xdg_util.cc;l=179-180 systemd.user.sessionVariables = { GNOME_DESKTOP_SESSION_ID = "999"; + SHELL_THICCNESS = "LOW"; }; } # end file