Currently just two monitors, also some vim fixes

This commit is contained in:
elkowar 2022-12-17 15:54:41 +01:00
parent 0c11d35b61
commit 4c4b78c005
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
3 changed files with 6 additions and 6 deletions

View file

@ -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")))

View file

@ -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

View file

@ -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"