Merge dat battery branch

Merge branch 'submodules'
This commit is contained in:
2026-03-05 17:32:48 +00:00
4 changed files with 36 additions and 0 deletions

View File

@@ -4,6 +4,14 @@ A collection of Linux scripts and configs for use across multiple machines.
## Installation ## Installation
### Submodules
After cloning, pull submodules with:
```bash
git submodule update --init --recursive
```
### Packages ### Packages
Install all packages using `yay`: Install all packages using `yay`:

View File

@@ -14,6 +14,7 @@
"memory", "memory",
"disk", "disk",
"network", "network",
"battery",
"clock", "clock",
"tray" "tray"
], ],
@@ -94,6 +95,14 @@
"tooltip": false "tooltip": false
}, },
"battery": {
"format": "BAT: {capacity}%",
"format-charging": "BAT: {capacity}% CHR",
"format-plugged": "BAT: {capacity}% PLG",
"interval": 30,
"tooltip": false
},
"clock": { "clock": {
"format": "{:%Y-%m-%d %H:%M}", "format": "{:%Y-%m-%d %H:%M}",
"interval": 1, "interval": 1,

View File

@@ -55,6 +55,7 @@ window#waybar {
#memory, #memory,
#disk, #disk,
#network, #network,
#battery,
#clock { #clock {
padding: 0 10px; padding: 0 10px;
color: #C792EA; color: #C792EA;
@@ -68,10 +69,19 @@ window#waybar {
#memory, #memory,
#disk, #disk,
#network, #network,
#battery,
#clock { #clock {
border-left: 1px solid #FF79C6; border-left: 1px solid #FF79C6;
} }
#battery.warning {
color: #FFB86C;
}
#battery.critical {
color: #FF5370;
}
#custom-greetings { #custom-greetings {
color: #f5af19; color: #f5af19;
} }

View File

@@ -14,6 +14,7 @@
"memory", "memory",
"disk", "disk",
"network", "network",
"battery",
"clock", "clock",
"tray" "tray"
], ],
@@ -95,6 +96,14 @@
"tooltip": false "tooltip": false
}, },
"battery": {
"format": "BAT: {capacity}%",
"format-charging": "BAT: {capacity}% CHR",
"format-plugged": "BAT: {capacity}% PLG",
"interval": 30,
"tooltip": false
},
"clock": { "clock": {
"format": "{:%Y-%m-%d %H:%M}", "format": "{:%Y-%m-%d %H:%M}",
"interval": 1, "interval": 1,