From 3d0eae40c5fd187a3b2e46698e88a5ff9ee75633 Mon Sep 17 00:00:00 2001 From: Marvin Johanning Date: Tue, 31 Mar 2020 21:03:49 +0200 Subject: [PATCH] =?UTF-8?q?Update=20zshrc,=20rc.conf,=20i3=20conf=20?= =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bashrc | 2 +- .config/compton.conf | 4 ++-- .config/ranger/rc.conf | 7 ++++--- .i3/config | 6 +----- .zshrc | 9 ++++++++- 5 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.bashrc b/.bashrc index 44aa746..0535c8e 100644 --- a/.bashrc +++ b/.bashrc @@ -74,4 +74,4 @@ ranger() { } #For Pywal -(wal -r &) 2> bloodyerror.log #Ranger says it's deprecated and it keeps annoying me with this error +(cat ~/.cache/wal/sequences &) diff --git a/.config/compton.conf b/.config/compton.conf index 1cc0264..ebc70bc 100644 --- a/.config/compton.conf +++ b/.config/compton.conf @@ -88,8 +88,8 @@ opacity-rule = [ "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'", "85:class_g = 'xterm'", -"85:class_g = 'termite'", -"85:class_g = 'Termite'" +"93:class_g = 'termite'", +"93:class_g = 'Termite'" ]; wintypes : diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index 031c955..3db9807 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -18,7 +18,6 @@ # =================================================================== # == Options # =================================================================== - # How many columns are there, and what are their relative widths? set column_ratios 1,3,6 @@ -126,7 +125,7 @@ set update_tmux_title false set shorten_title 3 # Abbreviate $HOME with ~ in the titlebar (first line) of ranger? -set tilde_in_titlebar false +set tilde_in_titlebar true # How many directory-changes or console-commands should be kept in history? set max_history_size 20 @@ -608,7 +607,9 @@ copytmap q Q w #Other personal key mappings map dl shell rm -rf %s #dl to delete selected files map mvt console -p15 shell mkdir -p ; mv %%s $_ #mvt to move selected files to a specified directory -map CC shell wal -i %s -a 90 #For quick Pywal +map CCw shell wal -i %s --saturate 0.9 #For quick Pywal +map CCc shell wal -i %s --saturate 0.9 --backend colorthief +map CCz shell wal -i %s --saturate 0.9 --backend colorz map exe shell ./%s #Execute selected file(s) map mexe shell chmod +x %s #Make selected file(s) executable map bk shell cp %s %s"_bk" #Make backup file of selected file(s) diff --git a/.i3/config b/.i3/config index 1496d16..864a874 100644 --- a/.i3/config +++ b/.i3/config @@ -70,16 +70,14 @@ bindsym Shift+Print --release exec --no-startup-id i3-scrot -s bindsym $mod+Ctrl+x --release exec --no-startup-id xkill #Mode for starting applications -set $mode_launcher Launch: [m]utt, [h]top, [w]hatsapp, [n]emo, [c]alibre, [a]tom, [d]iscord, [r]eddit, [t]elegram +set $mode_launcher Launch: [m]utt, [h]top, [w]hatsapp, [n]emo, [c]alibre, [d]iscord, [r]eddit, [t]elegram bindsym $mod+Ctrl+e mode "$mode_launcher" mode "$mode_launcher" { bindsym m exec termite -e "neomutt" bindsym h exec termite -e "htop" - bindsym e exec emacs bindsym n exec nemo bindsym c exec calibre - bindsym a exec atom bindsym d exec discord bindsym r exec termite -e "tuir" bindsym w exec whatsapp-nativefier @@ -487,5 +485,3 @@ mode "$mode_gaps_outer" { bindsym Return mode "default" bindsym Escape mode "default" } - - diff --git a/.zshrc b/.zshrc index bbfbf4e..ad740d7 100644 --- a/.zshrc +++ b/.zshrc @@ -28,10 +28,16 @@ export VISUAL=vim export EDITOR=vim export TERMINAL=termite +#Keybindings +# #Keybindings for autosuggest -bindkey '^ ' autosuggest-accept +bindkey '^ ' autosuggest-accept #Ctrl + Space bindkey '^\n' autosuggest-execute #Doesn't seem work, Ctrl+ +#Keybindings for searching through the history +bindkey '^[j' history-search-forward #Alt + j +bindkey '^[k' history-search-backward #Alt + k + #cdn + number will move to the xth parent directory (cdn 2 = cd ../..) function cdn() { for i in `seq $1`; do cd ..; done; } @@ -46,6 +52,7 @@ ranger() { #For Pywal (cat ~/.cache/wal/sequences &) +source ~/.cache/wal/colors-tty.sh #Path changes PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"