fix(nvim): use clipboard:append for unnamedplus; add sway dbus-update script

This commit is contained in:
2026-07-06 16:13:38 -07:00
parent cc949db097
commit e3643c3ae2
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ vim.o.background = "dark" -- or "light" for light mode
--vim.cmd("colorscheme gruvbox ")
--vim.cmd("colorscheme retrobox")
-- vim.opt.clipboard = "unnamedplus" -- uses the clipboard register for all operations except yank.
vim.opt.clipboard:append("unnamedplus") -- sync yank/delete/put with system clipboard
vim.cmd("set nocompatible")
vim.cmd("syntax on")
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
dbus-update-activation-environment --systemd \
WAYLAND_DISPLAY \
DISPLAY \
SWAYSOCK \
XDG_SESSION_DESKTOP=sway \
XDG_SESSION_CLASS=user \
XDG_SEAT=seat0 \
XCURSOR_THEME=Adwaita \
XCURSOR_SIZE=35 \
GDK_BACKEND=wayland \
SDL_VIDEODRIVER=wayland \
"QT_QPA_PLATFORM=wayland-egl;xcb" \
MOZ_ENABLE_WAYLAND=1 \
WLR_DRM_NO_MODIFIERS=1 \
XWAYLAND_NO_SCALE=1