summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.config/waybar/config
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/hyprland/.config/waybar/config')
-rw-r--r--dotfiles/hyprland/.config/waybar/config76
1 files changed, 51 insertions, 25 deletions
diff --git a/dotfiles/hyprland/.config/waybar/config b/dotfiles/hyprland/.config/waybar/config
index 3b3a90f..1a867f4 100644
--- a/dotfiles/hyprland/.config/waybar/config
+++ b/dotfiles/hyprland/.config/waybar/config
@@ -3,48 +3,74 @@
"position": "top",
"height": 30,
"spacing": 4,
+ "margin-top": 6,
+ "margin-left": 10,
+ "margin-right": 10,
- "modules-left": ["hyprland/workspaces"],
- "modules-center": ["hyprland/window"],
- "modules-right": ["tray", "battery", "disk", "clock"],
+ "modules-left": [
+ "hyprland/workspaces"
+ ],
+ "modules-center": [],
+ "modules-right": [
+ "group/sysmonitor",
+ "tray",
+ "clock",
+ "wireplumber"
+ ],
+
+ "group/sysmonitor": {
+ "orientation": "horizontal",
+ "modules": [
+ "cpu",
+ "memory",
+ "disk"
+ ]
+ },
"hyprland/workspaces": {
+ "disable-scroll": true,
+ "all-outputs": true,
"format": "{name}",
- "on-click": "activate",
"sort-by-number": true
},
- "hyprland/window": {
- "format": "{}",
- "max-length": 50
+ "cpu": {
+ "interval": 10,
+ "format": " {}%"
},
- "tray": {
- "spacing": 10
- },
-
- "battery": {
- "bat": "BAT0",
+ "memory": {
"interval": 30,
- "states": {
- "warning": 30,
- "critical": 15
- },
- "format": "󱊣 {capacity}% {icon}",
- "format-charging": "󱊣 {capacity}% ",
- "format-plugged": "󱊣 {capacity}% ",
- "format-icons": ["", "", "", "", ""]
+ "format": " {}%"
},
"disk": {
"interval": 30,
- "format": " {used}/{total}",
+ "format": " {percentage_used}%",
"path": "/"
},
+ "tray": {
+ "icon-size": 22,
+ "spacing": 10
+ },
+
"clock": {
- "interval": 30,
- "format": " {:%a %B %d} 󰥔 {:%I:%M %p %Z}",
- "tooltip-format": "<tt>{calendar}</tt>"
+ "format": "{:%a %d-%m-%Y %I:%M %p}",
+ "tooltip-format": "<small>{calendar}</small>",
+ "calendar": {
+ "format": {
+ "today": "<span color='#daa520'><b><u>{}</u></b></span>"
+ }
+ }
+ },
+
+ "wireplumber": {
+ "format": "{volume}% {icon}",
+ "format-muted": "Muted 󰝟",
+ "format-icons": ["", "", ""],
+ "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
+ "on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+",
+ "on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
}
}