diff --git a/home/hyprland/cmus.sh b/home/hyprland/cmus.sh new file mode 100755 index 0000000..5f6d647 --- /dev/null +++ b/home/hyprland/cmus.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +# Start cmus in a screen session named 'cmus_session' +screen -S cmus_session -dm cmus + +echo "cmus started in screen session 'cmus_session'. Use 'screen -r cmus_session' to attach." + diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 37f27fb..7215108 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -39,7 +39,7 @@ "waybar &" "wl-paste --type text --watch cliphist store" "wl-paste --type image --watch cliphist store" - "cmus-remote -s" + "sh cmus.sh" ];