Added powermenu
This commit is contained in:
@@ -1636,6 +1636,7 @@ This module will import all necessities.
|
||||
./desktop/hyprlock.nix
|
||||
./desktop/hyprscrolling.nix
|
||||
./desktop/hyprshell.nix
|
||||
./desktop/powermenu.nix
|
||||
#./desktop/animated_wallpaper.nix
|
||||
#./desktop/rotating_wallpaper.nix
|
||||
./desktop/workspace_wallpaper.nix
|
||||
@@ -1657,6 +1658,24 @@ This module will import all necessities.
|
||||
}
|
||||
#+end_src
|
||||
|
||||
** Powermenu
|
||||
Creates a script for a powermenu
|
||||
#+begin_src nix :tangle home/desktop/powermenu.nix :noweb tangle :mkdirp yes
|
||||
{ config, lib, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
repoScript =
|
||||
flakeRoot + "/assets/conf/desktop/hypr/scripts/powermenu.sh";
|
||||
targetRel = "hypr/scripts/powermenu.sh";
|
||||
in
|
||||
{
|
||||
# Ensure script exists in ~/.config/hypr/scripts/
|
||||
xdg.configFile."${targetRel}" = {
|
||||
source = repoScript;
|
||||
executable = true;
|
||||
};
|
||||
}
|
||||
#+end_src
|
||||
|
||||
** Animated Wallpaper
|
||||
userRelRoot = "nixos_conf/wallpaperstuff";
|
||||
animated_wallpaper.nix installs mpvpaper and deploys your wallpaper files from the repo (./assets/conf/desktop/wallpaper) into ~/conf/desktop/wallpaper/pictures.
|
||||
|
||||
Reference in New Issue
Block a user