simplify setup.sh & change git server url
This commit is contained in:
parent
55a2d3cbba
commit
e997e96d44
@ -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]
|
||||
|
@ -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 #
|
||||
##################
|
||||
|
@ -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 {
|
||||
|
17
setup.sh
17
setup.sh
@ -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 ""
|
||||
|
Loading…
Reference in New Issue
Block a user