added flatpak spotify
This commit is contained in:
parent
9bc76cf685
commit
dec02109ad
@ -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
|
||||
|
@ -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 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user