continue refactor

This commit is contained in:
2025-08-25 15:14:10 -05:00
parent dffc249cf5
commit 2c08f3f50e
11 changed files with 286 additions and 189 deletions

View File

@@ -16,11 +16,7 @@
echo //////Enter to close//////
read
'')
(pkgs.writeShellScriptBin "_homeRebuild" ''
${pkgs.nh}/bin/nh home switch --ask /home/nathan/Projects/Olympus
echo //////Enter to close//////
read
'')
(pkgs.writeShellScriptBin "randWallpaper" ''
file=$(ls /home/nathan/Pictures/Wallpaper/ | shuf -n 1)
@@ -62,8 +58,6 @@
pywalfox update &
themecord > ~/.cache/_.txt && rm ~/.cache/_.txt
[[ $(pidof cava) != "" ]] && pkill -USR1 cava &
for i in $(ls /run/user/1000 | grep nvim); do nvr -s --servername /run/user/1000/$i --remote-send '<cmd>colorscheme pywal<CR>'; done
@@ -71,25 +65,35 @@
pkill -USR1 kitty
'')
(pkgs.writeShellScriptBin "onSystemStart" ''
(pkgs.writeShellScriptBin "onSystemStart"
(if config.homeconfig.ags.enable then ''
${pkgs.swww}/bin/swww-daemon &
randWallpaper &
ags &
'' else if config.homeconfig.hyprpanel.enable then ''
${pkgs.hyprpanel}/bin/hyprpanel &
'' else '''' + ''
randWallpaper &
pypr &
lxqt-policykit-agent &
# nmcli device wifi connect EagleNet password '~?C#@ZiH' &
hyprctl setcursor Bibata-Modern-Classic 16 &
sleep 3
hyprctl reload &
#tmux new-session -s hyprland
'')
''))
(pkgs.writeShellScriptBin "colorPrefix" ''
exec -a "$0" "$@" &
sleep 0.4 && changeColors &
'')
];
] ++ (if config.homeconfig.standalone then [
(pkgs.writeShellScriptBin "_homeRebuild" ''
${pkgs.nh}/bin/nh home switch --ask /home/nathan/Projects/Olympus
echo //////Enter to close//////
read
'')
] else []);
};
}