This commit is contained in:
Daniel Ziltener 2024-01-17 16:44:07 +01:00
parent 3e0152dc9e
commit 8b4b6b6343
Signed by: zilti
GPG Key ID: B38976E82C9DAE42

View File

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