2023-05-25 22:09:55 +02:00
|
|
|
{
|
|
|
|
|
"layer": "top",
|
|
|
|
|
"position": "top",
|
|
|
|
|
"height": 30,
|
2023-05-26 15:36:55 +02:00
|
|
|
"spacing": 2,
|
2023-05-25 22:09:55 +02:00
|
|
|
"modules-left": [
|
|
|
|
|
"clock",
|
|
|
|
|
"custom/weather",
|
|
|
|
|
"custom/pacman",
|
|
|
|
|
"idle_inhibitor"
|
|
|
|
|
],
|
|
|
|
|
"modules-center": [
|
|
|
|
|
"wlr/workspaces"
|
|
|
|
|
],
|
|
|
|
|
"modules-right": [
|
|
|
|
|
"pulseaudio",
|
|
|
|
|
"network",
|
|
|
|
|
"tray"
|
|
|
|
|
],
|
|
|
|
|
"hyprland/window": {
|
|
|
|
|
"format": "{}",
|
|
|
|
|
"separate-outputs": true,
|
|
|
|
|
"max-length": 50
|
|
|
|
|
},
|
|
|
|
|
"wlr/workspaces": {
|
|
|
|
|
"format": "{icon}",
|
|
|
|
|
"on-click": "activate",
|
|
|
|
|
"format-icons": {
|
|
|
|
|
"urgent": "",
|
|
|
|
|
"active": "",
|
|
|
|
|
"default": ""
|
|
|
|
|
},
|
|
|
|
|
"sort-by-number": true,
|
|
|
|
|
"active-only": false,
|
|
|
|
|
"all-outputs": false,
|
|
|
|
|
"persistent_workspaces": {
|
|
|
|
|
"1": ["HDMI-A-1"],
|
|
|
|
|
"2": ["HDMI-A-1"],
|
|
|
|
|
"3": ["HDMI-A-1"],
|
|
|
|
|
"4": ["HDMI-A-1"],
|
|
|
|
|
"5": ["HDMI-A-1"],
|
|
|
|
|
"11": ["DP-3"],
|
|
|
|
|
"12": ["DP-3"],
|
|
|
|
|
"13": ["DP-3"],
|
|
|
|
|
"14": ["DP-3"],
|
|
|
|
|
"15": ["DP-3"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"tray": {
|
|
|
|
|
"icon-size": 16,
|
|
|
|
|
"spacing": 4
|
|
|
|
|
},
|
|
|
|
|
"clock": {
|
|
|
|
|
"interval": 1,
|
|
|
|
|
"timezone": "Europe/Warsaw",
|
|
|
|
|
"tooltip-format": false,
|
|
|
|
|
"format-alt": " {:%T %F}",
|
|
|
|
|
"format": " {:%H:%M %e %b}",
|
2023-05-27 23:33:35 +02:00
|
|
|
"on-click-right": "evolution -c calendar"
|
2023-05-25 22:09:55 +02:00
|
|
|
},
|
|
|
|
|
"network": {
|
|
|
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
|
|
|
"format-ethernet": " {ifname}",
|
|
|
|
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
|
|
|
|
"format-linked": "{ifname} (No IP) ",
|
|
|
|
|
"format-disconnected": "⚠ Disconnected",
|
|
|
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}",
|
2023-05-28 13:23:27 +02:00
|
|
|
"on-click-right": "nm-connection-editor"
|
2023-05-25 22:09:55 +02:00
|
|
|
},
|
|
|
|
|
"pulseaudio": {
|
|
|
|
|
"format": "{icon} {volume}%{format_source}",
|
|
|
|
|
"format-bluetooth": " {icon} {volume}%{format_source}",
|
|
|
|
|
"format-bluetooth-muted": " {format_source}",
|
|
|
|
|
"format-muted": " {format_source}",
|
|
|
|
|
"format-source": " {volume}%",
|
|
|
|
|
"format-source-muted": " ",
|
|
|
|
|
"format-icons": {
|
|
|
|
|
"headphone": "",
|
|
|
|
|
"hands-free": "",
|
|
|
|
|
"headset": "",
|
|
|
|
|
"phone": "",
|
|
|
|
|
"portable": "",
|
|
|
|
|
"car": "",
|
|
|
|
|
"default": ["", "", ""]
|
|
|
|
|
},
|
|
|
|
|
"on-click": "ponymix toggle",
|
|
|
|
|
"on-click-middle": "ponymix -t source toggle",
|
|
|
|
|
"on-click-right": "pavucontrol"
|
|
|
|
|
},
|
|
|
|
|
"custom/pacman": {
|
|
|
|
|
"format": " {}",
|
|
|
|
|
"interval": "3600",
|
|
|
|
|
"return-type": "json",
|
2023-05-26 14:51:07 +02:00
|
|
|
"exec": "$HOME/.config/waybar/scripts/checkupdates",
|
|
|
|
|
"signal": 8,
|
2023-05-27 17:54:55 +02:00
|
|
|
"on-click": "foot paru; pkill waybar; waybar &"
|
2023-05-25 22:09:55 +02:00
|
|
|
},
|
|
|
|
|
"custom/weather": {
|
|
|
|
|
"exec": "curl -s 'https://wttr.in/?format=1' | sed 's/ \\+/ /g'",
|
|
|
|
|
"interval": 3600
|
|
|
|
|
},
|
|
|
|
|
"idle_inhibitor": {
|
|
|
|
|
"format": "<small>{icon}</small>",
|
|
|
|
|
"format-icons": {
|
|
|
|
|
"activated": "",
|
|
|
|
|
"deactivated": ""
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|