Update zshrc, rc.conf, i3 conf …

Tecra-R940
Marvin Johanning 2020-03-31 21:03:49 +02:00
parent 52e21f2975
commit 3d0eae40c5
5 changed files with 16 additions and 12 deletions

View File

@ -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 &)

View File

@ -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 :

View File

@ -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 <ESC> q Q w <C-c>
#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)

View File

@ -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"
}

9
.zshrc
View File

@ -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+<CR>
#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"