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