From d74dcaa0322c802eba4a31864de21eb7c716d0c6 Mon Sep 17 00:00:00 2001 From: Breizh Date: Sat, 18 Apr 2020 02:14:55 +0200 Subject: [PATCH] =?UTF-8?q?M=C3=A0j?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bashrc | 9 +++++---- .config/i3/config | 6 +++--- .config/ranger/rc.conf | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.bashrc b/.bashrc index bc85046..fd84442 100644 --- a/.bashrc +++ b/.bashrc @@ -13,10 +13,11 @@ source /usr/share/git/completion/git-completion.bash export GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWSTASHSTATE=1 GIT_PS1_SHOWUNTRACKEDFILES=1 export GIT_PS1_SHOWUPSTREAM=verbose GIT_PS1_DESCRIBE_STYLE=branch -## Define colors - -BASE16_SHELL=$HOME/.config/base16-shell/ -[ "$XDG_CURRENT_DESKTOP" = "i3" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)" +# Base16 Shell +BASE16_SHELL="$HOME/.config/base16-shell/" +[ -n "$PS1" ] && \ + [ -s "$BASE16_SHELL/profile_helper.sh" ] && \ + eval "$("$BASE16_SHELL/profile_helper.sh")" ## Reset Text_Reset='\e[0m' # Text Reset diff --git a/.config/i3/config b/.config/i3/config index 3604029..7ee9636 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -124,16 +124,16 @@ bindsym --release Caps_Lock exec --no-startup-id pkill -SIGRTMIN+11 i3blocks bindsym --release Num_Lock exec --no-startup-id pkill -SIGRTMIN+12 i3blocks # Start Applications -bindsym $mod+Ctrl+b exec urxvtc -e fish -c bmenu +bindsym $mod+Ctrl+b exec urxvtc -e bmenu bindsym $mod+F2 exec $BROWSER bindsym $mod+Shift+F2 exec $BROWSER -P tmp --no-remote #bindsym $mod+Ctrl+F2 exec surf "https://www.qwant.com?l=fr&h=1&hc=2&a=1&s=1&b=0&i=1&r=FR&sr=fr" bindsym $mod+Ctrl+F2 exec chromium --incognito bindsym $mod+Ctrl+F3 exec pcmanfm -bindsym $mod+F3 exec urxvtc -e ranger +bindsym $mod+F3 exec urxvtc -e bash -ic ranger bindsym $mod+F4 exec urxvtc -e bashmount bindsym $mod+Shift+F3 exec gksu pcmanfm -bindsym $mod+F5 exec urxvtc -name ncmpcpp -e fish -c ncmpcpp +bindsym $mod+F5 exec urxvtc -e ncmpcpp bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'Dunst' 'Restarted'" bindsym Print exec --no-startup-id i3-scrot bindsym $mod+Print --release exec --no-startup-id i3-scrot -w diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index d3fcdc8..44fa2d2 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -183,7 +183,7 @@ set display_free_space_in_status_bar true set display_tags_in_all_columns true # Set a title for the window? Updates both `WM_NAME` and `WM_ICON_NAME` -set update_title false +set update_title true # Set the tmux/screen window-name to "ranger"? set update_tmux_title true