This commit is contained in:
Hadi
2024-03-12 22:03:42 +01:00
parent 98ecdbbcaa
commit 8e307bfea3
6 changed files with 208 additions and 129 deletions

View File

@@ -15,6 +15,7 @@ let
--border-label "Wallpaper" ) || exit 1
swww img $choosed_wallpaper
cp $choosed_wallpaper $HOME/.config/wallpaper/default.png
'';
menu = pkgs.writeShellScriptBin "menu" ''
@@ -25,6 +26,10 @@ let
fi
'';
powermenu = pkgs.writeShellScriptBin "powermenu" ''
${pkgs.wlogout}/bin/wlogout
'';
wireguard-import = pkgs.writeShellScriptBin "wireguard-import" ''
nmcli connection import type wireguard file "$0"
'';
@@ -69,5 +74,11 @@ let
'';
in {
home.packages = with pkgs; [ wallpaper menu wireguard-import choose-output ];
home.packages = with pkgs; [
wallpaper
menu
wireguard-import
choose-output
powermenu
];
}