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, ... }:
|
{ 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 ];
|
imports = [ ../gui/foot.nix ];
|
||||||
home.packages = with pkgs; [ papirus-icon-theme ];
|
home.packages = with pkgs; [ papirus-icon-theme powermenu power-profiles ];
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
location = "center";
|
location = "center";
|
||||||
|
|
Loading…
Reference in a new issue