Make power menu functional
This commit is contained in:
parent
806d8c41df
commit
12ffd6521d
3 changed files with 4 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
home.packages = with pkgs; [
|
||||
(pkgs.callPackage ./power.nix { })
|
||||
wmctrl # TODO: add as dependency of rofi-power
|
||||
];
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ substituteAll }:
|
||||
{ pkgs, substituteAll }:
|
||||
|
||||
substituteAll {
|
||||
name = "rofi-power";
|
||||
src = ./power.sh;
|
||||
inherit = wmctrl;
|
||||
|
||||
dir = "bin";
|
||||
isExecutable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue