nix/modules/hypr/hyprland/scripts/cmus.sh

10 lines
153 B
Bash
Raw Normal View History

2024-08-31 16:04:57 +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