From e96f291048d83181be5669e3977129b798efd7d5 Mon Sep 17 00:00:00 2001 From: kenji Date: Sat, 27 Dec 2025 22:20:53 -0600 Subject: [PATCH] clean up --- modules/home/music.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/modules/home/music.nix b/modules/home/music.nix index cebe8e2..ebaf5f4 100644 --- a/modules/home/music.nix +++ b/modules/home/music.nix @@ -1,31 +1,20 @@ {pkgs, ...}: let launch-music = pkgs.writeShellScriptBin "hakase-music-launch" '' - # Log output for debugging - LOGfile="/tmp/launch-music.log" - exec > >(tee -a "$LOGfile") 2>&1 - echo "--- Launching Music Apps ---" - date - - # Launch Jellyfin echo "Launching jellyfin-tui..." uwsm app -- /usr/bin/env ghostty --class=jellyfin-tui --title=jellyfin-tui -e jellyfin-tui & PID_JELLY=$! echo "Jellyfin launched with PID $PID_JELLY" - # Wait for window to appear echo "Waiting for window..." sleep 0.1 - # Focus echo "Focusing jellyfin-tui..." hyprctl dispatch focuswindow title:jellyfin-tui - # Preselect Down echo "Preselecting down..." hyprctl dispatch layoutmsg preselect d - # Launch Cava echo "Launching cava..." uwsm app -- /usr/bin/env ghostty --class=cava --title=cava -e cava & PID_CAVA=$!