hyprland: add (lots) more args to btm bind

Also add SHIFT bind for btm -b (basic) using the same set of args otherwise
This commit is contained in:
Evie Litherland-Smith 2024-02-16 10:19:47 +00:00
parent 71993086fe
commit 6a8967cd14

View file

@ -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 %"