Compare commits

..

1 Commits

Author SHA1 Message Date
d59d85529c Show remaining battery time on hover 2024-09-04 17:05:04 +02:00

9
config
View File

@ -6,7 +6,7 @@
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode"], "modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"], "modules-center": ["sway/window"],
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "custom/bat0", "custom/bat1", "clock", "tray"], "modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "custom/bat1", "clock", "tray"],
// Modules configuration // Modules configuration
// "sway/workspaces": { // "sway/workspaces": {
// "disable-scroll": true, // "disable-scroll": true,
@ -111,13 +111,6 @@
//"battery#bat2": { //"battery#bat2": {
// "bat": "BAT2" // "bat": "BAT2"
//}, //},
"custom/bat0": {
"exec": "~/.config/waybar/scripts/battery.py BAT0",
"return-type": "json",
"format": " {} {icon} ",
"format-icons": ["", "", "", "", ""],
"tooltip": true
},
"custom/bat1": { "custom/bat1": {
"exec": "~/.config/waybar/scripts/battery.py BAT1", "exec": "~/.config/waybar/scripts/battery.py BAT1",
"return-type": "json", "return-type": "json",