From 44d4f1a6a876da5e9c98e03a7130aa32ff54f055 Mon Sep 17 00:00:00 2001 From: joy 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" ];