update
This commit is contained in:
parent
232952f9ec
commit
c93c4e25d7
@ -1,4 +1,3 @@
|
||||
live_config_reload = true
|
||||
|
||||
[colors.bright]
|
||||
black = "#6272a4"
|
||||
@ -83,3 +82,6 @@ opacity = 0.85
|
||||
[window.padding]
|
||||
x = 5
|
||||
y = 5
|
||||
|
||||
[general]
|
||||
live_config_reload = true
|
||||
|
@ -19,3 +19,9 @@ keymap.set('n', '<leader>dd', 'gt')
|
||||
keymap.set('n', '<F9>', ':%!jq .<CR>')
|
||||
|
||||
keymap.set('n', '<leader>sg', ':lua vim.diagnostic.open_float(0, {scope="line"})<CR>')
|
||||
|
||||
if vim.api.nvim_win_get_option(0, "diff") then
|
||||
keymap.set('n', '<leader>1', ':diffget LOCAL<CR>')
|
||||
keymap.set('n', '<leader>2', ':diffget REMOTE<CR>')
|
||||
keymap.set('n', '<leader>3', ':%diffget LOCAL<CR>')
|
||||
end
|
||||
|
@ -74,7 +74,7 @@ return {
|
||||
require('plugins.lualine'),
|
||||
require('plugins.bufferline'),
|
||||
|
||||
require('plugins.indent_blankline'),
|
||||
--require('plugins.indent_blankline'),
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
|
||||
{
|
||||
@ -124,6 +124,7 @@ return {
|
||||
"elkowar/yuck.vim",
|
||||
|
||||
"evanleck/vim-svelte",
|
||||
"AndrewRadev/linediff.vim",
|
||||
|
||||
-- themes
|
||||
"tomasr/molokai",
|
||||
|
@ -48,7 +48,7 @@ return {
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
}
|
||||
nvlsp['tsserver'].setup{
|
||||
nvlsp['ts_ls'].setup{
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
}
|
||||
|
@ -205,6 +205,7 @@ ln-prod = postgresql://postgres:CyMrS127VIx@10.140.0.90
|
||||
ln-lab = postgresql://postgres:eKZJFdG9L5vaREXN@192.168.88.15:32014
|
||||
professorx-dev = postgresql://postgres:e8b960296e22@192.168.88.6
|
||||
k8s-gcp-dev = postgresql://postgres:eKZJFdG9L5vaREXN@10.140.0.51:32008
|
||||
k8s-log-collector = postgresql://postgres:j88ArUndbrAe@192.168.88.23:5432
|
||||
|
||||
# Format for number representation
|
||||
# for decimal "d" - 12345678, ",d" - 12,345,678
|
||||
|
@ -25,6 +25,7 @@ set $term alacritty
|
||||
# on the original workspace that the command was run on.
|
||||
# set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||
set $menu wofi --show drun
|
||||
set $window_switcher ~/.config/wofi/wofi-window-switch.sh
|
||||
|
||||
### Output configuration
|
||||
#
|
||||
@ -99,6 +100,7 @@ input type:touchpad {
|
||||
|
||||
# Start your launcher
|
||||
bindsym $mod+d exec $menu
|
||||
bindsym $mod+w exec $window_switcher
|
||||
|
||||
# Drag floating windows by holding down $mod and left mouse button.
|
||||
# Resize them with right mouse button + $mod.
|
||||
|
15
home/dot_config/wofi/executable_wofi-window-switch.sh
Normal file
15
home/dot_config/wofi/executable_wofi-window-switch.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
entries=$(swaymsg -t get_tree | jq -r -c '
|
||||
recurse(.nodes[]?) |
|
||||
recurse(.floating_nodes[]?) |
|
||||
select(.type=="con"), select(.type=="floating_con") |
|
||||
(.id | tostring) + " " + .app_id + ": " + .name')
|
||||
|
||||
echo "$entries"
|
||||
|
||||
selected=$(echo -e "$entries" | wofi --width 450 --height 350 --dmenu --cache-file /dev/null | awk '{print $1}')
|
||||
|
||||
if [ -n "$selected" ]; then
|
||||
swaymsg "[con_id=$selected]" focus
|
||||
fi
|
@ -22,9 +22,15 @@
|
||||
wtl = worktree list
|
||||
[mergetool]
|
||||
keepBackup = false
|
||||
prompt = true
|
||||
[mergetool "vimdiff"]
|
||||
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
|
||||
[core]
|
||||
editor = nvim
|
||||
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
# vim: ft=gitconfig
|
||||
|
@ -1,3 +1,4 @@
|
||||
XIM=fcitx
|
||||
GTK_IM_MODULE=fcitx
|
||||
QT_IM_MODULE=fcitx
|
||||
XMODIFIERS=@im=fcitx
|
||||
|
Loading…
Reference in New Issue
Block a user