This commit is contained in:
joy 2024-10-09 21:32:06 +02:00
parent 72e45f5fdf
commit eca2da79b4
3 changed files with 9 additions and 7 deletions

View file

@ -6,7 +6,7 @@
''; '';
theme = { theme = {
name = "gruvbox"; name = "gruvbox";
text = '' content = ''
# colors from gruvbox: https://github.com/morhetz/gruvbox # colors from gruvbox: https://github.com/morhetz/gruvbox
# default text color # default text color
set color_win_fg=default set color_win_fg=default

View file

@ -22,7 +22,7 @@
sent sent
texliveFull texliveFull
alejandra alejandra
screen tmux
tree tree
zip zip
unzip unzip

View file

@ -1,9 +1,11 @@
#!/bin/sh #!/bin/sh
if screen -list | grep -q '\.cmus'; then # Check if a tmux session named 'cmus' exists
alacritty -e screen -r cmus if tmux has-session -t cmus 2>/dev/null; then
# Attach to the existing tmux session
alacritty -e tmux attach-session -t cmus
else else
screen -dmS cmus cmus & # Create a new tmux session named 'cmus' and run cmus
alacritty -e screen -r cmus tmux new-session -d -s cmus cmus
alacritty -e tmux attach-session -t cmus
fi fi