format
This commit is contained in:
parent
27a77c6ddd
commit
fc366d7bf2
2 changed files with 41 additions and 40 deletions
|
@ -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
|
||||
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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 = "{}";
|
||||
|
|
Loading…
Reference in a new issue