Update zshrc, rc.conf, i3 conf …
parent
52e21f2975
commit
3d0eae40c5
2
.bashrc
2
.bashrc
|
@ -74,4 +74,4 @@ ranger() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#For Pywal
|
#For Pywal
|
||||||
(wal -r &) 2> bloodyerror.log #Ranger says it's deprecated and it keeps annoying me with this error
|
(cat ~/.cache/wal/sequences &)
|
||||||
|
|
|
@ -88,8 +88,8 @@ opacity-rule = [
|
||||||
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||||
"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
|
"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
|
||||||
"85:class_g = 'xterm'",
|
"85:class_g = 'xterm'",
|
||||||
"85:class_g = 'termite'",
|
"93:class_g = 'termite'",
|
||||||
"85:class_g = 'Termite'"
|
"93:class_g = 'Termite'"
|
||||||
];
|
];
|
||||||
|
|
||||||
wintypes :
|
wintypes :
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
# == Options
|
# == Options
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
|
|
||||||
# How many columns are there, and what are their relative widths?
|
# How many columns are there, and what are their relative widths?
|
||||||
set column_ratios 1,3,6
|
set column_ratios 1,3,6
|
||||||
|
|
||||||
|
@ -126,7 +125,7 @@ set update_tmux_title false
|
||||||
set shorten_title 3
|
set shorten_title 3
|
||||||
|
|
||||||
# Abbreviate $HOME with ~ in the titlebar (first line) of ranger?
|
# 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?
|
# How many directory-changes or console-commands should be kept in history?
|
||||||
set max_history_size 20
|
set max_history_size 20
|
||||||
|
@ -608,7 +607,9 @@ copytmap <ESC> q Q w <C-c>
|
||||||
#Other personal key mappings
|
#Other personal key mappings
|
||||||
map dl shell rm -rf %s #dl to delete selected files
|
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 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 exe shell ./%s #Execute selected file(s)
|
||||||
map mexe shell chmod +x %s #Make selected file(s) executable
|
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)
|
map bk shell cp %s %s"_bk" #Make backup file of selected file(s)
|
||||||
|
|
|
@ -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
|
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
|
||||||
|
|
||||||
#Mode for starting applications
|
#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"
|
bindsym $mod+Ctrl+e mode "$mode_launcher"
|
||||||
|
|
||||||
mode "$mode_launcher" {
|
mode "$mode_launcher" {
|
||||||
bindsym m exec termite -e "neomutt"
|
bindsym m exec termite -e "neomutt"
|
||||||
bindsym h exec termite -e "htop"
|
bindsym h exec termite -e "htop"
|
||||||
bindsym e exec emacs
|
|
||||||
bindsym n exec nemo
|
bindsym n exec nemo
|
||||||
bindsym c exec calibre
|
bindsym c exec calibre
|
||||||
bindsym a exec atom
|
|
||||||
bindsym d exec discord
|
bindsym d exec discord
|
||||||
bindsym r exec termite -e "tuir"
|
bindsym r exec termite -e "tuir"
|
||||||
bindsym w exec whatsapp-nativefier
|
bindsym w exec whatsapp-nativefier
|
||||||
|
@ -487,5 +485,3 @@ mode "$mode_gaps_outer" {
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
9
.zshrc
9
.zshrc
|
@ -28,10 +28,16 @@ export VISUAL=vim
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
export TERMINAL=termite
|
export TERMINAL=termite
|
||||||
|
|
||||||
|
#Keybindings
|
||||||
|
#
|
||||||
#Keybindings for autosuggest
|
#Keybindings for autosuggest
|
||||||
bindkey '^ ' autosuggest-accept
|
bindkey '^ ' autosuggest-accept #Ctrl + Space
|
||||||
bindkey '^\n' autosuggest-execute #Doesn't seem work, Ctrl+<CR>
|
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 ../..)
|
#cdn + number will move to the xth parent directory (cdn 2 = cd ../..)
|
||||||
function cdn() { for i in `seq $1`; do cd ..; done; }
|
function cdn() { for i in `seq $1`; do cd ..; done; }
|
||||||
|
|
||||||
|
@ -46,6 +52,7 @@ ranger() {
|
||||||
|
|
||||||
#For Pywal
|
#For Pywal
|
||||||
(cat ~/.cache/wal/sequences &)
|
(cat ~/.cache/wal/sequences &)
|
||||||
|
source ~/.cache/wal/colors-tty.sh
|
||||||
|
|
||||||
#Path changes
|
#Path changes
|
||||||
PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
|
PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
|
||||||
|
|
Loading…
Reference in New Issue