nix/home/hyprland/cmus.sh
2024-07-16 00:06:38 +02:00

10 lines
153 B
Bash
Executable file

#!/bin/sh
if screen -list | grep -q '\.cmus'; then
alacritty -e screen -r cmus
else
screen -dmS cmus cmus &
alacritty -e screen -r cmus
fi