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
waybar
config 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.sh
userscript for toggling the bar (as the default option doesn't work well with 2 bars)
additional notes
- scripts used by the bar (
modem.sh
andstate.sh
) are based onsxmo_hook_statusbar.sh
script, which is a part of sxmo-utils, which is licensed under the GNU Affero General Public License.