neodotfiles/new-config/.config/waybar/config
Clay Gomera 14c7130007 update
2023-03-28 13:41:25 -04:00

93 lines
2.6 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"position": "top",
"height": 22,
"spacing": 3,
// Choose the order of the modules
"modules-left": ["wlr/workspaces"],
"modules-center": ["clock"],
"modules-right": ["idle_inhibitor", "hyprland/language", "pulseaudio", "backlight", "battery", "custom/powerprofiles", "network"],
"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"
},
"hyprland/language": {
"format": "{}  ",
"format-en": "US",
"format-es": "ES",
"keyboard-name": "at-translated-set-2-keyboard",
"on-click": "hyprctl switchxkblayout at-translated-set-2-keyboard next"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": "󰤄"
}
},
"clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "󰥔 {:%H:%M}",
"format-alt": " {:%Y-%m-%d}"
},
"backlight": {
"format": "{percent}% {icon}",
"format-icons": ["󱠃", "󱠃", "󱠃", "󱠃", "󱠃", "󱠂", "󱠂", "󱠂", "󱠂"]
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% 󱐋",
"format-plugged": "{capacity}% 󰚥",
"format-alt": "{time} {icon}",
"format-critical": "{capacity}% {icon} ",
"format-warning": "{capacity}% {icon} ",
"format-icons": [" ", " ", " ", " ", " "]
},
"custom/powerprofiles": {
"exec": "bash $HOME/.config/waybar/power-profiles",
"restart-interval": 5,
"format": "{}",
},
"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": ["󰕿", "󰖀", "󰕾"]
},
"on-click": "wezterm start -- pulsemixer"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} 󱚻 ",
"format-ethernet": "{ipaddr}/{cidr} 󰈀 ",
"format-disconnected": "Disconnected 󱛅 ",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
}