Adds battery
This commit is contained in:
+9
-4
@@ -19,9 +19,9 @@
|
||||
"hyprland/workspaces",
|
||||
"custom/cpu",
|
||||
"custom/mem",
|
||||
"battery",
|
||||
"custom/battery",
|
||||
"tray",
|
||||
"clock",
|
||||
"clock"
|
||||
],
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
@@ -136,11 +136,16 @@
|
||||
"spacing": 5
|
||||
},
|
||||
"custom/cpu": {
|
||||
"exec": "head -n 1 ~/.config/dotfiles/hypr/.stat.txt",
|
||||
"exec": "sed '1q;d' ~/.config/dotfiles/hypr/.stat.txt",
|
||||
"restart-interval": 2
|
||||
},
|
||||
"custom/mem": {
|
||||
"exec": "tail -n 1 ~/.config/dotfiles/hypr/.stat.txt",
|
||||
"exec": "sed '2q;d' ~/.config/dotfiles/hypr/.stat.txt",
|
||||
"restart-interval": 2
|
||||
},
|
||||
"custom/battery": {
|
||||
"exec": "sed '3q;d' ~/.config/dotfiles/hypr/.stat.txt",
|
||||
"return-type": "json",
|
||||
"restart-interval": 2
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user