diff options
Diffstat (limited to '.config/waybar/modules')
| -rw-r--r-- | .config/waybar/modules | 162 |
1 files changed, 162 insertions, 0 deletions
diff --git a/.config/waybar/modules b/.config/waybar/modules new file mode 100644 index 0000000..ff31fbb --- /dev/null +++ b/.config/waybar/modules @@ -0,0 +1,162 @@ +{ + "hyprland/workspaces": { + "all-outputs": true, + "active-only": "false", + "on-click": "activate", + "format": "{icon}", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "format-icons": { + "active": "", + "default": "" + } + }, + "hyprland/window": { + "format": "{}", + "rewrite": { + "(.*) — Mozilla Firefox": "Mozilla Firefox" + }, + "seperate-outputs": true, + "max-length": 25 + }, + "wlr/taskbar": { + "format": "{icon}", + "icon-size": 14, + "tooltip-format": "{title}", + "on-click": "activate", + "on-click-middle": "close", + "ignore-list": [] + }, + "tray": { + "icon-size": 19, + "spacing": 10, + "reverse-direction": true + }, + "bluetooth": { + "format": "", + "format-disabled": "", + "format-connected": "" + }, + "wireplumber": { + "format": "{icon}", + "tooltip": true, + "tooltip-format": "{volume}", + "scroll-step": 5, + "format-muted": "", + "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle", + "format-icons": [ + "", + "", + "" + ] + }, + "network": { + "tooltip": true, + "format-wifi": "{icon} {essid}", + "format-ethernet": "", + "format-disconnected": "", + "format-icons": [ + "", + "", + "", + "" + ], + "tooltip-format": "{bandwidthDownBytes} {bandwidthUpBytes}", + "interval": 1 + }, + "backlight": { + "tooltip": false, + "format": " {}%", + "interval": 1, + "on-scroll-up": "brightnessctl set 20+", + "on-scroll-down": "brightnessctl set 20-" + }, + "battery": { + "states": { + "good": 95, + "warning": 30, + "critical": 20 + }, + "format": "{icon}", + "format-charging": " {capacity}%", + "format-plugged": " {capacity}%", + "format-alt": "{time} {icon}", + "format-icons": ["", "", "", "", ""], + "tooltip": true, + "tooltip-format": "{capacity}%" + }, + "clock": { + "interval": 60, + "format": "{:<span weight='bold'>%a %d.%b</span> %H:%M}" + }, + "cpu": { + "interval": 15, + "format": " {}%", + "max-length": 10 + }, + "memory": { + "interval": 30, + "format": " {}%", + "max-length": 10 + }, + "disk": { + "format": " {free}" + }, + "custom/separator-right": { + "format": "", + "tooltip": false + }, + "custom/separator-left": { + "format": "", + "tooltip": false + }, + "custom/media": { + "interval": 5, + "format": "{icon} {}", + "return-type": "string", + "max-length": 20, + "format-icons": { + "spotify": "", + "default": "" + }, + "escape": true, + "exec": "playerctl metadata title", + "on-click": "playerctl play-pause" + }, + "custom/notification": { + "format": "{icon}", + "format-icons": { + "notification": "", + "none": "", + "dnd-notification": "", + "dnd-none": "", + "inhibited-notification": "<span foreground='#DB4740'><sup></sup></span>", + "inhibited-none": "", + "dnd-inhibited-notification": "<span foreground='#DB4740'><sup></sup></span>", + "dnd-inhibited-none": "" + }, + "return-type": "json", + "exec-if": "which swaync-client", + "exec": "swaync-client -swb", + "on-click": "sleep 0.1; swaync-client -t -sw", + "on-click-right": "swaync-client -d -sw", + }, + "group/systemtray": { + "orientation": "horizontal", + "modules": [ + "tray", + "wireplumber", + "battery", + "backlight", + "custom/notification", + ] + }, + "group/stats": { + "orientation": "horizontal", + "modules": [ + "cpu", + "memory", + "disk" + ] + } +} |
