commit 93f93fbbcddab12f0ba46027b8dba1b23f09667f
parent ee1d5cd837ed82cf69eb42f115e07d8eaba7d11f
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date: Thu, 8 Sep 2022 16:14:03 -0500
Changed XDG user directories
Diffstat:
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/linux/.config/user-dirs.dirs b/linux/.config/user-dirs.dirs
@@ -0,0 +1,4 @@
+XDG_DOWNLOAD_DIR="$HOME/dl"
+XDG_DOCUMENTS_DIR="$HOME/dox"
+XDG_PICTURES_DIR="$HOME/pix"
+XDG_VIDEOS_DIR="$HOME/vids"
diff --git a/linux/.local/bin/imca b/linux/.local/bin/imca
@@ -1,7 +1,7 @@
#!/bin/bash -v
-mkdir -p ~/Documents/Development/imca
-cd ~/Documents/Development/imca
+mkdir -p ~/dox/dev/imca
+cd ~/dox/dev/imca
# Clone repositories
[ -d flask_imca ] || git clone git@gitlab.com:pablo-cardenas/flask_imca.git flask_imca
@@ -41,8 +41,8 @@ echo $PWD
if ! tmux has-session -t imca; then
tmux new-session -s imca -n main -d
- tmux split-window -h -t imca -c ~/Documents/Development/imca/flask_imca
- tmux split-window -h -t imca -c ~/Documents/Development/imca/webpack-imca
+ tmux split-window -h -t imca -c flask_imca
+ tmux split-window -h -t imca -c webpack-imca
tmux select-layout -t imca main-vertical
tmux send-keys -t imca:0.0 'source venv/bin/activate' C-m
diff --git a/linux/.local/bin/thesis b/linux/.local/bin/thesis
@@ -1,7 +1,7 @@
#!/bin/bash
-mkdir -p $HOME/Documents/dev/thesis
-cd $HOME/Documents/dev/thesis
+mkdir -p $HOME/dox/dev/thesis
+cd $HOME/dox/dev/thesis
if ! tmux has-session -t thesis 2>/dev/null; then
tmux new-session -s thesis -n editor -d