diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/fish/config.fish | 4 | ||||
| -rw-r--r-- | config/nvim/lua/plugins.lua | 6 | ||||
| -rwxr-xr-x | config/x11/xinitrc | 10 |
3 files changed, 15 insertions, 5 deletions
diff --git a/config/fish/config.fish b/config/fish/config.fish index 7d34a17..65b477f 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -95,7 +95,7 @@ set -gx GPG_TTY "$(tty)" set -gx DEBUGINFOD_URLS 'https://debuginfod.archlinux.org' set -gx HOST "$(cat /etc/hostname)" # for compatibility with Xmonad.Layout.OnHost - +set -gx LD_LIBRARY_PATH "$LD_LIBRARY_PATH:/usr/local/lib" # https://github.com/rust-lang/rust/issues/24677 if status is-interactive fish_vi_key_bindings @@ -233,6 +233,6 @@ if status is-login # setting the keyrepeat delay and interval here as the default ones # since some applications reset the those if we use xset r rate 200 30 instead startx "$XDG_CONFIG_HOME/x11/xinitrc" -- -ardelay 200 -arinterval 30 - poweroff + #poweroff end end diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index f5f22fc..697d8fe 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -379,7 +379,11 @@ return require("packer").startup(function() icons_enabled = true, section_separators = '', component_separators = '', - } + }, + sections = { + -- path=1 for Relative path (https://github.com/nvim-lualine/lualine.nvim?tab=readme-ov-file#filename-component-options) + lualine_c = {{'filename', path = 1}}, + }, } end } diff --git a/config/x11/xinitrc b/config/x11/xinitrc index 136fe0f..ecc8170 100755 --- a/config/x11/xinitrc +++ b/config/x11/xinitrc @@ -35,9 +35,15 @@ case "$(cat /etc/hostname)" in xrandr --output DP-2 --mode 3840x1080 --primary --left-of HDMI-1 \ --output HDMI-1 --mode 1920x1080 fi + # fix screen tearing + nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }" + ;; + charles-cleveron) + if xrandr | grep 'HTMI1 connected' + then + xrandr --output eDP1 --primary --bellow HDMI1 + fi esac -# fix screen tearing -nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }" # awesome xmonad || { xmonad --recompile; xmonad; } |
