mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-05 19:02:24 +00:00
Currently just two monitors, also some vim fixes
This commit is contained in:
parent
0c11d35b61
commit
4c4b78c005
3 changed files with 6 additions and 6 deletions
|
@ -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")))
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue