diff --git a/.winitrc b/.winitrc index f7e65d1..316e1d7 100755 --- a/.winitrc +++ b/.winitrc @@ -27,6 +27,9 @@ export XDG_CURRENT_DESKTOP=Sway export XDG_SESSION_DESKTOP=Sway export WLR_NO_HARDWARE_CURSORS=1 +# for electron apps +export ELECTRON_OZONE_PLATFORM_HINT=wayland + # fix for slow loads on igpu-only mode # export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json:/usr/share/glvnd/egl_vendor.d/10_nvidia.json diff --git a/nvim/init.lua b/nvim/init.lua index eb62dac..dbe5c4b 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -19,7 +19,7 @@ require("packer").startup(function() }) use({ "nvim-telescope/telescope.nvim", - tag = "0.1.0", + tag = "0.1.4", }) use({ "williamboman/mason.nvim", @@ -64,8 +64,7 @@ local function nmap(shortcut, command) map("n", shortcut, command) end -local use -builtin = require("telescope.builtin") +local builtin = require("telescope.builtin") nmap("", builtin.find_files) require("lualine").setup({ @@ -120,3 +119,5 @@ nmap("", "Goyo") require("user.cmp") require("user.lsp") + +vim.g.mapleader = " " diff --git a/nvim/lua/user/basics.lua b/nvim/lua/user/basics.lua index a0c6b46..cfb3449 100644 --- a/nvim/lua/user/basics.lua +++ b/nvim/lua/user/basics.lua @@ -27,4 +27,5 @@ vim.cmd([[ syntax on syntax enable hi CursorLine cterm=NONE ctermbg=237 ctermfg=NONE +set clipboard+=unnamedplus ]]) diff --git a/sway/config b/sway/config index 6180589..452f582 100644 --- a/sway/config +++ b/sway/config @@ -2,14 +2,14 @@ output eDP-1 { #mode 1920x1080@60.004Hz mode 1920x1080@144.003Hz - scale 1.0 + scale 1.15 adaptive_sync on } output DP-1 { mode 2560x1440@144.000Hz - scale 1.0 - adaptive_sync on + scale 1.10 + adaptive_sync off } output HDMI-A-2 { @@ -259,10 +259,10 @@ bindsym --release $mod+s exec grim /tmp/ss.png && wl-copy