diff --git a/.config/nvim/lua/options.lua b/.config/nvim/lua/options.lua index 2d90867..9fd98e5 100644 --- a/.config/nvim/lua/options.lua +++ b/.config/nvim/lua/options.lua @@ -44,13 +44,8 @@ vim.opt.hlsearch = false -- do not highlight matches vim.opt.ignorecase = true -- ignore case in searches by default vim.opt.smartcase = true -- but make it case sensitive if an uppercase is entered --- Sync clipboard between OS and Neovim. --- Schedule the setting after `UiEnter` because it can increase startup-time. --- Remove this option if you want your OS clipboard to remain independent. --- See `:help 'clipboard'` -vim.schedule(function() - vim.opt.clipboard = "unnamedplus" -end) +vim.g.clipboard = "wl-copy" +vim.opt.clipboard:append("unnamedplus") -- Save undo history vim.opt.undofile = true diff --git a/.config/sway/config b/.config/sway/config index ff9cd16..f0fdf41 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -19,8 +19,6 @@ smart_borders on # gaps outer 0 gaps top 10 -for_window [app_id="kitty_shell"] floating enable, move center - ### Variables # @@ -150,7 +148,7 @@ input "type:keyboard" { bindsym --to-code $mod+Shift+q kill bindsym --to-code $mod+Space exec $menu bindsym --to-code $mod+Tab exec $windows - bindsym --to-code Shift+Space exec cliphist list | rofi -dmenu -P "" | cliphist decode | wl-copy + bindsym --to-code Shift+Space exec ~/.scripts/clipboard.fish bindsym --to-code $mod+Backspace exec ~/.scripts/power.fish bindsym --to-code $mod+Apostrophe exec ~/.scripts/shot.fish @@ -270,17 +268,17 @@ bindsym --to-code $mod+r mode "resize" ### Autostart -# +exec solaar --window=hide --battery-icons=solaar exec udiskie -t exec swaylock exec tuxedo-control-center --tray exec swaykbdd -exec wl-paste --primary --type text --watch cliphist store +exec wl-paste --watch cliphist store +exec wl-paste -p --watch cliphist store exec wl-paste --type image --watch cliphist store ### Idle configuration -# exec ~/.scripts/idle.fish diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua index d6ab191..3c324cc 100644 --- a/.config/wezterm/wezterm.lua +++ b/.config/wezterm/wezterm.lua @@ -24,7 +24,7 @@ config.mouse_bindings = { }, } config.font = wezterm.font({ family = "Iosevka Nerd Font", weight = "Regular", style = "Italic" }) -config.font_size = 13 +config.font_size = 12 config.use_fancy_tab_bar = false config.hide_tab_bar_if_only_one_tab = true