Update config

This commit is contained in:
Ngô Ngọc Đức Huy 2021-04-08 11:01:55 +07:00
parent df1961842c
commit b185a2be0d
Signed by: huyngo
GPG Key ID: 904AF1C7CDF695C3
7 changed files with 13 additions and 15 deletions

View File

@ -65,6 +65,7 @@ font:
family: Hack
size: 9.5
key_bindings:
- { key: E, mods: Control|Shift, action: SpawnNewInstance }

View File

@ -30,8 +30,10 @@ if [ -x /usr/bin/polybar ]; then
bash $HOME/.config/polybar/launch.sh
fi
feh --bg-center $(find ~/wallpapers -type f | grep jpg| shuf -n 1)
# Set backgrounds
feh --bg-center $(find ~/wallpapers -type f | grep "g$"| shuf -n 1)
# Other stuff
numlockx on
# xsetroot -cursor_name left_ptr &

2
.config/ranger/rc.conf Normal file
View File

@ -0,0 +1,2 @@
set preview_images true
set preview_images_method ueberzug

View File

@ -27,13 +27,16 @@ super + Escape
pkill -USR1 -x sxhkd
# switch keyboard layout
ctrl + {1,2,3}
setxkbmap -layout {us, us -variant intl, vn}
ctrl + {1,2,3,4}
setxkbmap -layout {us, us -variant intl, vn, trans -variant ipa}
# Screenshot
Print
scrot -s -e 'mv $f ~/Desktop/Screenshots'
ctrl + Print
scrot -s -e 'xclip -selection clipboard -t image/png -i $f && mv $f ~/Desktop/Screenshots'
# Change volume
XF86Audio{Raise,Lower}Volume
amixer set Master 5%{+,-}

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
vim/.vim/.netrwhist

View File

@ -70,4 +70,5 @@ export PATH="$PATH:/opt/mssql-tools/bin"
# Install Ruby Gems to ~/gems
export GEM_HOME="$HOME/gems"
export PATH="$HOME/gems/bin:$PATH"
export PATH="$HOME/Downloads/Telegram:$PATH"
source "$HOME/.cargo/env"

View File

@ -1,12 +0,0 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhistcnt =8
let g:netrw_dirhist_8='/home/xarvos/.config/sxhkd'
let g:netrw_dirhist_7='/home/xarvos/.vim/ftplugin'
let g:netrw_dirhist_6='/home/xarvos/Quell/axuy/axuy/shaders'
let g:netrw_dirhist_5='/home/xarvos/Documents/USTH-notes/data_mining'
let g:netrw_dirhist_4='/home/xarvos/Quell/my-cv'
let g:netrw_dirhist_3='/home/xarvos/.config/sxhkd'
let g:netrw_dirhist_2='/home/xarvos/.vim/ftplugin'
let g:netrw_dirhist_1='/home/xarvos/Quell/GenWord'
let g:netrw_dirhist_0='/home/xarvos/Quell/acanban/docs/source/conclusion'
let g:netrw_dirhist_9='/home/xarvos/Quell/acanban/docs/source/result'