diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2025-06-21 21:58:07 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2025-06-21 21:58:07 -0400 |
| commit | bc00c13276dd98c8e04dd1dc5b889da49fd3d224 (patch) | |
| tree | 3fb5f481ada8d3e977b9ad0a4c6bc9be138e2a12 /.config | |
| parent | 1d9bc1171a1fe7a737d5d812d1e58cf2c85b5345 (diff) | |
update waybar
Diffstat (limited to '.config')
| -rw-r--r-- | .config/waybar/config | 142 |
1 files changed, 77 insertions, 65 deletions
diff --git a/.config/waybar/config b/.config/waybar/config index 20060a2..383627d 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -1,68 +1,80 @@ { - "layer": "top", + "layer": "top", + "modules-left": ["hyprland/window", "tray"], + "modules-center": ["hyprland/workspaces"], + "modules-right": ["wireplumber", "custom/brightness", "battery", "cpu", "memory", "custom/separator", "network", "custom/separator", "clock"], - "modules-left": ["hyprland/workspaces", "custom/separator", "tray"], - "modules-center": ["hyprland/window"], - "modules-right": ["wireplumber", "custom/brightness", "battery", "cpu", "memory", "custom/separator", "network", "custom/separator", "clock"], - - "hyprland/workspaces": { - "format": "{id}", - }, - "custom/separator": { - "exec": "echo \"|\"", - "format": "{}", - "class": "separator", - }, - "custom/brightness": { - "exec": "get-brightness-percentage", - "interval": 1, - "format": "{} ", - }, - "network": { - "format-wifi": "{essid} {signalStrength}% ", - "format-ethernet": "{ipaddr}/{cidr}", - "format-disconnected": "Disconnected ", - "tooltip-format": "{ifname}: {gwaddr}", - "format": "{ifname}: {essid}", - }, - "hyprland/window": { - "format": "{title}", - }, - "cpu": { - "format": "{usage}% ", - "interval": 1, - }, - "memory": { - "format": "{percentage}% ", - "interval": 1, - }, - "clock": { - "timezone": "America/New_York", - "format": "{:%r}", - "tooltip-format": "{:%d %B %Y}", - "interval": 1, - }, - "tray": { - "icon-size": 8, - "spacing": 8, - }, - "wireplumber": { - "format": "{volume}% {icon}", - "format-muted": "", - "tooltip-format": "{volume}% {node_name}", - "scroll-step": 0, - "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", - "on-click-right": "helvum", - "format-icons": ["", "", ""] - }, - "battery": { - "bat": "BAT0", - "interval": 0, - "format-charging": "{capacity}% ", - "format-not charging": "{capacity}% ", - "format-discharging": "{capacity}% {icon}", - "format": "{capacity}% {icon}", - "format-icons": ["", "", ""], - "interval": 1, - }, + "hyprland/workspaces": { + "format": "{icon}", + "format-icons": { + "1": "", + "2": "", + "3": "", + "4": "", + "5": "", + "6": "", + "active": "", + "default": "" + }, + "persistent-workspaces": { + "*": [ 1, 2, 3, 4, 5, 6 ] + } + }, + "custom/separator": { + "exec": "echo \"|\"", + "format": "{}", + "class": "separator", + }, + "custom/brightness": { + "exec": "get-brightness-percentage", + "interval": 1, + "format": "{} ", + }, + "network": { + "format-wifi": "{essid} {signalStrength}% ", + "format-ethernet": "{ipaddr}/{cidr}", + "format-disconnected": "Disconnected ", + "tooltip-format": "{ifname}: {gwaddr}", + "format": "{ifname}: {essid}", + }, + "hyprland/window": { + "format": "{title}", + }, + "cpu": { + "format": "{usage}% ", + "interval": 1, + }, + "memory": { + "format": "{percentage}% ", + "interval": 1, + }, + "clock": { + "timezone": "America/New_York", + "format": "{:%r}", + "tooltip-format": "{:%d %B %Y}", + "interval": 1, + }, + "tray": { + "icon-size": 8, + "spacing": 8, + }, + "wireplumber": { + "format": "{volume}% {icon}", + "format-muted": "", + "tooltip-format": "{volume}% {node_name}", + "scroll-step": 0, + "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", + "on-click-right": "helvum", + "format-icons": ["", "", ""] + }, + "battery": { + "bat": "BAT0", + "interval": 0, + "format-charging": "{capacity}% ", + "format-not charging": "{capacity}% ", + "format-discharging": "{capacity}% {icon}", + "format": "{capacity}% {icon}", + "format-icons": ["", "", ""], + "interval": 1, + }, } |
