add scripts
This commit is contained in:
parent
86dc2906a1
commit
36a6471eca
|
@ -59,7 +59,9 @@
|
||||||
'';
|
'';
|
||||||
music = pkgs.writeShellScriptBin "music" ''
|
music = pkgs.writeShellScriptBin "music" ''
|
||||||
if [[ $# == 0 ]]; then
|
if [[ $# == 0 ]]; then
|
||||||
runbg audacious -t
|
hyprctl dispatch exec "[workspace 8 silent] audacious -t"
|
||||||
|
audtool playlist-repeat-status |grep "on" || audtool playlist-repeat-toggle
|
||||||
|
audtool playlist-shuffle-status|grep "on" || audtool playlist-shuffle-toggle
|
||||||
elif [[ $1 == -s ]]; then
|
elif [[ $1 == -s ]]; then
|
||||||
pkill audacious
|
pkill audacious
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue