add miao battery percentage thing
This commit is contained in:
parent
0954b39733
commit
31db7d449c
3 changed files with 30 additions and 0 deletions
|
|
@ -22,6 +22,7 @@
|
|||
];
|
||||
modules-right = [
|
||||
"custom/keyboard-state"
|
||||
"custom/miao-battery-percentage"
|
||||
"tray"
|
||||
"clock"
|
||||
];
|
||||
|
|
@ -31,6 +32,11 @@
|
|||
"sway/window" = {
|
||||
max-length = 80;
|
||||
};
|
||||
"custom/miao-battery-percentage" = {
|
||||
return-type = "json";
|
||||
exec = "${lib.getExe self.packages.${pkgs.system}.miao-battery-percentage}";
|
||||
restart-interval = "60";
|
||||
};
|
||||
"custom/keyboard-state" = {
|
||||
return-type = "json";
|
||||
exec = "${lib.getExe self.packages.${pkgs.system}.keyboard-state}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue