waybar disk usage icon now actually works, grimblast plays a neat sound effect now, super + e now opens nemo in a floating window instead of a tiled window
This commit is contained in:
@@ -205,7 +205,7 @@ in {
|
||||
"super, q, exec, kitty --title Kitty"
|
||||
"super shift, q, exec, [float;size 40% 30%;move onscreen cursor -50% -50%] kitty --title Kitty"
|
||||
"super, c, killactive,"
|
||||
"super, e, exec, nemo"
|
||||
"super, e, exec, [float;size 40% 50%;move onscreen cursor -50% -50%] nemo"
|
||||
"super, p, exec, [float;size 40% 25%;move onscreen cursor] [ ! -f /tmp/keyringfile ] && kitty toolbelt"
|
||||
"super shift, m, exit,"
|
||||
"super, m, exec, fuzzel"
|
||||
|
||||
@@ -54,6 +54,9 @@ let
|
||||
color7 = scheme.base0F;
|
||||
};
|
||||
monitors = config.movOpts.envConfig.hyprlandConfig.monitorNames;
|
||||
circle-gauge = [ "" "" "" "" "" "" "" "" "" ];
|
||||
cava-gauge = [ "▁" "▂" "▃" "▄" "▅" "▆" "▇" "█" ];
|
||||
battery-gauge = [ "" "" "" "" "" "" "" "" "" ];
|
||||
in {
|
||||
options = {
|
||||
movOpts.envConfig.waybarConfig.enable =
|
||||
@@ -100,7 +103,7 @@ in {
|
||||
waves = false;
|
||||
noise_reduction = 0.77;
|
||||
input_delay = 1;
|
||||
format-icons = [ "▁" "▂" "▃" "▄" "▅" "▆" "▇" "█" ];
|
||||
format-icons = cava-gauge;
|
||||
};
|
||||
|
||||
"group/hardware" = {
|
||||
@@ -127,7 +130,7 @@ in {
|
||||
nix_percent = $5
|
||||
}
|
||||
END {
|
||||
printf "{\"class\": \"disk-icon\", \"tooltip\": \"/home: %s / %s\\n/nix: %s / %s\", \"percentage\": \"%s\"}\n",
|
||||
printf "{\"class\": \"disk-icon\", \"tooltip\": \"/home: %s / %s\\n/nix: %s / %s\", \"percentage\": %s}\n",
|
||||
format(home_usage), format(home_total), format(nix_usage), format(nix_total), home_percent
|
||||
}' | jq --unbuffered --compact-output
|
||||
'';
|
||||
@@ -135,14 +138,14 @@ in {
|
||||
return-type = "json";
|
||||
rotate = 270;
|
||||
format = "{icon}";
|
||||
format-icons = [ "" "" "" "" "" "" "" "" "" ];
|
||||
format-icons = circle-gauge;
|
||||
};
|
||||
|
||||
memory = {
|
||||
interval = 1;
|
||||
rotate = 270;
|
||||
format = "{icon}";
|
||||
format-icons = [ "" "" "" "" "" "" "" "" "" ];
|
||||
format-icons = circle-gauge;
|
||||
max-length = 10;
|
||||
tooltip-format = "RAM: {used:0.1f} GB / {total:0.1f} GB";
|
||||
};
|
||||
@@ -151,7 +154,7 @@ in {
|
||||
interval = 1;
|
||||
rotate = 270;
|
||||
format = "{icon}";
|
||||
format-icons = [ "" "" "" "" "" "" "" "" "" ];
|
||||
format-icons = circle-gauge;
|
||||
tooltip-format = "CPU: {usage:0.1f}%";
|
||||
};
|
||||
|
||||
@@ -251,7 +254,7 @@ in {
|
||||
{capacity}%
|
||||
Til full: {time}'';
|
||||
format = "{icon}";
|
||||
format-icons = [ "" "" "" "" "" "" "" "" "" ];
|
||||
format-icons = battery-gauge;
|
||||
format-charging = "";
|
||||
};
|
||||
|
||||
|
||||
@@ -82,6 +82,10 @@
|
||||
runbg aplay "$1"
|
||||
fi
|
||||
}
|
||||
grimblast() {
|
||||
command grimblast "$@"
|
||||
playshellsound ${self}/assets/sound/screenshot.wav
|
||||
}
|
||||
ssh() { # reverts ssh theme upon returning
|
||||
command ssh "$@"
|
||||
kitty_ssh_theme
|
||||
|
||||
Reference in New Issue
Block a user