Skip to content

Commit

Permalink
Improve waybar cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
willprice committed Nov 3, 2024
1 parent fca77d3 commit a37f114
Show file tree
Hide file tree
Showing 2 changed files with 367 additions and 8 deletions.
33 changes: 25 additions & 8 deletions waybar/.config/waybar/config
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@
// Choose the order of the modules
"modules-left": ["hyprland/workspaces"],
"modules-center": ["hyprland/window"],
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "battery#bat0", "battery#bat1", "clock", "tray"],
"modules-right": [
"network",
"cpu",
"memory",
"temperature",
"battery",
"power-profiles-daemon",
"tray",
"pulseaudio",
"clock"
],
// Modules configuration
"hyprland/workspaces": {
"disable-scroll": true,
Expand Down Expand Up @@ -73,20 +83,16 @@
},
"battery": {
"states": {
// "good": 95,
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""],
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-plugged": "{capacity}% "
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
Expand Down Expand Up @@ -116,6 +122,17 @@
},
"on-click": "pavucontrol"
},
"power-profiles-daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"format-icons": {
"default": "",
"performance": "",
"balanced": "",
"power-saver": ""
}
},
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
Expand Down
Loading

0 comments on commit a37f114

Please sign in to comment.