guixconfig/home/waybar/config

146 lines
3.3 KiB
Text
Raw Normal View History

2023-11-30 14:20:14 +00:00
[
{
"backlight": {
"format": "{percent}% {icon}",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"on-scroll-down": "/nix/store/30jb0hsd8smaqmn8dzjf898vwrhl1qyk-brightnessctl-0.5.1/bin/brightnessctl set 1%-",
"on-scroll-up": "/nix/store/30jb0hsd8smaqmn8dzjf898vwrhl1qyk-brightnessctl-0.5.1/bin/brightnessctl set +1%"
},
"battery": {
"format": "{capacity}% {icon}",
"format-icons": [
"",
"",
"",
"",
""
],
"states": {
"critical": 15,
"warning": 30
}
},
"battery#bat2": {
"bat": "BAT2"
},
"clock": {
"format": "{:%H:%M}  ",
"format-alt": "{:%Y-%m-%d}  ",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
},
"cpu": {
"format": "{usage}% {icon0} {icon1} {icon2} {icon3} {icon4} {icon5} {icon6} {icon7}",
"format-icons": [
"▁",
"▂",
"▃",
"▄",
"▅",
"▆",
"▇",
"█"
],
"tooltip": false
},
"hyprland/window": {
"format": "{}"
},
"hyprland/workspaces": {
"format": "{id}: {icon}",
"on-click": "activate",
"on-scroll-down": "/nix/store/d25qnrva96v58dq10779sgfz9dachvlb-hyprland-0.32.3/bin/hyprctl dispatch workspace e-1",
"on-scroll-up": "/nix/store/d25qnrva96v58dq10779sgfz9dachvlb-hyprland-0.32.3/bin/hyprctl dispatch workspace e+1"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": [
" ",
" "
]
},
"layer": "top",
"memory": {
"format": "{}% "
},
"modules-center": [
"hyprland/window"
],
"modules-left": [
"hyprland/workspaces",
"wlr/mode",
"wlr/scratchpad",
"user"
],
"modules-right": [
"idle_inhibitor",
"network",
"cpu",
"memory",
"temperature",
"backlight",
"battery",
"battery#bat2",
"clock",
"wireplumber",
"tray"
],
"network": {
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"format-disconnected": "Disconnected ⚠",
"format-ethernet": "{ipaddr}/{cidr} ",
"format-linked": "{ifname} (No IP) ",
"format-wifi": "{essid} ({signalStrength}%)  ",
"tooltip-format": "{ifname} via {gwaddr} "
},
"spacing": 4,
"temperature": {
"critical-threshold": 80,
"format": "{temperatureC}°C",
"format-icons": [
""
]
},
"tray": {
"spacing": 10
},
"user": {
"format": "{user} (up {work_d} days ↑)",
"icon": true,
"interval": 60
},
"wireplumber": {
"format": "{volume}% {icon}",
"format-icons": [
"",
"",
""
],
"format-muted": "🔇",
"on-click": "/nix/store/v35aidzfvgwzk6nvlnzx5z83vbfdj5av-pwvucontrol-0.2/bin/pwvucontrol"
},
"wlr/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"wlr/scratchpad": {
"format": "{icon} {count}",
"format-icons": [
"",
""
],
"show-empty": true,
"tooltip": true,
"tooltip-format": "{app}: {title}"
}
}
]