Update flake
This commit is contained in:
@@ -23,6 +23,20 @@
|
||||
waybar
|
||||
networkmanagerapplet
|
||||
blueman
|
||||
|
||||
# aus deiner Home-Manager-Konfiguration
|
||||
wofi
|
||||
grim
|
||||
swaynotificationcenter
|
||||
swaylock
|
||||
hyprpaper
|
||||
lxsession
|
||||
hyprshot
|
||||
wayvnc
|
||||
pamixer
|
||||
pavucontrol
|
||||
brightnessctl
|
||||
python313Packages.requests
|
||||
];
|
||||
|
||||
runtimePath = pkgs.lib.makeBinPath runtimePackages;
|
||||
@@ -36,6 +50,14 @@
|
||||
export PATH=${runtimePath}:$PATH
|
||||
exec ${hypr}/bin/Hyprland --config ${configFile}
|
||||
'';
|
||||
|
||||
startHyprlandScript = pkgs.writeShellScript "start-hyprland" ''
|
||||
export PATH=${runtimePath}:$PATH
|
||||
|
||||
export XDG_CONFIG_HOME=${configDir}
|
||||
|
||||
exec ${hypr}/bin/start-hyprland --config ${configFile}
|
||||
'';
|
||||
in
|
||||
{
|
||||
apps.${system} = {
|
||||
@@ -48,6 +70,11 @@
|
||||
type = "app";
|
||||
program = "${runScript}";
|
||||
};
|
||||
|
||||
start-hyprland = {
|
||||
type = "app";
|
||||
program = "${startHyprlandScript}";
|
||||
};
|
||||
};
|
||||
|
||||
packages.${system}.default = pkgs.runCommand "hyprland-config-check" { } ''
|
||||
|
||||
Reference in New Issue
Block a user