change scripts
This commit is contained in:
parent
f495552350
commit
b0d9ad14c3
|
@ -1,3 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
mpv --no-video https://www.youtube.com/live/jfKfPfyJRdk?si=OF0HKrYFFj33BzMo
|
if (ps aux | grep Skype | grep -v grep > /dev/null)
|
||||||
|
pkill mpv
|
||||||
|
else
|
||||||
|
mpv --no-video https://www.youtube.com/live/jfKfPfyJRdk?si=OF0HKrYFFj33BzMo
|
||||||
|
fi
|
|
@ -1,12 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [[ $# == 0 ]]; then
|
if (ps aux | grep Skype | grep -v grep > /dev/null)
|
||||||
|
pkill audacious
|
||||||
|
else
|
||||||
hyprctl dispatch exec "[workspace 8 silent] audacious -t"
|
hyprctl dispatch exec "[workspace 8 silent] audacious -t"
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
audtool playlist-repeat-status |grep "on" || audtool playlist-repeat-toggle
|
audtool playlist-repeat-status |grep "on" || audtool playlist-repeat-toggle
|
||||||
audtool playlist-shuffle-status|grep "on" || audtool playlist-shuffle-toggle
|
audtool playlist-shuffle-status|grep "on" || audtool playlist-shuffle-toggle
|
||||||
elif [[ $1 == -s ]]; then
|
|
||||||
pkill audacious
|
|
||||||
else
|
|
||||||
echo "[ERROR] => Wrong argument..."
|
|
||||||
fi
|
fi
|
Loading…
Reference in a new issue