Compare commits
No commits in common. "fe5f98d8c8d49567763f62e669eaf9b9200467a9" and "107ab1fefd92e1ae7361008e2c22155bd42f8b0b" have entirely different histories.
fe5f98d8c8
...
107ab1fefd
@ -63,7 +63,7 @@ in {
|
|||||||
eza
|
eza
|
||||||
ripgrep
|
ripgrep
|
||||||
fd
|
fd
|
||||||
nixfmt-rfc-style
|
nixfmt
|
||||||
gtk2
|
gtk2
|
||||||
lxappearance
|
lxappearance
|
||||||
webcord
|
webcord
|
||||||
@ -84,7 +84,6 @@ in {
|
|||||||
helvum
|
helvum
|
||||||
brightnessctl
|
brightnessctl
|
||||||
keyd
|
keyd
|
||||||
tidal-hifi
|
|
||||||
] ++ [ go (lib.hiPrio gotools) ] ++ [ age age-plugin-yubikey passage ]
|
] ++ [ go (lib.hiPrio gotools) ] ++ [ age age-plugin-yubikey passage ]
|
||||||
++ [
|
++ [
|
||||||
libsForQt5.qtstyleplugins
|
libsForQt5.qtstyleplugins
|
||||||
@ -431,20 +430,8 @@ in {
|
|||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
swww-daemon = {
|
swww-daemon = {
|
||||||
Service =
|
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 {
|
|
||||||
RestartSec = 3;
|
RestartSec = 3;
|
||||||
PassEnvironment = [ "XDG_RUNTIME_DIR" ];
|
|
||||||
ExecStartPre = "${cleanup-socket-script}";
|
|
||||||
ExecStopPost = "${cleanup-socket-script}";
|
|
||||||
ExecStart = "${pkgs.swww}/bin/swww-daemon";
|
ExecStart = "${pkgs.swww}/bin/swww-daemon";
|
||||||
};
|
};
|
||||||
Install.WantedBy = [ "compositor.target" ];
|
Install.WantedBy = [ "compositor.target" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user