Apps: Add Amberol
if XDG_MUSIC_DIR is configured, it will be opened on launch playerctl is required for mpris controls in the menu Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
This commit is contained in:

committed by
Willow Barraco

parent
3a70be4fd7
commit
700bee1659
@@ -22,7 +22,7 @@ write_line_app() {
|
||||
|
||||
write_line_app jami-qt "$icon_msg Jami" "jami-qt"
|
||||
write_line_app aerc "$icon_eml Aerc" "sxmo_terminal.sh aerc"
|
||||
write_line_app geary "$icon_eml Geary" "geary"
|
||||
write_line_app amberol "$icon_mus Amberol" "amberol $XDG_MUSIC_DIR"
|
||||
write_line_app amfora "$icon_glb Amfora" "sxmo_terminal.sh amfora"
|
||||
write_line_app alpine "$icon_eml Alpine" "sxmo_terminal.sh alpine"
|
||||
write_line_app anbox-launch "$icon_and Anbox" "anbox"
|
||||
@@ -46,6 +46,7 @@ write_line_app foliate "$icon_bok Foliate" "foliate"
|
||||
write_line "$icon_trm Foot" "foot $SHELL"
|
||||
write_line_app foxtrotgps "$icon_gps Foxtrotgps" "foxtrotgps"
|
||||
write_line_app geany "$icon_eml Geany" "geany"
|
||||
write_line_app geary "$icon_eml Geary" "geary"
|
||||
write_line_app gedit "$icon_edt Gedit" "gedit"
|
||||
write_line_app geeqie "$icon_img Geeqie" "geeqie"
|
||||
write_line_app geopard "$icon_glb Geopard" "geopard"
|
||||
|
@@ -136,6 +136,14 @@ case "$WMCLASS" in
|
||||
"
|
||||
WINNAME=Mpv
|
||||
;;
|
||||
io.bassi.amberol)
|
||||
CHOICES="
|
||||
$icon_pau Play/Pause ^ 0 ^ playerctl play-pause
|
||||
$icon_prv Previous Track ^ 1 ^ playerctl previous
|
||||
$icon_nxt Next Track ^ 1 ^ playerctl next
|
||||
"
|
||||
WINNAME=Amberol
|
||||
;;
|
||||
*feh*)
|
||||
# Feh
|
||||
CHOICES="
|
||||
|
Reference in New Issue
Block a user