Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
brightpuddle committed Nov 28, 2022
1 parent f4b5087 commit 2bf10df
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 24 deletions.
11 changes: 7 additions & 4 deletions .config/nvim/lua/config/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,17 @@ return function()
}
end

lsp.pyright.setup(config())
lsp.rust_analyzer.setup(config())
lsp.tsserver.setup(config())
lsp.ansiblels.setup(config({ format = true }))
lsp.cssls.setup(config())
lsp.gopls.setup(config())
lsp.html.setup(config({ format = true }))
lsp.jsonls.setup(config())
lsp.cssls.setup(config())
lsp.pyright.setup(config())
lsp.robotframework_ls.setup(config({ format = true }))
lsp.rust_analyzer.setup(config())
lsp.tailwindcss.setup(config())
lsp.terraformls.setup(config())
lsp.tsserver.setup(config())
lsp.sumneko_lua.setup({
on_attach = on_attach(),
capabilities = capabilities,
Expand Down
8 changes: 7 additions & 1 deletion .config/nvim/plugin/10-main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,13 @@ require("packer").startup({
use({ "lukas-reineke/lsp-format.nvim" })

-- symbol outline (uses LSP)
use({ "simrat39/symbols-outline.nvim", cmd = "SymbolsOutline" })
use({
"simrat39/symbols-outline.nvim",
cmd = "SymbolsOutline",
config = function()
require("symbols-outline").setup()
end,
})

-- Javascript / JSX
use({
Expand Down
Binary file modified .local/share/yadm/archive
Binary file not shown.
24 changes: 5 additions & 19 deletions .yabairc
Original file line number Diff line number Diff line change
@@ -1,35 +1,28 @@
#!/usr/bin/env sh

# https://github.com/koekeishiya/yabai/wiki/Configuration
sudo yabai --load-sa
# codesign -fs 'yabai-cert' $(brew --prefix yabai)/bin/yabai
# launchctl unload -F /System/Library/LaunchAgents/com.apple.WindowManager.plist
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
sudo yabai --load-sa

# borders
yabai -m config window_border off
# yabai -m config normal_window_border_color 0xff343d46
# yabai -m config active_window_border_color 0xffab7967
yabai -m config window_border_width 6

# opacity
yabai -m config window_opacity on
yabai -m config normal_window_opacity 0.9

# for bar
# yabai -m config external_bar all:26:0
yabai -m config window_opacity off

# global settings
yabai -m config window_shadow float
yabai -m config window_placement second_child
# yabai -m config split_ratio 0.4
yabai -m config auto_balance on
yabai -m config layout bsp
yabai -m config layout float

# mouse
yabai -m config mouse_modifier alt
yabai -m config mouse_action1 resize
yabai -m config mouse_action2 move
yabai -m config mouse_follows_focus off
# yabai -m config focus_follows_mouse autofocus
yabai -m config focus_follows_mouse off

# padding and gaps
Expand All @@ -41,12 +34,5 @@ yabai -m config window_gap 16

# app exclusions
yabai -m rule --add app="^Tomato 2$" manage=off
# yabai -m rule --add app="^System Preferences$" manage=off
yabai -m rule --add app="^QuickTime Player$" opacity=1.0
yabai -m rule --add app="^VLC$" opacity=1.0

# signals
# yabai -m signal --add event=window_focused action="sketchybar -m --trigger window_focus &> /dev/null"
# yabai -m signal --add event=window_title_changed action="sketchybar -m --trigger title_change &> /dev/null"
# yabai -m signal --add event=window_created action="sketchybar -m --trigger window_created &> /dev/null"
# yabai -m signal --add event=window_destroyed action="sketchybar -m --trigger window_destroyed &> /dev/null"

0 comments on commit 2bf10df

Please sign in to comment.