Files
dotfiles/waybar/.config/waybar/config.jsonc

153 lines
3.5 KiB
JSON

{
"layer": "top",
"position": "top",
"mod": "dock",
"margin-left": 10,
"margin-right": 10,
"margin-top": 10,
"margin-bottom": 0,
"exclusive": true,
"passthrough": false,
"gtk-layer-shell": true,
"reload_style_on_change": true,
"modules-left": [
"hyprland/workspaces",
"hyprland/window"
],
"modules-center": [
"clock"
],
"modules-right": [
"network",
"bluetooth",
"pulseaudio",
"cpu",
"memory",
"tray",
"custom/power"
],
"memory": {
"interval": 5,
"format": "󰍛 {}%"
},
"cpu": {
"interval": 5,
"format": "󰻠 {usage}%"
},
"tray": {
"icon-size": 18,
"spacing": 6,
"rotate": 0
},
"custom/power": {
"format": "",
"tooltip": false,
"menu": "on-click",
"menu-file": "$HOME/.config/waybar/power_menu.xml",
"menu-actions": {
"shutdown": "systemctl poweroff",
"reboot": "systemctl reboot",
"suspend": "systemctl suspend",
"hibernate": "systemctl hibernate",
"logout": "hyprctl dispatch exit",
"lock": "hyprlock"
}
},
"hyprland/workspaces": {
"all-outputs": false,
"sort-by-number": true,
"format": "{icon}",
"format-icons": {
"1": "󰎤",
"2": "󰎧",
"3": "󰎪",
"4": "󰎭",
"5": "󰎱",
"6": "󰎳",
"7": "󰎶",
"8": "󰎹",
"9": "󰎼",
"10": "󰽽",
"urgent": "",
"active": "",
"default": "",
"empty": ""
}
},
"hyprland/window": {
"separate-outputs": true,
"icon": true,
"max-length": 56,
"rewrite": {
"": "Desktop"
}
},
"clock": {
"format": "{:%a %d %b}",
"rotate": 0,
"tooltip-format": "<tt>{calendar}</tt>",
"calendar": {
"mode": "year",
"mode-mon-col": 3,
"weeks-pos": "left",
"on-scroll": 1,
"on-click-right": "mode",
"format": {
"months": "<span color='#C191FF'><b>{}</b></span>",
"weeks": "<span color='#66C3CC'><b>{}</b></span>",
"weekdays": "<span color='#C9A26D'><b>{}</b></span>",
"today": "<span color='#39CC9B'><b>{}</b></span>"
}
},
"actions": {
"on-click-right": "mode",
"on-click-forward": "tz_up",
"on-click-backward": "tz_down",
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
}
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "󰖁 muted",
"format-icons": {
"default": [
"󰕿",
"󰖀",
"󰕾"
],
"headphone": "󰋋",
"hands-free": "󰋎",
"headset": "󰋎",
"phone": "󰏲",
"portable": "󰄝",
"car": "󰄋"
},
"scroll-step": 5,
"on-click": "pavucontrol",
"on-click-right": "pamixer -t",
"on-scroll-up": "pamixer -i 5",
"on-scroll-down": "pamixer -d 5"
},
"network": {
"interval": 5,
"format-wifi": "󰖩 {signalStrength}%",
"format-ethernet": "󰈀 ethernet",
"format-linked": "󰈀 linked",
"format-disconnected": "󰖪 offline",
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname}",
"tooltip-format-disconnected": "Disconnected",
"on-click": "nm-connection-editor"
},
"bluetooth": {
"format": "󰂯 {status}",
"format-disabled": "󰂲 off",
"format-off": "󰂲 off",
"format-no-controller": "󰂲 n/a",
"format-on": "󰂯 on",
"format-connected": "󰂱 on",
"tooltip-format": "{controller_alias}\t{controller_address}"
}
}