This commit is contained in:
jay
2023-05-30 01:26:05 +08:00
parent ae1ee3bcfc
commit a2d8cddefe
5 changed files with 23 additions and 13 deletions
+7 -4
View File
@@ -7,8 +7,8 @@
// "width": 1280, // Waybar width
// "spacing": 1, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": ["wlr/workspaces", "custom/sep", "hyprland/window", "hyprland/submap"],
// "modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
// "modules-left": ["wlr/workspaces", "custom/sep", "hyprland/window", "hyprland/submap"],
"modules-left": ["sway/workspaces", "custom/sep", "sway/window", "sway/mode"],
"modules-center": ["clock"],
"modules-right": [
"idle_inhibitor",
@@ -34,6 +34,9 @@
"on-click": "activate",
"disable-scroll": true
},
"sway/window": {
"max-length": 100
},
"custom/pipewire": {
"exec": "/home/jay/bin/get-volume.sh",
"interval": "once",
@@ -73,7 +76,7 @@
"interval": 1
},
"cpu": {
"format": " {usage}%({load})",
"format": " {usage}%({load})",
"interval": 2,
"tooltip": false
},
@@ -102,7 +105,7 @@
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-charging": "󰂄 {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
// "format-good": "", // An empty format will hide the module