]> git.immae.eu Git - perso/Immae/Config/Ansible.git/commitdiff
Some fixes
authorIsmaël Bouya <ismael.bouya@fretlink.com>
Mon, 26 Nov 2018 21:57:25 +0000 (22:57 +0100)
committerIsmaël Bouya <ismael.bouya@fretlink.com>
Mon, 26 Nov 2018 21:57:25 +0000 (22:57 +0100)
- Firefox creates desktop dir unless a trailing / is added to
  XDG_DESKTOP_DIR
- LESS options
- evince option
- bashrc is loaded twice
- add gundo for vim

roles/init/files/user_dirs/user-dirs.dirs
roles/init/templates/pam_environment.j2
roles/shell/bash/templates/bash_profile.j2
roles/tools/files/gio_unwrapper.sh
roles/tools/files/vimrc
roles/tools/tasks/main.yml

index fd59b25961bb790fa14c5b47e6c71bb636fc040b..0c320a4c3e37670d2a022497c18636ebe0c64d6e 100644 (file)
@@ -5,7 +5,7 @@
 # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
 # absolute path. No other format is supported.
 # 
-XDG_DESKTOP_DIR="$HOME"
+XDG_DESKTOP_DIR="$HOME/"
 XDG_DOWNLOAD_DIR="$HOME/Downloads"
 XDG_TEMPLATES_DIR="$HOME"
 XDG_PUBLICSHARE_DIR="$HOME"
index 422b98d7bad050f62cc33e927f1041b9a5f9f7d2..e75726c8d4ef5a6e569c1bac80361b5606333432 100644 (file)
@@ -47,6 +47,7 @@ SSH_AGENT_PID                 DEFAULT=
 SSH_AUTH_SOCK                  DEFAULT="${XDG_RUNTIME_DIR}/gnupg/{{ gnupg_runtime_dir_cmd.stdout }}/S.gpg-agent.ssh"
 
 # Less
+LESS                           DEFAULT="-iqFMRSX"
 LESSHISTFILE                   DEFAULT="${XDG_STATE_HOME}/less/history"
 
 # Pass
index f622f67556e1e684cac7b5b17b0289de639ed5b6..5be21a9a2e3cebd458b50cbab5862f705fba85c1 100644 (file)
@@ -2,7 +2,8 @@
 # This file is loaded thanks to as line in /etc/profile
 # test "$BASH" && test -r "$XDG_CONFIG_HOME/bash/bash_profile" && . $XDG_CONFIG_HOME/bash/bash_profile
 
-[[ -f $XDG_CONFIG_HOME/bash/bashrc ]] && . $XDG_CONFIG_HOME/bash/bashrc
+# Loaded by /etc/profile already
+# [[ -f $XDG_CONFIG_HOME/bash/bashrc ]] && . $XDG_CONFIG_HOME/bash/bashrc
 {% if "graphical_vt" in features.get(profile, []) %}
 
 if [[ ! $DISPLAY && $XDG_VTNR -eq {{ lookup('env', "XDG_VTNR") | default(1, true) }} ]]; then
index 5629b28ef3db45195508d5e821b1d6cc1d8f78b8..59886d6e58454b824e05c012f00580c4368781ae 100755 (executable)
@@ -13,7 +13,7 @@
 # environments)
 
 if [ -n "$GIO_LAUNCHED_DESKTOP_FILE" ]; then
-  while [ -n "$1" -a "${1:0:1}" != "/" -a ! -f "$1" ]; do
+  while [ -n "$1" -a "${1:0:1}" != "/" -a "${1:0:7}" != "file://" -a ! -f "$1" ]; do
     shift
   done
   xdg-open "$1"
index 6de0f1c126974df06c661a73a939b53f0fcf8177..eabcf38cb4ab339148b4e08d2efad930515a4576 100644 (file)
@@ -35,6 +35,7 @@ Plug 'chrisbra/SudoEdit.vim'
 Plug 'Chiel92/vim-autoformat'
 Plug 'pearofducks/ansible-vim'
 Plug 'juliosueiras/vim-terraform-completion'
+Plug 'sjl/gundo.vim'
 
 call plug#end()
 
index 82b575baf5adcc1463bc0b63f966eae25436fe64..dea5a7918aa5f99713d2c13b0e5eb69e5e9b8d05 100644 (file)
@@ -95,7 +95,7 @@
     value: "{{ item.1 }}"
   loop:
     - ["/org/gnome/evince/default/continuous", "true"]
-    - ["/org/gnome/evince/default/fullscreen", "true"]
+    - ["/org/gnome/evince/default/fullscreen", "false"]
     - ["/org/gtk/settings/file-chooser/sort-column", "'name'"]
     - ["/org/gtk/settings/file-chooser/show-size-column", "true"]
     - ["/org/gtk/settings/file-chooser/show-hidden", "true"]