Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork248
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.SeeHERE for customizing your waybar
[!NOTE]DO NOT edit directly the files
~/.config/waybar/config
and~/.config/waybar/style.css
These 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/modules
for 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/ModulesCustom
locatecustom/weather
line 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 R
to refresh waybar - Weather.sh - edit
~/.config/hypr/UserScripts/Weather.sh
to add your city. Make sure a major city in your Area. Delete rbn directory in~/.cache/rbn
and 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.py
Explanation on the file
CTRL ALT wwallpaper shuffle (right click on wallpaper waybar module)
Super wwallpaper select (click on wallpaper waybar module) add more wallpaper in ~/Pictures/wallpapers
- right click on update waybar modulewallpaper cycle using swww
- for the wallpaper styles and configurations, you can watch my video about ithttps://youtu.be/6ZGzOjMJBe4
- scripts for wallpaper stuff are located in~/.config/hypr/UserScripts file names
WallpaperAutoChange.sh
WallpaperSelect.sh
WallpaperRandom.sh
WallpaperEffects.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.conf
and add
LANG=en_US.UTF-8
alternatively, run:
sudo localectl set-locale LANG=en_US.UTF-8
- set the
LANG=en_US.UTF-8
according 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
foriin /sys/class/thermal/thermal_zone*;doecho"$i:$(<$i/type)";done
- If you don't have a thermal zone, another option is to use
sensors
to find preferred temperature source, then run
foriin /sys/class/hwmon/hwmon*/temp*_input;doecho"$(<$(dirname$i)/name):$(cat${i%_*}_label2>/dev/null||echo$(basename${i%_*}))$(readlink -f$i)";done
- look for
K10temp
for AMD CPU andcoretemp
for Intel CPU's hen include it inhwmon-path
variable.