dont remember, dont ask

main
Ayush Mukherjee 2 years ago
parent 4c2150c018
commit a86ff26555

@ -8,6 +8,14 @@ parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
} }
ect() {
if [ "$#" -ne 0 ]; then
echo "$1" | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
else
cat /sys/devices/system/cpu/intel_pstate/no_turbo
fi
}
[ -z ${WSLENV+x} ] || export PATH="${PATH:+"$PATH:"}$HOME/bin" [ -z ${WSLENV+x} ] || export PATH="${PATH:+"$PATH:"}$HOME/bin"
# Aliases # Aliases

@ -26,6 +26,10 @@ export LC_MEASUREMENT="en_US.UTF-8"
export LC_IDENTIFICATION="en_US.UTF-8" export LC_IDENTIFICATION="en_US.UTF-8"
export LC_ALL="en_US.UTF-8" export LC_ALL="en_US.UTF-8"
# va-api and vdpau exports
#export LIBVA_DRIVER_NAME=iHD
#export VDPAU_DRIVER=va_gl
# merge Xr # merge Xr
xrdb -merge .Xresources xrdb -merge .Xresources

@ -223,10 +223,11 @@ bindsym XF86MonBrightnessDown exec sudo /usr/bin/light -U 10
# Custom Bindings for Applications # Custom Bindings for Applications
# Mod + n brave # Mod + n brave
bindsym $mod+n exec "brave --enable-features=VaapiVideoDecoder" bindsym $mod+n exec "brave --enable-features=VaapiVideoDecoder --use-gl=desktop --disable-features=UseChromeOSDirectVideoDecoder --disable-gpu-memory-buffer-compositor-resources --disable-gpu-memory-buffer-video-frames --enable-hardware-overlays"
#bindsym $mod+n exec "brave --enable-features=VaapiVideoEncoder,VaapiVideoDecoder,CanvasOopRasterization --enable-video-acceleration --enable-zero-copy --use-gl=desktop --ignore-gpu-blocklist --ignore-gpu-blacklist --enable-oop-rasterization --enable-raw-draw --enable-gpu-rasterization --use-vulkan --disable-reading-from-canvas --disable-sync-preferences"
# Mod + b min # Mod + b min
bindsym $mod+b exec "min --enable-features=VaapiVideoDecoder" bindsym $mod+b exec "min --use-gl=desktop --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,CanvasOopRasterization --ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --disable-features=UseSkiaRenderer,UseChromeOSDirectVideoDecoder --canvas-oop-rasterization"
# Mod + m pantheon files # Mod + m pantheon files
bindsym $mod+m exec io.elementary.files bindsym $mod+m exec io.elementary.files

@ -9,6 +9,7 @@ Plug 'junegunn/goyo.vim'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
Plug 'gpanders/editorconfig.nvim' Plug 'gpanders/editorconfig.nvim'
Plug 'hashivim/vim-terraform'
call plug#end() call plug#end()
" nvim config " nvim config

Loading…
Cancel
Save