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", "network",
"cpu", "cpu",
"memory", "memory",
"temperature",
"custom/temperature",
"backlight", "backlight",
"battery", "battery",
"battery#bat2", "battery#bat2",
@ -99,6 +99,7 @@
// "thermal-zone": 2, // "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80, "critical-threshold": 80,
"exec": "ryzen-cpu-temp",
// "format-critical": "{temperatureC}°C {icon}", // "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}",
"format-icons": [ "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": { "backlight": {
// "device": "acpi_video1", // "device": "acpi_video1",
"format": "{percent}% {icon}", "format": "{percent}% {icon}",


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

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

Loading…
Cancel
Save