diff --git a/installer.sh b/installer.sh new file mode 100644 index 0000000..71d20bf --- /dev/null +++ b/installer.sh @@ -0,0 +1,17 @@ +#/bin/bash + +# Create systemd user directory +mkdir -p "~/.config/systemd/user" + +# Copy unit files +cp theme-switcher.{timer,service} "~/.config/systemd/user" + +# Make directory for scripts +mkdir -p "~/.theme-switcher" + +# Copy script file +cp *.sh "~/.theme-switcher" + +# Enable and start timer +systemctl --user enable theme-switcher.timer +systemctl --user start theme-switcher \ No newline at end of file