Move powermenu definitions into rofi expression
This commit is contained in:
parent
61d7f404d8
commit
0c59117518
|
@ -1 +0,0 @@
|
|||
with import <nixpkgs> { }; writeShellScriptBin "power-profiles" builtins.readFile ./scripts/power-profiles
|
|
@ -1 +0,0 @@
|
|||
with import <nixpkgs> { }; writeShellScriptBin "powermenu" builtins.readFile ./scripts/powermenu
|
|
@ -1,7 +1,11 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
powermenu = pkgs.writeShellScriptBin "powermenu" (builtins.readFile ./scripts/powermenu);
|
||||
power-profiles = pkgs.writeShellScriptBin "power-profiles" (builtins.readFile ./scripts/power-profiles);
|
||||
in
|
||||
{
|
||||
imports = [ ./powermenu.nix ./power-profiles.nix ../gui/foot.nix ];
|
||||
home.packages = with pkgs; [ papirus-icon-theme ];
|
||||
imports = [ ../gui/foot.nix ];
|
||||
home.packages = with pkgs; [ papirus-icon-theme powermenu power-profiles ];
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
location = "center";
|
||||
|
|
Loading…
Reference in a new issue