From 1048f2ca60f15c510d4f45bfa69d6bd65f633e63 Mon Sep 17 00:00:00 2001 From: joygnu Date: Mon, 1 Jul 2024 11:16:47 +0200 Subject: [PATCH] cmus bind --- home/hyprland/cmus.sh | 7 +++++++ home/hyprland/default.nix | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 home/hyprland/cmus.sh 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" ];