diff --git a/home/dot_config/nvim/init.vim.tmpl b/home/dot_config/nvim/init.vim.tmpl index 393e232..a964935 100644 --- a/home/dot_config/nvim/init.vim.tmpl +++ b/home/dot_config/nvim/init.vim.tmpl @@ -592,12 +592,14 @@ require'nvim-tree'.setup { } require('aerial').setup({ + backends = {"lsp", "treesitter"}, -- optionally use on_attach to set keymaps when aerial has attached to a buffer on_attach = function(bufnr) - -- Jump forwards/backwards with '{' and '}' - vim.keymap.set('n', '{', 'AerialPrev', {buffer = bufnr}) - vim.keymap.set('n', '}', 'AerialNext', {buffer = bufnr}) + -- Jump forwards/backwards with '{' and '}' + vim.keymap.set('n', '{', 'AerialPrev', {buffer = bufnr}) + vim.keymap.set('n', '}', 'AerialNext', {buffer = bufnr}) end, + -- filter_kind = false, filter_kind = { "Class", "Constructor", @@ -607,8 +609,28 @@ require('aerial').setup({ "Module", "Method", "Struct", + "Variable", + "Namespace", + "Package", + "Field", + "Constant", }, - close_on_select = false + manage_folds = false, + link_tree_to_folds = false, + -- Show box drawing characters for the tree hierarchy + show_guides = true, + + -- Customize the characters used when show_guides = true + guides = { + -- When the child item has a sibling below it + mid_item = "├─", + -- When the child item is the last in the list + last_item = "└─", + -- When there are nested child guides to the right + nested_top = "│ ", + -- Raw indentation + whitespace = " ", + }, }) -- You probably also want to set a keymap to toggle aerial vim.keymap.set('n', '', 'AerialToggle!') diff --git a/home/dot_config/pgcli/config b/home/dot_config/pgcli/config index 1bc6c97..15dd042 100644 --- a/home/dot_config/pgcli/config +++ b/home/dot_config/pgcli/config @@ -202,6 +202,7 @@ output.null = "#808080" local = postgresql://postgres:chuxu7ec@localhost home-lab = postgresql://postgres:pass.ok=1@192.168.200.16 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 diff --git a/home/dot_config/sway/config b/home/dot_config/sway/config index bc052e3..5dca332 100644 --- a/home/dot_config/sway/config +++ b/home/dot_config/sway/config @@ -38,9 +38,8 @@ output * bg /home/jay/.config/sway/bg.png fill # exec_always xdg-desktop-portal -r # exec_always xdg-desktop-portal-wlr -exec ~/bin/wayland-env.sh -exec --no-startup-id dbus-update-activation-environment --all -exec gentoo-pipewire-launcher & +# exec env XDG_CONFIG_HOME=/home/jay/.config gentoo-pipewire-launcher restart & +# exec --no-startup-id dbus-update-activation-environment --all exec_always kanshi exec dex -a -e sway exec mako @@ -118,6 +117,10 @@ input type:touchpad { bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -10%; pkill -RTMIN+8 waybar" bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle; pkill -RTMIN+8 waybar" + bindsym XF86AudioPlay exec playerctl play-pause + bindsym XF86AudioNext exec playerctl next + bindsym XF86AudioPrev exec playerctl previous + bindsym XF86MonBrightnessUp exec "xbacklight -inc 5" bindsym XF86MonBrightnessDown exec "xbacklight -dec 5" # diff --git a/home/dot_config/waybar/config b/home/dot_config/waybar/config index 6bcfe04..d242f64 100644 --- a/home/dot_config/waybar/config +++ b/home/dot_config/waybar/config @@ -39,7 +39,7 @@ }, "custom/pipewire": { "exec": "/home/jay/bin/get-volume.sh", - "interval": 60, + "interval": "once", "return-type": "json", "signal": 8, "format": "{icon} {percentage}%", diff --git a/home/dot_pam_environment b/home/dot_pam_environment new file mode 100644 index 0000000..47bf3de --- /dev/null +++ b/home/dot_pam_environment @@ -0,0 +1,14 @@ +GTK_IM_MODULE=fcitx +QT_IM_MODULE=fcitx +XMODIFIERS=@im=fcitx +GLFW_IM_MODULE=fcitx +SDL_IM_MODULE=fcitx +MOZ_ENABLE_WAYLAND=1 +RTC_USE_PIPEWIRE=true + +GDK_BACKEND=wayland,x11 +QT_QPA_PLATFORM=wayland;xcb +CLUTTER_BACKEND=wayland +SDL_VIDEODRIVER=wayland + +EDITOR=nvim