Compare commits

..

No commits in common. "fe5f98d8c8d49567763f62e669eaf9b9200467a9" and "107ab1fefd92e1ae7361008e2c22155bd42f8b0b" have entirely different histories.

View File

@ -63,7 +63,7 @@ in {
eza
ripgrep
fd
nixfmt-rfc-style
nixfmt
gtk2
lxappearance
webcord
@ -84,7 +84,6 @@ in {
helvum
brightnessctl
keyd
tidal-hifi
] ++ [ go (lib.hiPrio gotools) ] ++ [ age age-plugin-yubikey passage ]
++ [
libsForQt5.qtstyleplugins
@ -431,20 +430,8 @@ in {
};
services = {
swww-daemon = {
Service =
let
cleanup-socket-script = pkgs.writeShellScript "swww-daemon-cleanup-socket" ''
# Remove the existing swww.socket if it exists, avoids some issues with swww-daemon
# startup where swww-daemon claims the address is already in use
if [[ -w "$XDG_RUNTIME_DIR/swww.socket" ]]; then
rm -f $XDG_RUNTIME_DIR/swww.socket || exit 1
fi
'';
in {
Service = {
RestartSec = 3;
PassEnvironment = [ "XDG_RUNTIME_DIR" ];
ExecStartPre = "${cleanup-socket-script}";
ExecStopPost = "${cleanup-socket-script}";
ExecStart = "${pkgs.swww}/bin/swww-daemon";
};
Install.WantedBy = [ "compositor.target" ];