about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-29 00:25:15 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-29 00:25:15 +0200
commitd8f254c5ac258c31a1be7fe8a3ba895b043758c9 (patch)
tree155baa0c106021418123b55698ca865bb8137130
parentMove git-crypt to system packages (diff)
downloadnixos-config-d8f254c5ac258c31a1be7fe8a3ba895b043758c9.tar.gz
nixos-config-d8f254c5ac258c31a1be7fe8a3ba895b043758c9.tar.bz2
nixos-config-d8f254c5ac258c31a1be7fe8a3ba895b043758c9.zip
Create ~/src dev folder if it doesnt exist
-rw-r--r--dotfiles/.xinitrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/.xinitrc b/dotfiles/.xinitrc
index b6f5623..d00995d 100644
--- a/dotfiles/.xinitrc
+++ b/dotfiles/.xinitrc
@@ -44,6 +44,11 @@ fi
 # NEEDED FOR CHROMEBOOK
 [[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap
 
+# CREATE SRC DEV FOLDER IF IT DOESNT EXIST
+if [[ ! -d ~/src ]]; then
+  mkdir ~/src
+fi
+
 xrandr --auto
 #xrandr -s 1920x1080 &