From a10d5569939ce7286462cb60b28b84c6ac18cc54 Mon Sep 17 00:00:00 2001 From: Fernando Ramos Date: Sun, 20 Jun 2021 19:23:01 +0200 Subject: [PATCH] Add pure-maps to app menu (and new map icon to 'sxmo_common.sh') Signed-off-by: Maarten van Gompel --- scripts/core/sxmo_appmenu.sh | 1 + scripts/core/sxmo_common.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/scripts/core/sxmo_appmenu.sh b/scripts/core/sxmo_appmenu.sh index 4b7d1b5..e16ea6b 100755 --- a/scripts/core/sxmo_appmenu.sh +++ b/scripts/core/sxmo_appmenu.sh @@ -100,6 +100,7 @@ programchoicesinit() { $(command -v newsboat >/dev/null && echo "$icon_rss Newsboat ^ 0 ^ sxmo_terminal.sh newsboat") $(command -v nnn >/dev/null && echo "$icon_dir Nnn ^ 0 ^ sxmo_terminal.sh nnn") $(command -v pidgin >/dev/null && echo "$icon_msg Pidgin ^ 0 ^ pidgin") + $(command -v pure-maps >/dev/null && echo "$icon_map Pure-Maps ^ 0 ^ pure-maps") $(command -v profanity >/dev/null && echo "$icon_msg Profanity ^ 0 ^ sxmo_terminal.sh profanity") $(command -v qutebrowser>/dev/null && echo "$icon_glb Qutebrowser ^ 0 ^ qutebrowser") $(command -v ranger >/dev/null && echo "$icon_dir Ranger ^ 0 ^ sxmo_terminal.sh ranger") diff --git a/scripts/core/sxmo_common.sh b/scripts/core/sxmo_common.sh index 9b60a2c..8118c39 100644 --- a/scripts/core/sxmo_common.sh +++ b/scripts/core/sxmo_common.sh @@ -248,6 +248,8 @@ icon_pls="" icon_key="" # shellcheck disable=SC2034 icon_bok="" +# shellcheck disable=SC2034 +icon_map="" #allow the user to override icons if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/icons" ]; then