feat(waybar): reorder modules
* Move network module to Waybar center * Reorder modules-right: keyboard, idle inhibitor, cpu, memory, backlight, audio, battery, clock, tray, power.
This commit is contained in:
@@ -14,20 +14,19 @@
|
|||||||
],
|
],
|
||||||
|
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
|
"network",
|
||||||
],
|
],
|
||||||
|
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"network",
|
|
||||||
"idle_inhibitor",
|
|
||||||
"memory",
|
|
||||||
"cpu",
|
|
||||||
"pulseaudio",
|
|
||||||
"custom/keyboard-layout",
|
"custom/keyboard-layout",
|
||||||
"battery",
|
"idle_inhibitor",
|
||||||
|
"cpu",
|
||||||
|
"memory",
|
||||||
"backlight",
|
"backlight",
|
||||||
|
"pulseaudio",
|
||||||
|
"battery",
|
||||||
"clock",
|
"clock",
|
||||||
"tray",
|
"tray",
|
||||||
//"custom/weather",
|
|
||||||
"custom/power",
|
"custom/power",
|
||||||
],
|
],
|
||||||
|
|
||||||
@@ -173,14 +172,6 @@
|
|||||||
"spacing":10,
|
"spacing":10,
|
||||||
},
|
},
|
||||||
|
|
||||||
// to use the weather module replace <your_location> with your city or town
|
|
||||||
// note: do not use spaces: new york would be newyork
|
|
||||||
"custom/weather": {
|
|
||||||
"exec": "~/.config/waybar/scripts/weather.sh <your_location>",
|
|
||||||
"return-type": "json",
|
|
||||||
"interval": 600,
|
|
||||||
},
|
|
||||||
|
|
||||||
"custom/power": {
|
"custom/power": {
|
||||||
"format":"⏻",
|
"format":"⏻",
|
||||||
"on-click": "exec ~/.config/sway/scripts/power_menu.sh",
|
"on-click": "exec ~/.config/sway/scripts/power_menu.sh",
|
||||||
|
|||||||
Reference in New Issue
Block a user