waybar config for sxmo, made for notched devices
| img | ||
| userscripts | ||
| waybar | ||
| README.md | ||
waybar config for sxmo
screenshot with overlay
the default swaybar configuration for sxmo doesn't seem to work very well with notched devices (like my poco f1), either being obstructed by the cutout, or leaving the top part of the screen unused.
this waybar config contains two bars:
- one that is behind the notch
- one that acts like the default swaybar
usage
- put the
waybarconfig in your~/.config/sxmo/directory - disable the built in bar, add a line for executing waybar
exec "waybar -s ~/.config/sxmo/waybar/style.css -c ~/.config/sxmo/waybar/config.jsonc"
- (optional, recommended) modify the statusbar hook to hide the duplicated modem, battery, state, and clock modules
- (optional) add the
toggle_waybar.shuserscript for toggling the bar (as the default option doesn't work well with 2 bars)
additional notes
- scripts used by the bar (
modem.shandstate.sh) are based onsxmo_hook_statusbar.shscript, which is a part of sxmo-utils, which is licensed under the GNU Affero General Public License.
