Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

FAQ_Waybar

Ja.KooLit edited this pageApr 26, 2025 ·4 revisions

🎗️ WAYBAR or BAR related FAQ

Tip

Rename your waybar configs and styles that you have costumized so it wont be overwritten during upgrade

♨️ Waybar modules are missing on some waybar layouts.

  • 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/

➰ waybar customizations (Hyprland Workspaces)

  • 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

🏖️ Weather app related for Waybar and Hyprlock

  • 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

🖼️ wallpaper / styling stuff

  • 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 namesWallpaperAutoChange.shWallpaperSelect.shWallpaperRandom.shWallpaperEffects.sh
  • if your wallpapers are on a different path, edit the scripts above.

🔣 waybar-cava broken

  • 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 theLANG=en_US.UTF-8 according to your locale. See thisArch Wiki . Note this wiki is applicable for any systemd distros

🫢 waybar idle-inhibitor

  • this one is mostly ask.LINK

♨ Waybar CPU Showing Wrong Temperature

  • 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 usesensors 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 forK10temp for AMD CPU andcoretemp for Intel CPU's hen include it inhwmon-path variable.
Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp