summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hypr/hyprland.conf4
-rwxr-xr-xnvim/lua/config/lazy.lua9
-rwxr-xr-xnvim/lua/config/options.lua10
-rw-r--r--waybar/config2
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": ["", ""]