cmus script
This commit is contained in:
parent
33c81dfd95
commit
3fd57a2337
9
home/hyprland/cmus.sh
Executable file
9
home/hyprland/cmus.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/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
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
"ags -c ~/nix/home/ags/bar/config.js &"
|
"ags -c ~/nix/home/ags/bar/config.js &"
|
||||||
"wl-paste --type text --watch cliphist store"
|
"wl-paste --type text --watch cliphist store"
|
||||||
"wl-paste --type image --watch cliphist store"
|
"wl-paste --type image --watch cliphist store"
|
||||||
"screen -dmS cmus cmus &"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
@ -70,7 +69,7 @@
|
||||||
"$mod, G, exec, sh ~/nix/home/hyprland/gamemode.sh"
|
"$mod, G, exec, sh ~/nix/home/hyprland/gamemode.sh"
|
||||||
|
|
||||||
# cmus
|
# cmus
|
||||||
"$mod, D, exec, alacritty -e screen -r cmus"
|
"$mod, D, exec, sh ~/nix/home/hyprland/cmus.sh"
|
||||||
"$mod, P, exec, cmus-remote --pause"
|
"$mod, P, exec, cmus-remote --pause"
|
||||||
"$mod, comma, exec, cmus-remote --prev"
|
"$mod, comma, exec, cmus-remote --prev"
|
||||||
"$mod, period, exec, cmus-remote --next"
|
"$mod, period, exec, cmus-remote --next"
|
||||||
|
|
Loading…
Reference in a new issue