diff --git a/configs/default_hooks/sxmo_hook_icons.sh b/configs/default_hooks/sxmo_hook_icons.sh index 102e296..d19d4d5 100755 --- a/configs/default_hooks/sxmo_hook_icons.sh +++ b/configs/default_hooks/sxmo_hook_icons.sh @@ -191,3 +191,9 @@ icon_bat_0="󰂎" icon_bat_1="󱊡" icon_bat_2="󱊢" icon_bat_3="󱊣" + +# sxmo state indicators +icon_state_proximity="" +icon_state_screenoff="" +icon_state_lock="" +icon_state_unlock="" diff --git a/configs/default_hooks/sxmo_hook_statusbar.sh b/configs/default_hooks/sxmo_hook_statusbar.sh index 233ebc4..a9a4ffd 100755 --- a/configs/default_hooks/sxmo_hook_statusbar.sh +++ b/configs/default_hooks/sxmo_hook_statusbar.sh @@ -30,16 +30,16 @@ set_state() { STATE_LABEL="$(cat "$SXMO_STATE")" case "$STATE_LABEL" in proximity*) - sxmobar -a -e bold -f orange state 90 "$icon_dop" # circle with dot + sxmobar -a -e bold -f orange state 90 "$icon_state_proximity" # circle with dot ;; screenoff) - sxmobar -a -e bold -f red state 90 "$icon_don" # filled circle + sxmobar -a -e bold -f red state 90 "$icon_state_screenoff" # filled circle ;; lock) - sxmobar -a -e bold -f red state 90 "$icon_dof" # open circle + sxmobar -a -e bold -f red state 90 "$icon_state_lock" # open circle with slash ;; unlock) - sxmobar -a -e bold state 90 "$icon_dof" # open circle + sxmobar -a -e bold state 90 "$icon_state_unlock" # open circle ;; esac }