diff --git a/nvim/.config/nvim/fnl/dots/keybinds.fnl b/nvim/.config/nvim/fnl/dots/keybinds.fnl index e0e1f0e..724bdac 100644 --- a/nvim/.config/nvim/fnl/dots/keybinds.fnl +++ b/nvim/.config/nvim/fnl/dots/keybinds.fnl @@ -41,8 +41,8 @@ (defn format [] - (if (a.some #$1.server_capabilities.documentFormatting (vim.lsp.get_active_clients)) - (vim.lsp.buf.formatting) + (if (a.some #$1.server_capabilities.documentFormattingProvider (vim.lsp.get_active_clients)) + (vim.lsp.buf.format {:async true}) (vim.cmd "Neoformat"))) diff --git a/polybar/.config/polybar/launch.sh b/polybar/.config/polybar/launch.sh index fe98482..4310a0c 100755 --- a/polybar/.config/polybar/launch.sh +++ b/polybar/.config/polybar/launch.sh @@ -5,7 +5,7 @@ echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log outputs=$(xrandr --query | grep " connected" | cut -d" " -f1) -tray_output=HDMI-A-1 +tray_output=HDMI-A-0 for m in $outputs; do if [[ $m != "DisplayPort-1" ]]; then tray_output=$m diff --git a/xmonad/.xmonad/lib/Config.hs b/xmonad/.xmonad/lib/Config.hs index 75f8cf7..53e8a02 100644 --- a/xmonad/.xmonad/lib/Config.hs +++ b/xmonad/.xmonad/lib/Config.hs @@ -251,15 +251,15 @@ myStartupHook = do --spawn "setxkbmap de nodeadkeys" spawn "setxkbmap us -option compose:ralt" spawn "arbtt-capture" - --spawn "/home/leon/.screenlayout/dualscreen-stacked.sh" - spawn "/home/leon/.screenlayout/tripplescreen-fixed.sh" + spawn "/home/leon/.screenlayout/dualscreen.sh" + --spawn "/home/leon/.screenlayout/tripplescreen-fixed.sh" spawnOnce "xsetroot -cursor_name left_ptr" spawnOnce "xrdb -merge ~/.Xresources" io $ threadDelay $ 1000 * 100 --spawnOnce "/home/leon/Downloads/picom --config /home/leon/.config/picom.conf --experimental-backends --backend xrender" --no-fading-openclose" spawnOnce "/home/leon/Downloads/picom-epic-animations --config /home/leon/.config/picom.conf --experimental-backends --animations --animation-stiffness 200 --animation-dampening 20" --backend glx" --no-fading-openclose" --spawn "/home/leon/.config/polybar/launch.sh" - setupPolybarOn "DisplayPort-1" + setupPolybarOn "HDMI-A-0" spawnOnce "eww -c /home/leon/.config/eww-bar open-many bar_2 bar_1 &" spawn "xsetroot -cursor_name left_ptr" spawnOnce "nitrogen --restore"