From 6a8967cd14aad8a97be32ae1d4f13172ec934a6d Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 16 Feb 2024 10:19:47 +0000 Subject: [PATCH] hyprland: add (lots) more args to btm bind Also add SHIFT bind for btm -b (basic) using the same set of args otherwise --- home/hyprland/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index fe238172..66350606 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -231,7 +231,9 @@ with config.programs; with lib.lists; flatten (forEach (range 1 9) workspace) - ++ [ + ++ (let + btm_args = "--autohide_time --battery --celsius --enable_cache_memory --enable_gpu_memory --group --hide_avg_cpu --hide_table_gap --retention=3m --show_table_scroll_position"; + in [ # See https://wiki.hyprland.org/Configuring/Keywords/ for more "SUPER, F1, exec, ${swaylock.package}/bin/swaylock --screenshots --clock --indicator --grace-no-mouse" "SUPER, Q, killactive," @@ -250,7 +252,8 @@ "SUPER, Space, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show combi" "SUPER, Return, exec, ${alacritty.package}/bin/alacritty" "SUPER SHIFT, Return, exec, ${emacs.finalPackage}/bin/emacsclient -c" - "SUPER, S, exec, ${alacritty.package}/bin/alacritty -e btm --group --battery" + "SUPER, S, exec, ${alacritty.package}/bin/alacritty -e btm ${btm_args}" + "SUPER SHIFT, S, exec, ${alacritty.package}/bin/alacritty -e btm --basic ${btm_args}" "SUPER, W, exec, ${pkgs.nyxt}/bin/nyxt --no-socket" # Misc useful binds @@ -281,7 +284,7 @@ "SUPER, bracketleft, focusmonitor, -1" "SUPER SHIFT, bracketleft, movecurrentworkspacetomonitor, -1" "SUPER, O, focusurgentorlast" - ]; + ]); bindl = with config.services; [ # Sound ",XF86AudioMute,exec,${avizo.package}/bin/volumectl %"