neodotfiles/new-config/.config/waybar/config

77 lines
2.5 KiB
Text
Raw Normal View History

2023-02-22 00:02:06 +00:00
{
"position": "top",
2023-02-22 02:09:45 +00:00
"height": 28,
2023-02-22 00:02:06 +00:00
//"width": 1280,
"spacing": 10,
// Choose the order of the modules
"modules-left": ["wlr/workspaces"],
2023-02-22 02:09:45 +00:00
"modules-right": ["idle_inhibitor", "pulseaudio", "backlight", "battery", "network", "clock"],
2023-02-22 00:02:06 +00:00
"wlr/workspaces": {
"on-click": "activate",
"sort-by-number": true,
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
"backlight": {
// "device": "acpi_video1",
"format": "{percent}% {icon}",
"format-icons": ["󰃞 ", "󰃞 ", "󰃞 ", "󰃟 ", "󰃟 ", "󰃟 ", "󰃠 ", "󰃠 ", "󰃠 "]
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% 󱐋",
"format-plugged": "{capacity}% 󰚥",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": [" ", " ", " ", " ", " "]
},
"pulseaudio": {
"scroll-step": 1, // %, can be a float
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": "󰖁 {icon} {format_source}",
"format-muted": "󰖁 {format_source}",
"format-source": "{volume}% 󰍬",
"format-source-muted": "󰍭",
"format-icons": {
"headphone": "󰋋",
"hands-free": "󱡏",
"headset": "󰋎",
"phone": "󰏲",
"portable": "󰏲",
"car": "󰄋",
"default": ["󰕿", "󰖀", "󰕾"]
},
2023-02-22 02:09:45 +00:00
"on-click": "wezterm start -- pulsemixer"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) 󱚻 ",
"format-ethernet": "{ipaddr}/{cidr} 󰈀 ",
"format-disconnected": "Disconnected 󱛅 ",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
2023-02-22 00:02:06 +00:00
},
}