I am using hyprland on an older, very small portable laptop. Dell Lattitude E5270. The 1366x768 resolution display does not work well with the default waybar configuration. Many of the icons are pushed off the screen on the right hand side.
In case anyone else has this issue, here’s how I resolved it.
I edited the ~/.config/waybar/config file (BACKUP first)
// Choose the order of the modules
"modules-left": ["custom/launcher", "hyprland/workspaces", "hyprland/window"],
"modules-right": [ "custom/pacman", "custom/weather","backlight", "custom/keyboard-layout", "temperature", "cpu", "memory", "battery", "pulseaudio", "network", "tray", "idle_inhibitor", "clock","custom/power"],
I commented out the “modules-left” and changed "modules-right" t to “modules-center*” I also removed a couple of items to make it fit better.
// Choose the order of the modules
// "modules-left": ["custom/launcher", "hyprland/workspaces", "hyprland/window"],
"modules-center": [ "custom/launcher", "hyprland/workspaces","backlight", "temperature", "cpu", "memory", "battery", "pulseaudio", "network", "tray", "idle_inhibitor", "clock","custom/power"],
Regards,
Don