Files
dotfiles/.config/waybar/config.jsonc

108 lines
2.4 KiB
JSON

{
/*------------------------------------------------------------
regression: wildcard includes are broken after v0.14.0
- https://github.com/Alexays/Waybar/issues/4354
- https://github.com/sejjy/mechabar/issues/31
------------------------------------------------------------*/
/*
"include": [
"~/.config/waybar/modules/*.jsonc",
"~/.config/waybar/modules/custom/*.jsonc",
"~/.config/waybar/modules/hyprland/*.jsonc"
// modules that are not included by default:
// "~/.config/waybar/modules/extras/*.jsonc"
],
*/
"include": [
// modules-left
// "~/.config/waybar/modules/custom/user.jsonc",
"~/.config/waybar/modules/hyprland/workspaces.jsonc",
"~/.config/waybar/modules/hyprland/window.jsonc",
// modules-center
"~/.config/waybar/modules/memory.jsonc",
"~/.config/waybar/modules/cpu.jsonc",
"~/.config/waybar/modules/custom/distro.jsonc",
"~/.config/waybar/modules/clock.jsonc",
"~/.config/waybar/modules/network.jsonc",
"~/.config/waybar/modules/bluetooth.jsonc",
// modules-right
"~/.config/waybar/modules/mpris.jsonc",
"~/.config/waybar/modules/pulseaudio.jsonc",
"~/.config/waybar/modules/backlight.jsonc",
"~/.config/waybar/modules/battery.jsonc",
"~/.config/waybar/modules/custom/power_menu.jsonc",
"~/.config/waybar/modules/custom/dividers.jsonc"
],
"hyprland/language": {
"format-": "ru",
"format-en": "en",
"format-us": "en",
},
/*------------
layout
------------*/
"modules-left": [
// "group/user",
"custom/left_div#1",
"hyprland/workspaces",
"custom/right_div#1",
"hyprland/window"
],
"modules-center": [
// "hyprland/windowcount",
"custom/left_div#2",
// "temperature",
"custom/left_div#3",
"memory",
"custom/left_div#4",
"cpu",
"custom/left_inv#1",
"custom/left_div#5",
"custom/distro",
"custom/right_div#2",
"custom/right_inv#1",
// "idle_inhibitor",
"clock#time",
"custom/right_div#3",
"clock#date",
"custom/right_div#4",
"network",
"bluetooth",
"custom/system_update",
"custom/right_div#5"
],
"modules-right": [
"mpris",
"tray",
"hyprland/language",
"custom/left_div#6",
"group/pulseaudio",
"custom/left_div#7",
"backlight",
"custom/left_div#8",
"battery",
"custom/left_inv#2",
"custom/power_menu"
],
/*-------------
options
-------------*/
"layer": "top",
"height": 0,
"width": 0,
"margin": 0,
"spacing": 0,
"mode": "dock",
"reload_style_on_change": true
}