From 8b4b6b63436de82f8458e79b1d650f185720acc3 Mon Sep 17 00:00:00 2001 From: Daniel Ziltener Date: Wed, 17 Jan 2024 16:44:07 +0100 Subject: [PATCH] . --- home/waybar/config | 305 ++++++++++++++++++++++++--------------------- 1 file changed, 163 insertions(+), 142 deletions(-) diff --git a/home/waybar/config b/home/waybar/config index 1c4b636..fa57b82 100644 --- a/home/waybar/config +++ b/home/waybar/config @@ -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": "{:%Y %B}\n{calendar}" - }, - "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": "{}" - }, - "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": "{:%Y %B}\n{calendar}" + }, + "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": "{}" + }, + "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": "", + "none": "", + "dnd-notification": "", + "dnd-none": "", + "inhibited-notification": "", + "inhibited-none": "", + "dnd-inhibited-notification": "", + "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 + } } - } ]