Add proximity lock toggle on the config menu
Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
f4ee396394
commit
6426a94e46
4 changed files with 40 additions and 4 deletions
|
@ -136,6 +136,10 @@ programchoicesinit() {
|
|||
pgrep -f "$(command -v sxmo_rotateautotoggle.sh)" > /dev/null &&
|
||||
printf %b "On → Off ^ 0 ^ sxmo_rotateautotoggle.sh &" || printf %b "Off → On ^ 0 ^ sxmo_rotateautotoggle.sh &"
|
||||
)
|
||||
$icon_lck Proximity Lock $(
|
||||
pgrep -f "$(command -v sxmo_proximitylock.sh)" > /dev/null &&
|
||||
printf %b "On → Off ^ 0 ^ sxmo_proximitylocktoggle.sh &" || printf %b "Off → On ^ 0 ^ sxmo_proximitylocktoggle.sh &"
|
||||
)
|
||||
$icon_ror Rotate ^ 1 ^ sxmo_rotate.sh rotate
|
||||
$icon_upc Upgrade Pkgs ^ 0 ^ st -e sxmo_upgrade.sh
|
||||
$icon_cfg Edit configuration ^ 0 ^ st -e $EDITOR $XDG_CONFIG_HOME/sxmo/xinit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue