Apps: Add Gnome Maps
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
This commit is contained in:

committed by
Willow Barraco

parent
0210047512
commit
e1493cff6a
@@ -73,6 +73,7 @@ write_line_app lf "$icon_dir Lf" "sxmo_terminal.sh lf"
|
||||
write_line_app lollypop "$icon_mus Lollypop" "lollypop"
|
||||
write_line_app luakit "$icon_glb Luakit" "luakit"
|
||||
write_line_app marble "$icon_map Marble" "marble"
|
||||
write_line_app gnome-maps "$icon_map Maps" "gnome-maps"
|
||||
write_line_app micro "$icon_edt Micro" "sxmo_terminal.sh micro"
|
||||
write_line_app midori "$icon_glb Midori" "midori"
|
||||
write_line_app mutt "$icon_eml Mutt" "sxmo_terminal.sh mutt"
|
||||
|
@@ -636,6 +636,19 @@ case "$WMCLASS" in
|
||||
"
|
||||
WINNAME=Lagrange
|
||||
;;
|
||||
org.gnome.maps)
|
||||
CHOICES="
|
||||
$icon_gps Toggle Geoclue ^ 0 ^ superctl status geoclue-agent |grep started >/dev/null && superctl stop geoclue-agent || superctl start geoclue-agent
|
||||
$icon_zmi Zoom in ^ 1 ^ sxmo_type -M ctrl =
|
||||
$icon_zmo Zoom out ^ 1 ^ sxmo_type -M ctrl -k minus
|
||||
$icon_fnd Explore POI ^ 0 ^ sxmo_type -M ctrl -M Shift F
|
||||
$icon_fnd Search ^ 0 ^ sxmo_type -M ctrl f && sxmo_keyboard.sh open
|
||||
$icon_lst Show last results ^ 0 ^ sxmo_type -M ctrl r
|
||||
$icon_map Toggle route planner ^ 0 ^ sxmo_type -M ctrl d
|
||||
$icon_gps Show current location ^ 0 ^ sxmo_type -M ctrl l
|
||||
"
|
||||
WINNAME=Maps
|
||||
;;
|
||||
*mepo*)
|
||||
# Mepo
|
||||
# The choices / hotkeys for the contextmenu are generated through mepo's
|
||||
|
7
configs/services/geoclue-agent.service
Normal file
7
configs/services/geoclue-agent.service
Normal file
@@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Proxy location data to map applications
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
ExecStart=/usr/libexec/geoclue-2.0/demos/agent
|
Reference in New Issue
Block a user