added flatpak spotify

This commit is contained in:
aj 2019-07-08 21:38:28 +01:00
parent 9bc76cf685
commit dec02109ad
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
SPOTPID="$(pgrep -x spotify)"
if [[ -z $SPOTPID ]]; then
spotify & > /dev/null
flatpak run com.spotify.Client & > /dev/null
else
i3-msg workspace "100:spotify"
fi

View File

@ -1,6 +1,7 @@
#!/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 ;;
shutdown) poweroff ;;
restart) reboot ;;