]> git.immae.eu Git - perso/Immae/Config/dotdrop.git/commitdiff
Add xorg links and default dirs
authorIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 20 Oct 2018 15:48:41 +0000 (17:48 +0200)
committerIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 20 Oct 2018 15:48:41 +0000 (17:48 +0200)
config.yaml

index 1c17123d7e67f5a49b032ada70829d8d10103c40..066b9dd2a691d27ccc4f07e0c6d9f5f5f693b430 100644 (file)
@@ -12,11 +12,12 @@ actions:
     vim_pluginstall: vim -c PlugInstall -c qa
   pre:
     make_bash_dirs: mkdir -p "$XDG_STATE_HOME/bash" "$XDG_STATE_HOME/less"
-    make_git_dirs: mkdir -p "$XDG_STATE_HOME/tig"
+    make_git_dirs: mkdir -p "$XDG_STATE_HOME/tig" && ln -s "$XDG_STATE_HOME/tig" "$XDG_DATA_HOME/tig"
     make_pm2_dirs: mkdir -p "$XDG_CONFIG_HOME/pm2"
     make_psql_dirs: mkdir -p "$XDG_STATE_HOME/psql"
     make_xdg_dirs: mkdir -p "$XDG_CONFIG_HOME" "$XDG_STATE_HOME" "$XDG_DATA_HOME"
-      "$XDG_CACHE_HOME"
+      "$XDG_CACHE_HOME" "$HOME/Desktop" "$HOME/Downloads"
+    make_xorg_link: mkdir "$XDG_STATE_HOME/xorg" && ln -s "$XDG_STATE_HOME/xorg" "$XDG_DATA_HOME/xorg"
 config:
   backup: false
   banner: false
@@ -49,6 +50,8 @@ dotfiles:
     dst: ~/.config
     src: git/config_files
   graphical_config_files:
+    actions:
+    - make_xorg_link
     dst: ~/.config
     src: graphical/config_files
   graphical_mimeapps_list: