diff options
-rw-r--r-- | roles/init/files/user_dirs/user-dirs.dirs | 2 | ||||
-rw-r--r-- | roles/init/templates/pam_environment.j2 | 1 | ||||
-rw-r--r-- | roles/shell/bash/templates/bash_profile.j2 | 3 | ||||
-rwxr-xr-x | roles/tools/files/gio_unwrapper.sh | 2 | ||||
-rw-r--r-- | roles/tools/files/vimrc | 1 | ||||
-rw-r--r-- | roles/tools/tasks/main.yml | 2 |
6 files changed, 7 insertions, 4 deletions
diff --git a/roles/init/files/user_dirs/user-dirs.dirs b/roles/init/files/user_dirs/user-dirs.dirs index fd59b25..0c320a4 100644 --- a/roles/init/files/user_dirs/user-dirs.dirs +++ b/roles/init/files/user_dirs/user-dirs.dirs | |||
@@ -5,7 +5,7 @@ | |||
5 | # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an | 5 | # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an |
6 | # absolute path. No other format is supported. | 6 | # absolute path. No other format is supported. |
7 | # | 7 | # |
8 | XDG_DESKTOP_DIR="$HOME" | 8 | XDG_DESKTOP_DIR="$HOME/" |
9 | XDG_DOWNLOAD_DIR="$HOME/Downloads" | 9 | XDG_DOWNLOAD_DIR="$HOME/Downloads" |
10 | XDG_TEMPLATES_DIR="$HOME" | 10 | XDG_TEMPLATES_DIR="$HOME" |
11 | XDG_PUBLICSHARE_DIR="$HOME" | 11 | XDG_PUBLICSHARE_DIR="$HOME" |
diff --git a/roles/init/templates/pam_environment.j2 b/roles/init/templates/pam_environment.j2 index 422b98d..e75726c 100644 --- a/roles/init/templates/pam_environment.j2 +++ b/roles/init/templates/pam_environment.j2 | |||
@@ -47,6 +47,7 @@ SSH_AGENT_PID DEFAULT= | |||
47 | SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/gnupg/{{ gnupg_runtime_dir_cmd.stdout }}/S.gpg-agent.ssh" | 47 | SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/gnupg/{{ gnupg_runtime_dir_cmd.stdout }}/S.gpg-agent.ssh" |
48 | 48 | ||
49 | # Less | 49 | # Less |
50 | LESS DEFAULT="-iqFMRSX" | ||
50 | LESSHISTFILE DEFAULT="${XDG_STATE_HOME}/less/history" | 51 | LESSHISTFILE DEFAULT="${XDG_STATE_HOME}/less/history" |
51 | 52 | ||
52 | # Pass | 53 | # Pass |
diff --git a/roles/shell/bash/templates/bash_profile.j2 b/roles/shell/bash/templates/bash_profile.j2 index f622f67..5be21a9 100644 --- a/roles/shell/bash/templates/bash_profile.j2 +++ b/roles/shell/bash/templates/bash_profile.j2 | |||
@@ -2,7 +2,8 @@ | |||
2 | # This file is loaded thanks to as line in /etc/profile | 2 | # This file is loaded thanks to as line in /etc/profile |
3 | # test "$BASH" && test -r "$XDG_CONFIG_HOME/bash/bash_profile" && . $XDG_CONFIG_HOME/bash/bash_profile | 3 | # test "$BASH" && test -r "$XDG_CONFIG_HOME/bash/bash_profile" && . $XDG_CONFIG_HOME/bash/bash_profile |
4 | 4 | ||
5 | [[ -f $XDG_CONFIG_HOME/bash/bashrc ]] && . $XDG_CONFIG_HOME/bash/bashrc | 5 | # Loaded by /etc/profile already |
6 | # [[ -f $XDG_CONFIG_HOME/bash/bashrc ]] && . $XDG_CONFIG_HOME/bash/bashrc | ||
6 | {% if "graphical_vt" in features.get(profile, []) %} | 7 | {% if "graphical_vt" in features.get(profile, []) %} |
7 | 8 | ||
8 | if [[ ! $DISPLAY && $XDG_VTNR -eq {{ lookup('env', "XDG_VTNR") | default(1, true) }} ]]; then | 9 | if [[ ! $DISPLAY && $XDG_VTNR -eq {{ lookup('env', "XDG_VTNR") | default(1, true) }} ]]; then |
diff --git a/roles/tools/files/gio_unwrapper.sh b/roles/tools/files/gio_unwrapper.sh index 5629b28..59886d6 100755 --- a/roles/tools/files/gio_unwrapper.sh +++ b/roles/tools/files/gio_unwrapper.sh | |||
@@ -13,7 +13,7 @@ | |||
13 | # environments) | 13 | # environments) |
14 | 14 | ||
15 | if [ -n "$GIO_LAUNCHED_DESKTOP_FILE" ]; then | 15 | if [ -n "$GIO_LAUNCHED_DESKTOP_FILE" ]; then |
16 | while [ -n "$1" -a "${1:0:1}" != "/" -a ! -f "$1" ]; do | 16 | while [ -n "$1" -a "${1:0:1}" != "/" -a "${1:0:7}" != "file://" -a ! -f "$1" ]; do |
17 | shift | 17 | shift |
18 | done | 18 | done |
19 | xdg-open "$1" | 19 | xdg-open "$1" |
diff --git a/roles/tools/files/vimrc b/roles/tools/files/vimrc index 6de0f1c..eabcf38 100644 --- a/roles/tools/files/vimrc +++ b/roles/tools/files/vimrc | |||
@@ -35,6 +35,7 @@ Plug 'chrisbra/SudoEdit.vim' | |||
35 | Plug 'Chiel92/vim-autoformat' | 35 | Plug 'Chiel92/vim-autoformat' |
36 | Plug 'pearofducks/ansible-vim' | 36 | Plug 'pearofducks/ansible-vim' |
37 | Plug 'juliosueiras/vim-terraform-completion' | 37 | Plug 'juliosueiras/vim-terraform-completion' |
38 | Plug 'sjl/gundo.vim' | ||
38 | 39 | ||
39 | call plug#end() | 40 | call plug#end() |
40 | 41 | ||
diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml index 82b575b..dea5a79 100644 --- a/roles/tools/tasks/main.yml +++ b/roles/tools/tasks/main.yml | |||
@@ -95,7 +95,7 @@ | |||
95 | value: "{{ item.1 }}" | 95 | value: "{{ item.1 }}" |
96 | loop: | 96 | loop: |
97 | - ["/org/gnome/evince/default/continuous", "true"] | 97 | - ["/org/gnome/evince/default/continuous", "true"] |
98 | - ["/org/gnome/evince/default/fullscreen", "true"] | 98 | - ["/org/gnome/evince/default/fullscreen", "false"] |
99 | - ["/org/gtk/settings/file-chooser/sort-column", "'name'"] | 99 | - ["/org/gtk/settings/file-chooser/sort-column", "'name'"] |
100 | - ["/org/gtk/settings/file-chooser/show-size-column", "true"] | 100 | - ["/org/gtk/settings/file-chooser/show-size-column", "true"] |
101 | - ["/org/gtk/settings/file-chooser/show-hidden", "true"] | 101 | - ["/org/gtk/settings/file-chooser/show-hidden", "true"] |