Add installer script
This commit is contained in:
parent
98a25db171
commit
4a3f298611
|
@ -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
|
Loading…
Reference in New Issue