flake/users/guanranwang/home-manager/common/dotfiles/config/waybar/config

75 lines
1.8 KiB
Text

{
"layer": "top",
"modules-left": ["custom/launcher", "hyprland/workspaces", "gamemode"],
"modules-center": ["hyprland/window"],
"modules-right": ["tray", "pulseaudio", "battery", "clock"],
"custom/launcher": { "format": "" },
"gamemode": {
"format": "{glyph} {count}",
"glyph": "󰊴",
"hide-not-running": true,
"use-icon": true,
"icon-name": "input-gaming-symbolic",
"icon-spacing": 4,
"icon-size": 20,
"tooltip": true,
"tooltip-format": "Games running: {count}"
},
"hyprland/workspaces": {
"format": "{icon}",
"on-click": "activate",
"on-scroll-up": "hyprctl dispatch workspace e-1",
"on-scroll-down": "hyprctl dispatch workspace e+1",
"format-icons": {
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"urgent": "",
"active": "",
"default": ""
},
"sort-by-number": true
},
"hyprland/window": {
"format": "{}",
"separate-outputs": true
},
"tray": {
"spacing": 10
},
"pulseaudio": {
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "󰂑",
"headset": "󰂑",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"scroll-step": 5,
"on-click": "pavucontrol",
"ignored-sinks": ["Easy Effects Sink"]
},
"battery": {
"bat": "BAT0",
"interval": 60,
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""],
"max-length": 25
},
"clock": {
"format": "{:%A %H:%M} ",
"tooltip-format": "<tt>{calendar}</tt>"
}
}