Use correct program for power statistics
This commit is contained in:
parent
8b02610d97
commit
4ceb50e33e
40
flake.lock
40
flake.lock
|
@ -7,12 +7,12 @@
|
|||
},
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-0veb/yDBkTJu1HzFZIcNcXIFaWPp+OTyWbe6aYmCWCQ=",
|
||||
"path": "/nix/store/r73gq4az4lwgh699zxnhzhznjigylpbd-source/home/ags",
|
||||
"narHash": "sha256-bzgqyVRLSzpVlm9lthDqBoHXwPtNyyF7wVSwHqv6uts=",
|
||||
"path": "/nix/store/9b9zxfhi3iclwnsav8invy25zasf6bqg-source/home/ags",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/r73gq4az4lwgh699zxnhzhznjigylpbd-source/home/ags",
|
||||
"path": "/nix/store/9b9zxfhi3iclwnsav8invy25zasf6bqg-source/home/ags",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
|
@ -199,11 +199,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1732025103,
|
||||
"narHash": "sha256-qjEI64RKvDxRyEarY0jTzrZMa8ebezh2DEZmJJrpVdo=",
|
||||
"lastModified": 1732793095,
|
||||
"narHash": "sha256-6TrknJ8CpvSSF4gviQSeD+wyj3siRcMvdBKhOXkEMKU=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "a46e702093a5c46e192243edbd977d5749e7f294",
|
||||
"rev": "2f7739d01080feb4549524e8f6927669b61c6ee3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -255,11 +255,11 @@
|
|||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1732100541,
|
||||
"narHash": "sha256-vFeNbKUstvSZbe9TD4bDYozZd+A/bKD+fxCye+p/Mp8=",
|
||||
"lastModified": 1732808926,
|
||||
"narHash": "sha256-ERmNx9ucO32GjDWh4vyLDuHKOs6ERStmlVnaBFi/+xU=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "940f7aa990dbc99815bab8d355999d8277534b17",
|
||||
"revCount": 5484,
|
||||
"rev": "22bf2853e6271932f073961f3dbeb0f9ff48493e",
|
||||
"revCount": 5503,
|
||||
"submodules": true,
|
||||
"type": "git",
|
||||
"url": "https://github.com/hyprwm/Hyprland"
|
||||
|
@ -331,11 +331,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1732041261,
|
||||
"narHash": "sha256-jTvfpYrtaLEKMR3N89hUjIgh18GxnHsEUg1+w8gk4hg=",
|
||||
"lastModified": 1732469616,
|
||||
"narHash": "sha256-U4NBsGjusFc6YjrmoulkeTMrnmuFbFh80Ooua84cHgo=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "09a1f2b89f61b32b3d7a58e8d1eae93653009859",
|
||||
"revCount": 50,
|
||||
"rev": "eebfc7b114f8b0687692b13d0d2f04827aa5145f",
|
||||
"revCount": 52,
|
||||
"type": "git",
|
||||
"url": "https://github.com/shezdy/hyprsplit"
|
||||
},
|
||||
|
@ -480,11 +480,11 @@
|
|||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1731676054,
|
||||
"narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=",
|
||||
"lastModified": 1732521221,
|
||||
"narHash": "sha256-2ThgXBUXAE1oFsVATK1ZX9IjPcS4nKFOAjhPNKuiMn0=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add",
|
||||
"rev": "4633a7c72337ea8fd23a4f2ba3972865e3ec685d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -512,11 +512,11 @@
|
|||
},
|
||||
"nur": {
|
||||
"locked": {
|
||||
"lastModified": 1732106864,
|
||||
"narHash": "sha256-5RWkCir5qDXRbWHQz83bgN0MHadFuReyfYPXUYcQeOs=",
|
||||
"lastModified": 1732825667,
|
||||
"narHash": "sha256-vgzdLgf/PbJgFd5ynAmgGn6O/6wD3+uIPofL/f9eP7s=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "a59251d9f044e153825700bdb65c1a5abd092600",
|
||||
"rev": "98462a96c46ee1696f17d83948ebe44112406db5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
vscode
|
||||
texliveFull
|
||||
zed-editor
|
||||
gnome-power-manager
|
||||
];
|
||||
|
||||
services.hyprpaper = {
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
vscode
|
||||
texliveFull
|
||||
zed-editor
|
||||
gnome-power-manager
|
||||
];
|
||||
|
||||
services.hyprpaper = {
|
||||
|
|
|
@ -152,7 +152,7 @@ function Right() : JSX.Element {
|
|||
|
||||
function BatteryIcon(): JSX.Element {
|
||||
if (!battery) return <box />;
|
||||
return <button className="battery-item" onClicked={() => execAsync(['gnome-power-manager'])}>
|
||||
return <button className="battery-item" onClicked={() => execAsync(['gnome-power-statistics'])}>
|
||||
<box>
|
||||
{
|
||||
bind(battery, "percentage").as((percentage) => {
|
||||
|
|
Loading…
Reference in New Issue