ჩვენ.us

blog

longer thoughts and things to share



sxmo tips & tricks

useful links:


Pinetab keyboard's touchpad:

In ~/.config/sxmo/sway add this section:

#Pinetab keyboard touchpad

input "9610:30:HAILUCK_CO.,LTD_USB_KEYBOARD_Touchpad" {
    dwt enabled         # disable touchpad while typing
    tap enabled         # enable tap to click
    natural_scroll enabled  # enable natural scrolling
    middle_emulation enabled    # enable middle click by tapping 2 fingers
}

save volume levels on logout/shutdown and restore on start

Create/edit ~/.config/sxmo/hooks/start and add:

1
2
3
#!/usr/bin/env sh

exec alsactl --file ~/.config/sxmo/asound.state restore

and create/edit ~/.config/sxmo/hooks/stop and add:

1
2
3
#!/usr/bin/env sh

exec alsactl --file ~/.config/sxmo/asound.state store