diff --git a/.bashrc b/.bashrc index 1ba38f9..f1ec261 100644 --- a/.bashrc +++ b/.bashrc @@ -8,6 +8,14 @@ parse_git_branch() { 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" # Aliases diff --git a/.xinitrc b/.xinitrc index ce16097..4ba6571 100755 --- a/.xinitrc +++ b/.xinitrc @@ -26,6 +26,10 @@ export LC_MEASUREMENT="en_US.UTF-8" export LC_IDENTIFICATION="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 xrdb -merge .Xresources diff --git a/i3/config b/i3/config index 2b8c6d7..e219e1a 100644 --- a/i3/config +++ b/i3/config @@ -223,10 +223,11 @@ bindsym XF86MonBrightnessDown exec sudo /usr/bin/light -U 10 # Custom Bindings for Applications # 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 -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 bindsym $mod+m exec io.elementary.files diff --git a/nvim/init.vim b/nvim/init.vim index 0654786..a1c2368 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -9,6 +9,7 @@ Plug 'junegunn/goyo.vim' Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' Plug 'gpanders/editorconfig.nvim' +Plug 'hashivim/vim-terraform' call plug#end() " nvim config