Walker
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
|
||||
# Ensure elephant is running before launching walker
|
||||
if ! pgrep -x elephant > /dev/null; then
|
||||
setsid uwsm-app -- elephant &
|
||||
setsid uwsm-app -- elephant > /dev/null 2>&1 &
|
||||
fi
|
||||
|
||||
# Ensure walker service is running
|
||||
if ! pgrep -f "walker --gapplication-service" > /dev/null; then
|
||||
setsid uwsm-app -- walker --gapplication-service &
|
||||
setsid uwsm-app -- walker --gapplication-service > /dev/null 2>&1 &
|
||||
fi
|
||||
|
||||
exec walker --width 644 --maxheight 300 --minheight 300 "$@"
|
||||
|
||||
@@ -236,6 +236,7 @@ show_system_menu() {
|
||||
local options=" Screensaver\n Lock\n Suspend"
|
||||
station-hibernation-available && options="$options\n Hibernate"
|
||||
options="$options\n Logout\n Restart\n Shutdown"
|
||||
echo $options
|
||||
|
||||
case $(menu "System" "$options") in
|
||||
*Screensaver*) station-launch-screensaver force ;;
|
||||
@@ -257,6 +258,7 @@ go_to_menu() {
|
||||
case "${1,,}" in
|
||||
*apps*) walker -p "Launch…" ;;
|
||||
*trigger*) show_trigger_menu ;;
|
||||
*share*) show_share_menu ;;
|
||||
*background*) show_background_menu ;;
|
||||
*setup*) show_setup_menu ;;
|
||||
*update*) show_update_menu ;;
|
||||
|
||||
Reference in New Issue
Block a user