added flatpak spotify
This commit is contained in:
parent
9bc76cf685
commit
dec02109ad
@ -3,7 +3,7 @@
|
|||||||
SPOTPID="$(pgrep -x spotify)"
|
SPOTPID="$(pgrep -x spotify)"
|
||||||
|
|
||||||
if [[ -z $SPOTPID ]]; then
|
if [[ -z $SPOTPID ]]; then
|
||||||
spotify & > /dev/null
|
flatpak run com.spotify.Client & > /dev/null
|
||||||
else
|
else
|
||||||
i3-msg workspace "100:spotify"
|
i3-msg workspace "100:spotify"
|
||||||
fi
|
fi
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
case $(printf "logout\\nshutdown\\nrestart" | rofi -dmenu -i -p 'power') in
|
case $(printf "lock\\nlogout\\nshutdown\\nrestart" | rofi -dmenu -i -p 'power') in
|
||||||
|
lock) i3exit lock ;;
|
||||||
logout) mate-session-save --logout ;;
|
logout) mate-session-save --logout ;;
|
||||||
shutdown) poweroff ;;
|
shutdown) poweroff ;;
|
||||||
restart) reboot ;;
|
restart) reboot ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user