-
-
Notifications
You must be signed in to change notification settings - Fork 344
FAQ_Waybar
Tip
Rename your waybar configs and styles that you have costumized so it wont be overwritten during upgrade
-
Every waybar layouts are unique. You need to add manually or reorganize the waybar modules according to your preference.
-
Make sure that once you do the changes, to rename the configs and styles. So you can easily copy over whenever there is an update.
-
waybar font too big or too small. Edit the font-size in waybar styles located in ~/.config/waybar/styles/ . By default, it is set to 97%. After adjusting the GTK font scaling to your liking, edit all the waybar styles. Reduce or increase according to your needs. NOTE that its on percent %. You can also change to px whichever suits you. Note: This corresponds well with nwg-look (GTK Settings). So suggest to adjust first your font settings using nwg-look. And then adjust the waybar.
-
if you want 12h format instead of 24H format, edit the ~/.config/waybar/Modules look for clock. for 12h format, should be like %I:%M%P; for 24H format, %H:%M:%S.. ensure to disable one format by adding // before that line. For clock formatting, you can use website: https://help.gnome.org/users/gthumb/stable/gthumb-date-formats.html.en
-
NOTE!!! some waybars layouts have a separate modules baked into their respective configs (ie Peony, Chrysanthemum, Camelia, etc) and does not get all modules from main waybar modules file. Edit each configs accordingly to your liking (~/.config/waybar/configs)
-
Regarding the waybar keyboard module, If you want to add in different waybar layout, the module name is custom/keyboard. Kindly NOTE that this will read your kb_layout in your Settings.conf. to change kb_layout, add in your Settings.conf .... i.e. kb_layout=us,es,ru and then refresh waybar (SUPER ALT R), then you can change keyboard by left clicking the keyboard module.
-
unwanted waybar module:
-
Simplest is to edit
~/.config/waybar/modules. Put // before or delete that module. -
Or you dont really need to worry about since the modules not defined on waybar configs are not loaded.
-
So best and recommended to is to edit both the configs and styles that you prefer on configs and styles directory in
~/.config/waybar. Then simply load it. -
See HERE for customizing your waybar
[!NOTE] DO NOT edit directly the files
~/.config/waybar/configand~/.config/waybar/style.cssThese two files are only symlinks to files in~/.config/waybar/configs/and~/.config/waybar/styles/
- plenty waybar hyprland/workspaces to choose from. Circle, Roman Number, Kanji pacman, and workspace number and icons. Assign accordingly on waybar configs of choice as per above. Check
~/.config/waybar/modulesfor their modules names . i.e.hyprland/workspaces#kanji
- By default, Weather.py is in use for weather module in waybar and so as data for hyprlock (lockscreen).
- To change between Weather.sh and Weather.py, edit
~/.config/waybar/ModulesCustomlocatecustom/weatherline 15. Remove // on//"exec": "~/.config/hypr/UserScripts/Weather.sh",and put // on line"exec": "~/.config/hypr/UserScripts/Weather.py",. If you have chosen Weather.sh, make sure to remove as well the// on exec-if: ping wttr.in. ThenSUPER ALT Rto refresh waybar - Weather.sh - edit
~/.config/hypr/UserScripts/Weather.shto add your city. Make sure a major city in your Area. Delete rbn directory in~/.cache/rbnand refresh waybar, SUPER ALT R - Starting from v2.3.12, the python based Weather script (
~/.config/hypr/UserScripts/Weather.py) will be a default and it picks up your location (latitude and longitude automatically. If you want to tweak more, you can edit~/.config/hypr/UserScripts/Weather.pyExplanation on the file
-
CTRL ALT w wallpaper shuffle (right click on wallpaper waybar module)
-
Super w wallpaper select (click on wallpaper waybar module) add more wallpaper in ~/Pictures/wallpapers
- right click on update waybar module wallpaper cycle using swww
- for the wallpaper styles and configurations, you can watch my video about it https://youtu.be/6ZGzOjMJBe4
- scripts for wallpaper stuff are located in ~/.config/hypr/UserScripts file names
WallpaperAutoChange.shWallpaperSelect.shWallpaperRandom.shWallpaperEffects.sh - if your wallpapers are on a different path, edit the scripts above.

- This is because LANG on locale was not set. You can set your system locale
- edit
/etc/locale.confand add
LANG=en_US.UTF-8
alternatively, run:
sudo localectl set-locale LANG=en_US.UTF-8
- set the
LANG=en_US.UTF-8according to your locale. See thisArch Wiki. Note this wiki is applicable for any systemd distros
- this one is mostly ask.
LINK

- to change from deg C to deg F , edit the ~/.config/waybar/Modules look for "temperature". Change the format to "format": "{temperatureF}°F {icon}",
- to fix the temperature if not showing correctly, edit the hwmon-path accordingly and/or thermal_zone in
~/.config/waybar/Modules - To list all the zone types, run
for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done- If you don't have a thermal zone, another option is to use
sensorsto find preferred temperature source, then run
for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done - look for
K10tempfor AMD CPU andcoretempfor Intel CPU's hen include it inhwmon-pathvariable.