summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh18
1 files changed, 10 insertions, 8 deletions
diff --git a/install.sh b/install.sh
index aa37dc1..175e9aa 100644
--- a/install.sh
+++ b/install.sh
@@ -1,28 +1,30 @@
#!/bin/bash
+echo ${XDG_CONFIG_HOME:=$HOME/.config}
+
# Link at home folder
-stow --dotfiles -Rt ~ bash tmux git
+stow --dotfiles -Rt$HOME bash tmux git
# Link at XDG_CONFIG_HOME if set, if not to $HOME/.config (they should be the same)
-stow -Rt ${XDG_CONFIG_HOME:=$HOME/.config} nvim
+stow -Rt $XDG_CONFIG_HOME nvim
# konsole colors
# stow -Rt "${XDG_CONFIG_HOME:=$HOME/.config}/konsole" konsole
# kitty
-stow -Rt ${XDG_CONFIG_HOME:=$HOME/.config} kitty
+stow -Rt $XDG_CONFIG_HOME kitty
# Guix channels
-stow -Rt "${XDG_CONFIG_HOME:=$HOME/.config}/guix" guix
+stow -Rt "$XDG_CONFIG_HOME/guix" guix
# i3
-stow -Rt ${XDG_CONFIG_HOME:=$HOME/.config} i3
-stow -Rt ${XDG_CONFIG_HOME:=$HOME/.config} i3status
+stow -Rt $XDG_CONFIG_HOME i3
+stow -Rt $XDG_CONFIG_HOME i3status
# Plasma session environment variables
#stow -Rt "${XDG_CONFIG_HOME:=$HOME/.config}/plasma-workspace/env" plasma-env
# Shepherd user services
-stow -Rt ${XDG_CONFIG_HOME:=$HOME/.config} shepherd
+stow -Rt $XDG_CONFIG_HOME shepherd
# Redshift
-stow -Rt ${XDG_CONFIG_HOME:=$HOME/.config} redshift
+stow -Rt $XDG_CONFIG_HOME redshift