diff options
Diffstat (limited to 'dotfiles/hyprland/.config/waybar/config')
| -rw-r--r-- | dotfiles/hyprland/.config/waybar/config | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dotfiles/hyprland/.config/waybar/config b/dotfiles/hyprland/.config/waybar/config new file mode 100644 index 0000000..3b3a90f --- /dev/null +++ b/dotfiles/hyprland/.config/waybar/config @@ -0,0 +1,50 @@ +{ + "layer": "top", + "position": "top", + "height": 30, + "spacing": 4, + + "modules-left": ["hyprland/workspaces"], + "modules-center": ["hyprland/window"], + "modules-right": ["tray", "battery", "disk", "clock"], + + "hyprland/workspaces": { + "format": "{name}", + "on-click": "activate", + "sort-by-number": true + }, + + "hyprland/window": { + "format": "{}", + "max-length": 50 + }, + + "tray": { + "spacing": 10 + }, + + "battery": { + "bat": "BAT0", + "interval": 30, + "states": { + "warning": 30, + "critical": 15 + }, + "format": " {capacity}% {icon}", + "format-charging": " {capacity}% ", + "format-plugged": " {capacity}% ", + "format-icons": ["", "", "", "", ""] + }, + + "disk": { + "interval": 30, + "format": " {used}/{total}", + "path": "/" + }, + + "clock": { + "interval": 30, + "format": " {:%a %B %d} {:%I:%M %p %Z}", + "tooltip-format": "<tt>{calendar}</tt>" + } +} |
