Update a bunch of configs

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-03-26 20:22:01 +01:00
parent 738f83183f
commit 052fb6bada
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
24 changed files with 474 additions and 68 deletions

13
install
View file

@ -27,6 +27,7 @@ DIRECTORIES=(
"Build"
"Downloads"
"Projects"
"Tasks"
"Videos"
"Pictures"
"Music"
@ -54,15 +55,16 @@ LINKED_FILES_HOME=(
".config/python"
".config/redshift"
".config/streamlink"
".config/task"
".config/termite"
".config/Trolltech.conf"
".config/vim"
".config/vue"
".config/wget"
".config/X11"
".config/zathura"
".config/zsh"
".local/bin"
".config/zathura"
)
# Symlinks which will be created
@ -85,10 +87,10 @@ ADD_GROUPS=(
# Array of systemd services which should be enabled
SYSTEMD_SERVICES=(
"bumblebeed"
"cronie"
"NetworkManager"
"org.cups.cupsd"
"suspend"
)
#######################################
@ -148,6 +150,13 @@ do
add_to_group "${USER}" "${group}"
done
print_section "Copying systemd services"
for file in "${SYSTEM_DIR}/etc/systemd/system/"*
do
print_log "Copy ${YELLOW}$(basename ${file})${RESET} to ${YELLOW}/etc/systemd/system${RESET}"
sudo install -m 644 "${file}" "/etc/systemd/system"
done
print_section "Enabling systemd services"
for service in "${SYSTEMD_SERVICES[@]}"
do