2 Commits

Author SHA1 Message Date
kenji 1fd59ceb04 add: cava 2025-12-27 21:35:22 -06:00
kenji 66adb9d1d6 optimize: cleaned up redundancies 2025-12-27 21:19:52 -06:00
7 changed files with 67 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
cava
];
}
+1
View File
@@ -45,6 +45,7 @@
"SUPER, W, Open Browser, exec, uwsm app -- firefox" # FIXME: must be xdg-open
"SUPER, SPACE, Open App Launcher, exec, nc -U $XDG_RUNTIME_DIR/walker/walker.sock"
"SUPER, T, Toggle Steam, togglespecialworkspace, steam"
"SUPER, M, Toggle Music, togglespecialworkspace, music"
# [Workspaces] Toggle between most recent workspaces
"SUPER, Tab, Cycle workspaces, workspace, previous"
+2
View File
@@ -24,6 +24,8 @@
"[workspace 1] uwsm app -- xdg-terminal-exec"
"[workspace special:steam silent] uwsm app -- steam"
"[workspace special:music silent] uwsm app -- /usr/bin/env ghostty --class=jellyfin-tui --title=jellyfin-tui -e jellyfin-tui"
"[workspace special:music silent] uwsm app -- /usr/bin/env ghostty --class=cava --title=cava -e cava"
];
};
}
+28
View File
@@ -23,6 +23,34 @@
"workspace special:steam silent, class:^(steam)$"
"noinitialfocus, class:^(steam)$"
"suppressevent activate, class:^(steam)$"
# --- MUSIC RULES (Jellyfin-TUI) ---
"workspace special:music silent, title:^(jellyfin-tui)$"
"workspace special:music silent, initialTitle:^(jellyfin-tui)$"
"noinitialfocus, title:^(jellyfin-tui)$"
"noinitialfocus, initialTitle:^(jellyfin-tui)$"
"suppressevent activate, title:^(jellyfin-tui)$"
"suppressevent activate, initialTitle:^(jellyfin-tui)$"
# --- CAVA RULES ---
"workspace special:music silent, title:^(cava)$"
"workspace special:music silent, initialTitle:^(cava)$"
"noinitialfocus, title:^(cava)$"
"noinitialfocus, initialTitle:^(cava)$"
"suppressevent activate, title:^(cava)$"
"suppressevent activate, initialTitle:^(cava)$"
# --- GAMING RULES ---
# Steam Apps, Gamescope, Lutris, Heroic, and Wine/Proton apps
"fullscreen, class:^steam_app_\d+$"
"monitor 0, class:^steam_app_\d+$"
"workspace 1, class:^steam_app_\d+$"
"fullscreen, class:^(gamescope)$"
"fullscreen, class:^(lutris)$"
"fullscreen, class:^(heroic)$"
"fullscreen, class:^wine-.*$"
"fullscreen, title:^Wine .*$"
];
};
}
+5
View File
@@ -29,3 +29,8 @@ input_path = '~/.config/matugen/templates/firefox'
output_path = '~/.cache/wal/colors.json'
post_hook = 'pywalfox update'
[templates.cava]
input_path = "~/.config/matugen/templates/cava"
output_path = "~/.config/cava/config"
post_hook = "pkill -USR1 cava"
+25
View File
@@ -0,0 +1,25 @@
[general]
framerate = 60
autosens = 1
bars = 0
bar_width = 3
bar_spacing = 1
sleep_timer = 5
[input]
method = pipewire
source = auto
[output]
method = ncurses
style = stereo
[color]
gradient = 1
gradient_count = 6
gradient_color_1 = '{{colors.primary.default.hex}}'
gradient_color_2 = '{{colors.primary_container.default.hex}}'
gradient_color_3 = '{{colors.secondary.default.hex}}'
gradient_color_4 = '{{colors.secondary_container.default.hex}}'
gradient_color_5 = '{{colors.tertiary.default.hex}}'
gradient_color_6 = '{{colors.tertiary_container.default.hex}}'
+1
View File
@@ -1,6 +1,7 @@
{
imports = [
../../apps/jellyfin-tui/home.nix
../../apps/cava/home.nix
../../apps/btop/home.nix
];
}