diff options
| author | Joshua Yun <joshua@joshuayun.com> | 2025-10-28 09:54:45 -0500 |
|---|---|---|
| committer | Joshua Yun <joshua@joshuayun.com> | 2025-10-28 10:01:28 -0500 |
| commit | 4c056978b0553f7ac670170f777ef8669ead9aad (patch) | |
| tree | 3ff4af60fbb3406c8f62b16425587ec34b7175c0 | |
| parent | ea2b5600f46bdbfbef8735384f4f4bd2d82ae1ed (diff) | |
| download | config-laptop.tar.gz | |
Update laptoplaptop
| -rw-r--r-- | hypr/hyprland.conf | 4 | ||||
| -rwxr-xr-x | nvim/lua/config/lazy.lua | 9 | ||||
| -rwxr-xr-x | nvim/lua/config/options.lua | 10 | ||||
| -rw-r--r-- | waybar/config | 2 |
4 files changed, 15 insertions, 10 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 528f9ee..2e83ce2 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -28,7 +28,7 @@ general { } misc { - enable_swallow = true + enable_swallow = false swallow_regex = kitty } @@ -55,9 +55,7 @@ plugin { animation = global, 0 # Monitor Config -# monitor = HDMI-A-1, preferred, auto, 1 monitor = eDP-1, preferred, auto, 1.6 -# monitor = DP-1, preferred, auto-right, 1 monitor = , preferred, auto, 1 # Volume Configuration diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua index 6544947..bd58b9d 100755 --- a/nvim/lua/config/lazy.lua +++ b/nvim/lua/config/lazy.lua @@ -5,18 +5,15 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then if vim.v.shell_error ~= 0 then vim.api.nvim_echo({ { "Failed to clone lazy.nvim:\n", "ErrorMsg" }, - { out, "WarningMsg" }, + { out, "WarningMsg" }, { "\nPress any key to exit..." }, }, true, {}) vim.fn.getchar() os.exit(1) end end + vim.opt.rtp:prepend(lazypath) -vim.opt.clipboard = "unnamedplus" -vim.api.nvim_create_autocmd("FileType", { - command = "set formatoptions-=cro", -}) vim.filetype.add({ extension = { cc = "cpp" } }) vim.filetype.add({ extension = { psv = "systemverilog" } }) @@ -40,7 +37,7 @@ require("lazy").setup({ checker = { enabled = true, -- check for plugin updates periodically notify = false, -- notify on update - }, -- automatically check for plugin updates + }, -- automatically check for plugin updates performance = { rtp = { -- disable some rtp plugins diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua index 0392213..0cae456 100755 --- a/nvim/lua/config/options.lua +++ b/nvim/lua/config/options.lua @@ -2,6 +2,16 @@ -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua -- Add any additional options here +vim.opt.clipboard = "unnamedplus" +vim.api.nvim_create_autocmd("FileType", { + command = "set formatoptions-=cro", +}) + +vim.o.tabstop = 2 -- A TAB character looks like 4 spaces +vim.o.expandtab = true -- Pressing the TAB key will insert spaces instead of a TAB character +vim.o.softtabstop = 2 -- Number of spaces inserted instead of a TAB character +vim.o.shiftwidth = 2 -- Number of spaces inserted when indenting + -- Disable autoformat for systemverilog files vim.api.nvim_create_autocmd({ "FileType" }, { pattern = { "sv", "v", "systemverilog", "verilog" }, diff --git a/waybar/config b/waybar/config index a24d239..9f3ce29 100644 --- a/waybar/config +++ b/waybar/config @@ -37,7 +37,7 @@ "pulseaudio": { "format": "{volume}% {icon} ", - "format-bluetooth": "{volume}% {icon}", + "format-bluetooth": "{volume}% {icon} ", "format-muted": "", "format-icons": { "default": ["", ""] |
