simplify setup.sh & change git server url

This commit is contained in:
Mans Ziesel 2024-09-05 17:11:07 +02:00
parent 55a2d3cbba
commit e997e96d44
4 changed files with 11 additions and 21 deletions

View File

@ -3,8 +3,13 @@
name = Mans Ziesel
signingkey = /home/mans/.ssh/id_rsa.pub
[url "git@git.mzsl.nl:"]
[url "git@git.mziesel.nl:"]
insteadOf = https://git.mzsl.nl/
[url "git@git.mziesel.nl:"]
insteadOf = https://git.mziesel.nl/
[url "git@git.mziesel.nl:"]
insteadOf = git@git.mzsl.nl:
[gpg]
format = ssh
[init]

View File

@ -436,9 +436,6 @@ exec --no-startup-id /usr/bin/dunst
# networkmanager-applet
#exec --no-startup-id nm-applet
# clipman-applet
exec --no-startup-id xfce4-clipman
##################
# floating rules #
##################

View File

@ -30,11 +30,10 @@ exec --no-startup-id xset -dpms
exec --no-startup-id xset s off
# Autostart apps as you like
exec --no-startup-id sleep 3 && spotify
# exec --no-startup-id sleep 3 && spotify
exec --no-startup-id sleep 3 && birdtray
# exec --no-startup-id sleep 3 && discord
exec --no-startup-id sleep 3 && opensnitch-ui
# exec --no-startup-id sleep 3 && obsidian
exec --no-startup-id sleep 3 && obsidian
exec --no-startup-id xfce4-clipman
bar {

View File

@ -4,12 +4,8 @@
git submodule init
git submodule update
# what directories should be installable by all users including the root user
base=(
)
# folders that should, or only need to be installed for a local user
useronly=(
configs=(
bin
git
i3
@ -32,16 +28,9 @@ stowit() {
echo ""
echo "Stowing apps for user: $(whoami)"
# install apps available to local users and root
for app in "${base[@]}"; do
stowit "${HOME}" "$app"
done
# install only user space folders
for app in "${useronly[@]}"; do
if [[ ! "$(whoami)" = *"root"* ]]; then
stowit "${HOME}" "$app"
fi
for config in "${configs[@]}"; do
stowit "${HOME}" "$config"
done
echo ""