diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 1845e6a..893030e 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -26,45 +26,25 @@ require("lazy").setup({ } }) -require('mini.pairs').setup({ - -- mappings = { - -- ['<'] = { action = 'open', pair = '<>', neigh_pattern = '[^\\].' }, - -- } -}) +require('mini.pairs').setup() require("fzf-lua").setup({ "border-fused", - -- fzf_opts = { ["--wrap"] = true }, previewers = { builtin = { syntax_limit_b = -51200, -- 50KB limit on highlighting files }, }, winopts = { - height = 0.50, -- window height - width = 0.45, -- window width - row = 0.35, -- window row position (0=top, 1=bottom) - col = 0.50, -- window col position (0=left, 1=right) + height = 0.50, + width = 0.45, + row = 0.35, + col = 0.50, border = "rounded", backdrop = 0, - fullscreen = false, -- start fullscreen? - treesitter = { - enabled = true, - fzf_colors = { ["hl"] = "-1:reverse", ["hl+"] = "-1:reverse" } - }, + fullscreen = false, preview = { - border = "rounded", -- preview border: accepts both `nvim_open_win` - wrap = false, -- preview line wrap (fzf's 'wrap|nowrap') hidden = true, -- start preview hidden - vertical = "down:45%", -- up|down:size - horizontal = "right:60%", -- right|left:size - layout = "flex", -- horizontal|vertical|flex - flip_columns = 100, -- #cols to switch to horizontal on flex - title = true, -- preview border title (file/buf)? - title_pos = "center", -- left|center|right, title alignment - scrollbar = false, -- `false` or string:'float|border' - scrolloff = -1, -- float scrollbar offset from right - delay = 20, -- delay(ms) displaying the preview }, }, grep = { diff --git a/.config/sway/config b/.config/sway/config index 5de7f68..fa43434 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -2,7 +2,6 @@ for_window [app_id="com.mitchellh.ghostty"] move container to workspace 1 for_window [app_id="librewolf"] move container to workspace 2 for_window [class="steam"] move container to workspace 3 for_window [app_id="org.prismlauncher.PrismLauncher"] move container to workspace 3 -for_window [class="Gimp"] move container to workspace 4 for_window [instance="engine"] floating enable font pango: Maple Mono SemiBold 10 @@ -27,7 +26,6 @@ floating_modifier $mod normal bindsym $mod+Return exec ghostty -e tmux a bindsym $mod+Shift+s exec steam bindsym $mod+f exec librewolf -bindsym $mod+g exec gimp bindsym $mod+p exec prismlauncher bindsym $mod+k kill bindsym $mod+Shift+c reload @@ -35,11 +33,9 @@ bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. bindsym $mod+1 workspace number 1 bindsym $mod+2 workspace number 2 bindsym $mod+3 workspace number 3 -bindsym $mod+4 workspace number 4 bindsym $mod+Shift+1 move container to workspace number 1 bindsym $mod+Shift+2 move container to workspace number 2 bindsym $mod+Shift+3 move container to workspace number 3 -bindsym $mod+Shift+4 move container to workspace number 4 bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%