fix kde connect commands

This commit is contained in:
Lillian Violet 2026-03-12 16:04:05 +01:00
parent 22f8b6548e
commit 2d7e7bee3c

View file

@ -19,7 +19,7 @@
Type = "oneshot"; Type = "oneshot";
ExecStart = "${pkgs.writeShellScript "set-kde-connect-commands" '' ExecStart = "${pkgs.writeShellScript "set-kde-connect-commands" ''
#!/run/current-system/sw/bin/bash #!/run/current-system/sw/bin/bash
find ${config.home.homeDirectory}/.config/kdeconnect/ -type d -name 'kdeconnect_runcommand' -execdir mkdir -p {}/config \; -execdir cp -rf ${builtins.toPath ./kde-connect-commands} {}/config \; -execdir chmod --recursive +rwx {}/config/ \; find ${config.home.homeDirectory}/.config/kdeconnect/ -type d -name 'kdeconnect_runcommand' -execdir cp -rf ${builtins.toPath ./kde-connect-commands} {}/ \; -execdir mv -f {}/kde-connect-commands {}/config \;
''}"; ''}";
RemainAfterExit = true; RemainAfterExit = true;
}; };