From 372fdc195e65f34de496ddceb3dd2b712809865f Mon Sep 17 00:00:00 2001 From: fqbn207 Date: Tue, 7 Jan 2025 21:45:39 +0100 Subject: [PATCH] kekl --- configuration.nix | 1 + modules/nix/sway/sway.nix | 2 +- modules/nix/tmux.nix | 11 ++++++----- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/configuration.nix b/configuration.nix index c276c48..8c36f31 100644 --- a/configuration.nix +++ b/configuration.nix @@ -233,6 +233,7 @@ in gnuradio cubicsdr gqrx + multimon-ng # misc cava diff --git a/modules/nix/sway/sway.nix b/modules/nix/sway/sway.nix index 0f88674..acc20a7 100644 --- a/modules/nix/sway/sway.nix +++ b/modules/nix/sway/sway.nix @@ -39,7 +39,7 @@ "${modifier}+space" = "exec ${menu}"; "${modifier}+Q" = "kill"; "${modifier}+Shift+R" = "reload"; - "${modifier}+Shift+S" = "grim -g '$(slurp)'"; + "${modifier}+Shift+S" = "${pkgs.shotman}/bin/shotman --capture region"; # WINDOW STUFF # "${modifier}+Shift+space" = "floating toggle"; "${modifier}+Shift+F" = "fullscreen toggle"; diff --git a/modules/nix/tmux.nix b/modules/nix/tmux.nix index cecbcc1..8752fc1 100644 --- a/modules/nix/tmux.nix +++ b/modules/nix/tmux.nix @@ -19,6 +19,7 @@ bind - split-window -v unbind '"' unbind % + bind t new-window bind -n M-q previous-window bind -n M-e next-window @@ -28,12 +29,12 @@ bind -n M-Up select-pane -U bind -n M-Down select-pane -D + set-option -s status-interval 1 set -g status-right-length 100 - - set -g @net_speed_interfaces "wg0-mullvad enp2s0f0u1" - set -g @download_speed_format "%3s" - set -g @upload_speed_format "%3s" - set -g @net_speed_format "D:%3s U:%3s" + set -g @net_speed_interfaces "wg0-mullvad" + set -g @download_speed_format "%1s" + set -g @upload_speed_format "%1s" + set -g @net_speed_format "D:%1s U:%1s" set -g status-right '#{battery_icon} #{battery_percentage} [󰈀 #{net_speed}] [ #{cpu_percentage}] [ %H:%M] '