nix/modules/hyprland/hyprland/scripts/cmus.sh
2024-08-31 17:07:33 +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