nix/modules/hyprland/scripts/cmus.sh

10 lines
153 B
Bash
Raw Normal View History

2024-08-31 14:33:03 +02:00
#!/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