2023-05-17 04:21:45 +00:00
|
|
|
{
|
2023-08-31 19:09:39 +00:00
|
|
|
"layer": "top",
|
2023-05-17 04:21:45 +00:00
|
|
|
"position": "top",
|
|
|
|
"height": 30,
|
|
|
|
|
2023-09-17 05:23:05 +00:00
|
|
|
"modules-left": ["hyprland/workspaces", "hyprland/submap"],
|
2023-06-10 02:19:29 +00:00
|
|
|
"modules-center": ["hyprland/window"],
|
2023-08-31 19:09:39 +00:00
|
|
|
"modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "bluetooth", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"],
|
2023-06-10 02:19:29 +00:00
|
|
|
"hyprland/submap": {
|
2023-05-17 04:21:45 +00:00
|
|
|
"format": " {}"
|
|
|
|
},
|
2023-06-10 02:19:29 +00:00
|
|
|
"wlr/workspaces": {
|
2023-05-17 04:21:45 +00:00
|
|
|
"format": "{name}",
|
|
|
|
"disable-scroll": true
|
|
|
|
},
|
2023-06-10 02:19:29 +00:00
|
|
|
"hyprland/window": {
|
2023-05-17 04:21:45 +00:00
|
|
|
"max-length": 80,
|
2023-08-31 19:09:39 +00:00
|
|
|
"tooltip": false,
|
|
|
|
"separate-outputs": true
|
2023-05-17 04:21:45 +00:00
|
|
|
},
|
|
|
|
"clock": {
|
|
|
|
"format": "{:%a %d %b %H:%M}",
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
"battery": {
|
|
|
|
"format": "{capacity}% {icon}",
|
|
|
|
"format-alt": "{time} {icon}",
|
|
|
|
"format-icons": ["", "", "", "", ""],
|
|
|
|
"format-charging": "{capacity}% ",
|
|
|
|
"interval": 30,
|
|
|
|
"states": {
|
|
|
|
"warning": 25,
|
|
|
|
"critical": 10
|
|
|
|
},
|
|
|
|
"tooltip": false,
|
|
|
|
"bat":"BAT1"
|
|
|
|
},
|
2023-08-31 19:09:39 +00:00
|
|
|
"bluetooth": {
|
2023-09-09 00:50:02 +00:00
|
|
|
"format": "",
|
|
|
|
"format-disabled": "",
|
|
|
|
"format-connected": "",
|
|
|
|
"format-connected-battery": " {device_battery_percentage}%",
|
2023-08-31 19:09:39 +00:00
|
|
|
"on-click": "blueman-manager",
|
|
|
|
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
|
|
|
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
|
|
|
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
|
|
|
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%"
|
|
|
|
},
|
2023-05-17 04:21:45 +00:00
|
|
|
"network": {
|
2023-08-31 19:09:39 +00:00
|
|
|
"format-alt": "{ipaddr}/{cidr} {icon} {bandwidthTotalBytes}",
|
2023-05-17 04:21:45 +00:00
|
|
|
"format": "{ipaddr}/{cidr} {icon}",
|
|
|
|
"format-alt-click": "click-right",
|
|
|
|
"format-icons": {
|
2023-08-31 19:09:39 +00:00
|
|
|
"wifi": ["", "" ,"", ""],
|
2023-05-17 04:21:45 +00:00
|
|
|
"ethernet": [""],
|
2023-08-31 19:09:39 +00:00
|
|
|
"disconnected": [""]
|
2023-05-17 04:21:45 +00:00
|
|
|
},
|
2023-06-10 02:19:29 +00:00
|
|
|
"on-click": "alacritty -e doas nmtui",
|
2023-05-17 04:21:45 +00:00
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
"pulseaudio": {
|
|
|
|
"format-alt": "{icon}",
|
|
|
|
"format": "{volume} {icon}",
|
|
|
|
"format-alt-click": "click-right",
|
|
|
|
"format-muted": "",
|
|
|
|
"format-icons": {
|
|
|
|
"phone": [" ", " ", " ", " "],
|
|
|
|
"default": ["", "", "", ""]
|
|
|
|
},
|
|
|
|
"scroll-step": 1,
|
|
|
|
"on-click": "pavucontrol",
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
"custom/spotify": {
|
|
|
|
"interval": 2,
|
|
|
|
"return-type": "json",
|
|
|
|
"exec": "~/.config/waybar/modules/spotify.sh",
|
2023-09-08 03:50:02 +00:00
|
|
|
"exec-if": "~/.config/waybar/modules/check-for-music.sh",
|
2023-05-17 04:21:45 +00:00
|
|
|
"escape": true,
|
2023-09-08 03:50:02 +00:00
|
|
|
"on-click": "playerctl play-pause"
|
2023-05-17 04:21:45 +00:00
|
|
|
},
|
|
|
|
"custom/storage": {
|
|
|
|
"format-alt": "{} ",
|
|
|
|
"format": "{percentage}% ",
|
|
|
|
"format-alt-click": "click-right",
|
|
|
|
"return-type": "json",
|
|
|
|
"interval": 60,
|
|
|
|
"exec": "~/.config/waybar/modules/storage.sh"
|
|
|
|
},
|
|
|
|
"backlight": {
|
|
|
|
"format-alt": "{icon}",
|
|
|
|
"format": "{percent}% {icon}",
|
|
|
|
"format-alt-click": "click-right",
|
|
|
|
"format-icons": ["", ""],
|
|
|
|
"on-scroll-down": "light -A 1",
|
|
|
|
"on-scroll-up": "light -U 1"
|
|
|
|
},
|
|
|
|
"custom/weather": {
|
|
|
|
"format-alt": "{}",
|
|
|
|
"format": "{alt}: {}",
|
|
|
|
"format-alt-click": "click-right",
|
|
|
|
"interval": 1800,
|
|
|
|
"return-type": "json",
|
|
|
|
"on-click": "alacritty --class ala-wttr --hold -e curl https://v2.wttr.in",
|
|
|
|
"exec": "~/.config/waybar/modules/weather.sh",
|
|
|
|
"exec-if": "ping wttr.in -c1"
|
|
|
|
},
|
|
|
|
"idle_inhibitor": {
|
|
|
|
"format": "{icon}",
|
|
|
|
"format-icons": {
|
|
|
|
"activated": "",
|
|
|
|
"deactivated": ""
|
|
|
|
},
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
"custom/mail": {
|
|
|
|
"format": "",
|
|
|
|
"format-alt": "{alt} ",
|
|
|
|
"format-alt-click": "click-right",
|
|
|
|
"interval": 60,
|
|
|
|
"return-type": "json",
|
|
|
|
"exec": "~/.config/waybar/modules/mail.py",
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
"tray": {
|
|
|
|
"icon-size": 18
|
|
|
|
}
|
|
|
|
}
|