This commit is contained in:
Adithya 2023-03-17 00:15:25 +05:30
parent 27a77c6ddd
commit fc366d7bf2
No known key found for this signature in database
GPG key ID: 0C7F35F4F821290F
2 changed files with 41 additions and 40 deletions

View file

@ -70,7 +70,8 @@
sudo = "/run/wrappers/bin/sudo";
cpupower = "${osConfig.boot.kernelPackages.cpupower}/bin/cpupower";
powerprofilesctl = "${pkgs.power-profiles-daemon}/bin/powerprofilesctl";
in {
in
{
executable = true;
text = ''
#!/bin/sh
@ -107,7 +108,6 @@
*)
;;
esac
'';
};
};

View file

@ -91,7 +91,8 @@
"custom/power_profile" =
let
script = "${config.xdg.configHome}/scripts/power_profile.sh";
in {
in
{
exec = "${script} icon";
on-click = "${script} toggle";
format = "{}";