Browse Source

updated waybar

master
Josh Fabean 4 years ago
parent
commit
f26d748a8b
2 changed files with 17 additions and 10 deletions
  1. +14
    -1
      .config/waybar/config
  2. +3
    -9
      .config/waybar/style.css

+ 14
- 1
.config/waybar/config View File

@ -20,7 +20,7 @@
"network",
"cpu",
"memory",
"temperature",
"custom/temperature",
"backlight",
"battery",
"battery#bat2",
@ -99,6 +99,7 @@
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
"exec": "ryzen-cpu-temp",
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": [
@ -107,6 +108,18 @@
""
]
},
"custom/temperature": {
"interval": 10,
"critical-threshold": 80,
"exec": "ryzen-cpu-temp",
"format-critical": "{} {icon}",
"format": "{}°C {icon}",
"format-icons": [
"",
"",
""
]
},
"backlight": {
// "device": "acpi_video1",
"format": "{percent}% {icon}",


+ 3
- 9
.config/waybar/style.css View File

@ -75,6 +75,9 @@ window#waybar.chromium {
#tray,
#mode,
#idle_inhibitor,
#custom-temperature,
#custom-watson,
#custom-calc,
#mpd {
padding: 0 4px;
margin: 0 4px;
@ -170,12 +173,3 @@ label:focus {
#mpd.paused {
}
#custom-watson {
padding: 0 10px;
margin: 0 4px;
}
#custom-calc {
padding: 0 10px;
margin: 0 4px;
}

Loading…
Cancel
Save