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": {
"format": "{percent}% {icon}",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"on-scroll-down": "brightnessctl set 1%-",
"on-scroll-up": "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}"
{
"backlight": {
"format": "{percent}% {icon}",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"on-scroll-down": "brightnessctl set 1%-",
"on-scroll-up": "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",
"custom/notifications"
],
"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}"
},
"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
}
}
}
]