support local config
all devices must define a local waybar config
This commit is contained in:
parent
8c4aa7a8f4
commit
d1e640c06e
1
sway/.config/waybar/.gitignore
vendored
Normal file
1
sway/.config/waybar/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
local
|
|
@ -3,7 +3,9 @@
|
||||||
"position": "bottom",
|
"position": "bottom",
|
||||||
"modules-left": ["custom/power", "sway/workspaces", "sway/mode"],
|
"modules-left": ["custom/power", "sway/workspaces", "sway/mode"],
|
||||||
"modules-center": [],
|
"modules-center": [],
|
||||||
"modules-right": ["tray", "network", "pulseaudio", "custom/weather", "clock"],
|
"include": [
|
||||||
|
"$HOME/.config/waybar/local"
|
||||||
|
],
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:%m/%d %H:%M}"
|
"format": "{:%m/%d %H:%M}"
|
||||||
},
|
},
|
||||||
|
|
|
@ -147,3 +147,15 @@ window#waybar.PCSX2 #window {
|
||||||
padding-right: 16px;
|
padding-right: 16px;
|
||||||
border-radius: 26px;
|
border-radius: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#battery {
|
||||||
|
margin-top: 8px;
|
||||||
|
margin-left: 8px;
|
||||||
|
padding-left: 16px;
|
||||||
|
padding-right: 16px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
border-radius: 26px;
|
||||||
|
transition: none;
|
||||||
|
color: #4d4d4d;
|
||||||
|
background: #a3be8c;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue