Removed comments & slowed batt warning.

This commit is contained in:
James Patrick 2020-06-29 12:29:09 -04:00
parent 3a2f9550b7
commit 494ea1de35
2 changed files with 9 additions and 36 deletions

View File

@ -1,27 +1,13 @@
{
"layer": "top", // "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 35, // Waybar height
// "width": 1280, // Waybar width
// Choose the order of the modules
"layer": "top",
"height": 35,
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
"modules-center": ["sway/window"],
"modules-right": ["pulseaudio", "network", "cpu", "memory", "backlight", "battery", "battery#bat2", "clock", "tray", "idle_inhibitor"],
// Modules configuration
// "sway/workspaces": {
// "disable-scroll": true,
// "all-outputs": true,
// "format": "{name}: {icon}",
// "format-icons": {
// "1": "",
// "2": "",
// "3": "",
// "4": "",
// "5": "",
// "urgent": "",
// "focused": "",
// "default": ""
// }
// },
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
@ -33,7 +19,6 @@
}
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
@ -46,15 +31,7 @@
"memory": {
"format": "{}% "
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C ",
"format": "{temperatureC}°C "
},
"backlight": {
// "device": "acpi_video1",
"format": "{percent}% {icon}",
"format-icons": ["", ""]
},
@ -65,22 +42,18 @@
"critical": 15
},
"format": "{capacity}% {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
// "interface": "wlp2s0", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-disconnected": "Disconnected ⚠",
"format-disconnected": "⚠",
"on-click": "rofi-wifi-menu"
},
"pulseaudio": {
//"scroll-step": 1,
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",

View File

@ -61,10 +61,10 @@ window#waybar {
}
#battery.critical:not(.charging) {
background: #f53c3c;
background: #eb4d4b;
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;