Drop waybar and swaync from the desktop set
Both are marked 'kept as a reserve' in the Arch config, a note left over from the migration to the Quickshell bar. A fresh setup has no reason to carry them, so the packages, their configs and the waybar-only helper scripts stay out.
This commit is contained in:
+12
-6
@@ -34,7 +34,14 @@ let
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm755 defaults/bin/moonarch-* -t "$out/bin/"
|
||||
# moonarch-waybar* are excluded: waybar is not part of this setup, the
|
||||
# Quickshell bar replaced it.
|
||||
for f in defaults/bin/moonarch-*; do
|
||||
case "$(basename "$f")" in
|
||||
moonarch-waybar*) continue ;;
|
||||
esac
|
||||
install -Dm755 "$f" -t "$out/bin/"
|
||||
done
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
@@ -56,8 +63,6 @@ in
|
||||
"niri/config.kdl".source = "${xdg}/niri/config.kdl";
|
||||
"xdg/niri/config.kdl".source = "${xdg}/niri/config.kdl";
|
||||
"xdg/quickshell/moonarch".source = "${xdg}/quickshell/moonarch";
|
||||
"xdg/waybar".source = "${xdg}/waybar";
|
||||
"xdg/swaync".source = "${xdg}/swaync";
|
||||
"xdg/foot/foot.ini".source = "${xdg}/foot/foot.ini";
|
||||
"xdg/fastfetch/config.jsonc".source = "${xdg}/fastfetch/config.jsonc";
|
||||
"xdg/kanshi/config".source = "${xdg}/kanshi/config";
|
||||
@@ -160,10 +165,11 @@ in
|
||||
xwayland-satellite
|
||||
kanshi
|
||||
|
||||
# Bar, notifications, clipboard
|
||||
waybar
|
||||
# Bar, notifications, clipboard.
|
||||
# Neither waybar nor swaync are installed: the Quickshell bar owns both
|
||||
# roles. The "kept as a reserve" notes in the Arch config date from the
|
||||
# migration and do not apply to a fresh setup.
|
||||
quickshell
|
||||
swaynotificationcenter
|
||||
libnotify
|
||||
cliphist
|
||||
wl-clipboard
|
||||
|
||||
@@ -80,9 +80,6 @@
|
||||
Type = "simple";
|
||||
ExecStartPre = "${pkgs.coreutils}/bin/sleep 2";
|
||||
ExecStart = "${lib.getExe pkgs.wlsunset} -T 6500 -t 5000 -S 00:00 -s 00:01";
|
||||
# Leading '-' keeps a missing waybar non-fatal, otherwise pkill's exit 1
|
||||
# fails the unit and Restart=on-failure spins it in a flicker loop.
|
||||
ExecStartPost = "-${pkgs.procps}/bin/pkill -RTMIN+11 waybar";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 3;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user