This commit is contained in:
Acid
2026-01-03 15:41:48 -05:00
parent 3bdebf987d
commit 0c50dd20ed
6 changed files with 64 additions and 42 deletions
+1
View File
@@ -1,5 +1,6 @@
**__pycache__**
systemd/user/default.target.wants/
systemd/user/.*
systemd/user/graphical-session.target.wants/
systemd/user/sockets.target.wants/
sublime-text/Local/*
+26 -29
View File
@@ -96,13 +96,12 @@ shadow {
}
}
layerrule = match:namespace waybar, blur on
layerrule = blur,waybar
animations {
enabled = yes
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
@@ -132,12 +131,11 @@ device {
}
## special window rules
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
windowrulev2 = noscreenshare, class:^(Bitwarden)$
windowrulev2 = float,class:^(io.bassi.Amberol)$
windowrulev2 = size 413 689,class:^(io.bassi.Amberol)$
windowrulev2 = float,class:^(qalculate-gtk)$,title:^(Qalculate!)$
windowrulev2 = tile,,class:^(affinity.exe)$
windowrule = suppress_event maximize, match:class .* # You'll probably like this.
windowrule = no_screen_share on, match:class ^(Bitwarden)$
windowrule = float on, size 413 689, match:class ^(io.bassi.Amberol)$
windowrule = float on, match:class ^(qalculate-gtk)$, match:title ^(Qalculate!)$
windowrule = tile on, workspace 10, match:class ^(affinity.exe)$
$mainMod = SUPER
@@ -177,7 +175,7 @@ bind = $mainMod, down, movefocus, d
workspace= 1,monitor:DP-1
workspace= 2,monitor:DP-1
workspace= 3,monitor:DP-1
workspace= 4,defaultname:coding,monitor:DP-1
workspace= 4,monitor:DP-1
workspace= 5,monitor:DP-1
workspace= 8,monitor:DP-1
workspace= 9,monitor:DP-1
@@ -213,26 +211,25 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10
# My windows #
##############
windowrulev2 = workspace 1,class:^(org.wezfurlong.wezterm)$
windowrulev2 = workspace 2,class:^(org.mozilla.firefox)$
windowrulev2 = workspace 3,class:^(nemo)$
windowrulev2 = workspace 4,title:^(VSCodium)$
windowrulev2 = workspace 4,class:^(jetbrains-idea-ce)$
windowrulev2 = workspace 4,title:^(Postman)$
windowrulev2 = workspace 4,title:^(RStudio)$
windowrulev2 = workspace 5,class:^(obsidian)$
windowrulev2 = workspace 5,class:^(libreoffice.*)$
windowrulev2 = workspace 5,class:^(com.discordapp.DiscordCanary)$
windowrulev2 = workspace 7,class:^(net.thunderbird.Thunderbird)$
windowrulev2 = workspace 8,title:^(Jellyfin Media Player)$
windowrulev2 = workspace 8,class:^(chrome-calendar.*)$
windowrulev2 = workspace 8,title:^(Tauon)$
windowrulev2 = workspace 9,class:^(steam)$
windowrulev2 = workspace 9,class:^(virt-manager)$
windowrulev2 = workspace 10,class:^(krita)$
windowrulev2 = workspace 10,class:^(affinity.exe)$
windowrulev2 = workspace 10,class:^(org.inkscape.Inkscape)$
windowrulev2 = workspace 6,class:^(Agemo)$
windowrule = workspace 1, match:class ^(org.wezfurlong.wezterm)$
windowrule = workspace 2, match:class ^(org.mozilla.firefox)$
windowrule = workspace 3, match:class ^(nemo)$
windowrule = workspace 4, match:title ^(VSCodium)$
windowrule = workspace 4, match:class ^(jetbrains-idea-ce)$
windowrule = workspace 4, match:title ^(Postman)$
windowrule = workspace 4, match:title ^(RStudio)$
windowrule = workspace 5, match:class ^(obsidian)$
windowrule = workspace 5, match:class ^(libreoffice.*)$
windowrule = workspace 5, match:class ^(com.discordapp.Discord)$
windowrule = workspace 7, match:class ^(net.thunderbird.Thunderbird)$
windowrule = workspace 8, match:title ^(Jellyfin Media Player)$
windowrule = workspace 8, match:class ^(chrome-calendar.*)$
windowrule = workspace 8, match:title ^(Tauon)$
windowrule = workspace 9, match:class ^(steam)$
windowrule = workspace 9, match:class ^(virt-manager)$
windowrule = workspace 10, match:class ^(krita)$
windowrule = workspace 10, match:class ^(org.inkscape.Inkscape)$
windowrule = workspace 6, match:class ^(Agemo)$
# Example special workspace (scratchpad)
bind = $mainMod ALT, S, togglespecialworkspace, magic
+13 -11
View File
@@ -1,13 +1,15 @@
preload= /home/mahalo/photos/wallhaven-8ggqqj.jpg
preload= /home/mahalo/photos/wallhaven-e8x3yo.jpg
wallpaper = DP-1,/home/mahalo/photos/wallhaven-e8x3yo.jpg
wallpaper = DP-2,/home/mahalo/photos/wallhaven-8ggqqj.jpg
wallpaper {
monitor = DP-1
path = /home/mahalo/photos/G9XY1wDWIAAXM9s.jpg
fit_mode = cover
}
#set the default wallpaper(s) seen on initial workspace(s) --depending on the number of monitors used
#enable splash text rendering over the wallpaper
splash = false
#fully disable ipc
# ipc = off
wallpaper {
monitor = DP-2
path = /home/mahalo/photos/wallhaven-8ggqqj.jpg
fit_mode = cover
}
splash = false
+12 -1
View File
@@ -87,13 +87,17 @@ vim.keymap.set('n', '<leader>-', ':IBLToggle<CR>', opts)
vim.keymap.set('n', '<F3>', function()
require('telescope.builtin').diagnostics(
require('telescope.themes').get_ivy{
-- only show errors & warnings, not hints/info:
severity_limit = vim.diagnostic.severity.WARN,
layout_config = { height = 0.3 },
}
)
end, { desc = 'Telescope: show all diagnostics' })
-- show code actions
vim.keymap.set('n', '<F4>', function()
vim.lsp.buf.code_action()
end, { desc = 'LSP: show code actions' })
-- Harpoon
local harpoon = require("harpoon.ui")
@@ -128,3 +132,10 @@ vim.api.nvim_create_autocmd("FileType", {
end,
})
-- for go
vim.api.nvim_create_autocmd("FileType", {
pattern = "go",
callback = function()
vim.fn.setreg("l", "y" .. "ofmt.Println(\"" .. cr .. ":\", " .. cr .. ");" .. esc)
end,
})
+10
View File
@@ -82,6 +82,16 @@ for _, ft in ipairs(filetypes) do
ls.add_snippets(ft, common_snippets)
end
-- go
ls.add_snippets("go", {
s("iferr", {
t("if err != nil {"),
t({ "", "\treturn " }),
i(1, "err"),
t({ "", "}" }),
}),
})
-- Markdown
-- ls.add_snippets("markdown",{
+2 -1
View File
@@ -49,7 +49,8 @@ local lsp_attach = function(client, bufnr)
end
-- Mason-LSPconfig setup
local servers = { "clangd", "vtsls", "pyright", "tailwindcss", "html", "stimulus_ls", "cssls",'gopls'}
local servers = { "clangd", "vtsls", "pyright", "tailwindcss", "html", "stimulus_ls", "cssls",'gopls'
,'autotools-language-server'}
------Uncoment on first run
-- require("mason-lspconfig").setup({