From aecfb9bd93b10a0219bdc5814abc4800892ca6e9 Mon Sep 17 00:00:00 2001 From: dataprolet Date: Mon, 27 May 2024 13:01:15 +0000 Subject: [PATCH] Fix dirs --- installer.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/installer.sh b/installer.sh index aa18df7..05362cb 100644 --- a/installer.sh +++ b/installer.sh @@ -1,20 +1,20 @@ #/bin/bash # Create systemd user directory -mkdir -p "~/.config/systemd/user" +mkdir -p ~/.config/systemd/user # Copy unit files -cp theme-switcher.service "~/.config/systemd/user" -cp theme-switcher.timer "~/.config/systemd/user" +cp theme-switcher.service ~/.config/systemd/user +cp theme-switcher.timer ~/.config/systemd/user # Add username to service file sed -i "s/username/$(whoami)/g" ~/.config/systemd/user/theme-switcher.service # Make directory for scripts -mkdir -p "~/.theme-switcher" +mkdir -p ~/.theme-switcher # Copy script file -cp *.sh "~/.theme-switcher" +cp *.sh ~/.theme-switcher # Enable and start timer systemctl --user enable theme-switcher.timer