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 name = Mans Ziesel
signingkey = /home/mans/.ssh/id_rsa.pub signingkey = /home/mans/.ssh/id_rsa.pub
[url "git@git.mzsl.nl:"] [url "git@git.mziesel.nl:"]
insteadOf = https://git.mzsl.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] [gpg]
format = ssh format = ssh
[init] [init]

View File

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

View File

@ -30,11 +30,10 @@ exec --no-startup-id xset -dpms
exec --no-startup-id xset s off exec --no-startup-id xset s off
# Autostart apps as you like # 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 && birdtray
# exec --no-startup-id sleep 3 && discord # 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 exec --no-startup-id xfce4-clipman
bar { bar {

View File

@ -4,12 +4,8 @@
git submodule init git submodule init
git submodule update 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 # folders that should, or only need to be installed for a local user
useronly=( configs=(
bin bin
git git
i3 i3
@ -32,16 +28,9 @@ stowit() {
echo "" echo ""
echo "Stowing apps for user: $(whoami)" 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 # install only user space folders
for app in "${useronly[@]}"; do for config in "${configs[@]}"; do
if [[ ! "$(whoami)" = *"root"* ]]; then stowit "${HOME}" "$config"
stowit "${HOME}" "$app"
fi
done done
echo "" echo ""