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/config21
1 files changed, 17 insertions, 4 deletions
diff --git a/dotfiles/hyprland/.config/waybar/config b/dotfiles/hyprland/.config/waybar/config
index c7cc0a7..fdff160 100644
--- a/dotfiles/hyprland/.config/waybar/config
+++ b/dotfiles/hyprland/.config/waybar/config
@@ -17,6 +17,7 @@
"group/sysmonitor",
"custom/netspeed",
"wireplumber",
+ "idle_inhibitor",
"tray",
"clock"
],
@@ -27,7 +28,7 @@
"cpu",
"temperature",
"memory",
- "disk",
+ "custom/disk",
"battery"
]
},
@@ -61,6 +62,7 @@
"interval": 10,
"hwmon-path-abs": "/sys/devices/pci0000:00/0000:00:18.3/hwmon",
"input-filename": "temp1_input",
+ "warning-threshold": 70,
"critical-threshold": 80,
"format": "<span size='large'>󰔏</span> {temperatureC}°C",
"format-critical": "<span size='large'>󰸁</span> {temperatureC}°C",
@@ -73,10 +75,11 @@
"on-click": "toggle-scratchpad monitor"
},
- "disk": {
+ "custom/disk": {
+ "exec": "waybar-disk",
+ "return-type": "json",
"interval": 30,
- "format": "<span size='large'>󰆼</span> {percentage_used}%",
- "path": "/",
+ "format": "<span size='large'>󰆼</span> {}",
"on-click": "toggle-scratchpad monitor"
},
@@ -122,5 +125,15 @@
"on-click-right": "toggle-scratchpad audio",
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+",
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
+ },
+
+ "idle_inhibitor": {
+ "format": "<span size='large'>{icon}</span>",
+ "format-icons": {
+ "activated": "󰅶",
+ "deactivated": "󰾪"
+ },
+ "tooltip-format-activated": "Idle inhibitor: ON (screen will not lock)",
+ "tooltip-format-deactivated": "Idle inhibitor: OFF"
}
}