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
+3 -3
View File
@@ -45,7 +45,7 @@ window#waybar.hidden {
color: #f5c2e7;
}
#workspaces button.active {
#workspaces button.active, #workspaces button.focused {
color: #ea76cb;
}
@@ -63,7 +63,7 @@ window#waybar.hidden {
color: #eee;
}
#submap {
#submap, #mode {
padding-left: 5px;
padding-right: 5px;
margin-right: 3px;
@@ -106,7 +106,7 @@ window#waybar.hidden {
#idle_inhibitor {
border-radius: 15px 0px 0px 15px;
padding-left: 10px;
padding-right: 5px;
padding-right: 10px;
transition: ease-in;
transition-duration: 0.1s;
color: white;