Compare commits

...
4 Commits
5 changed files with 29 additions and 18 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
gtk-theme=Arc-Dark
time-format=%H:%M
start-hidden=1
modules=userinfo-module;powerbar-module
modules=powerbar-module
[userinfo]
round-image=true
+16 -2
View File
@@ -7,6 +7,17 @@ vim.opt.shell = "/usr/bin/zsh"
vim.g.BASH_Ctrl_j = "off"
vim.g.BASH_Ctrl_l = "off"
vim.opt.clipboard:append("unnamedplus")
vim.g.clipboard = {
name = "OSC 52",
copy = {
["+"] = require("vim.ui.clipboard.osc52").copy("+"),
["*"] = require("vim.ui.clipboard.osc52").copy("*"),
},
paste = {
["+"] = require("vim.ui.clipboard.osc52").paste("+"),
["*"] = require("vim.ui.clipboard.osc52").paste("*"),
},
}
vim.opt.cursorline = true
vim.opt.list = true
vim.opt.listchars = { tab = "", trail = "·", extends = "", precedes = "", nbsp = "+" }
@@ -462,8 +473,8 @@ local function makespec_lspconfig()
vim.lsp.enable("clangd")
vim.lsp.enable("html")
vim.lsp.enable("lua_ls")
vim.lsp.enable("ty")
-- vim.lsp.enable("pyrefly")
-- vim.lsp.enable("ty")
vim.lsp.enable("pyrefly")
-- vim.lsp.enable("pylsp")
-- vim.lsp.enable("basedpyright")
vim.lsp.enable("tinymist")
@@ -678,6 +689,7 @@ local function makespec_neotree()
window = {
mappings = {
["/"] = false, -- disable fancy and annoying filter, just search instead
["z"] = false, -- disable closing of nodes so view can be centered
},
},
},
@@ -1062,6 +1074,8 @@ local function makespec_snacks()
{ "<leader>qd", function() Snacks.bufdelete() end, desc = "Delete Buffer" },
{ "<leader>gl", function() Snacks.lazygit() end, desc = "Launch Lazygit" },
{ "<leader>.", function() Snacks.scratch.open() end, desc = "Scratch Buffer" },
{ "<leader>,", function() Snacks.picker.buffers() end, desc = "Buffers" },
-- find
{ "<M-f>", function() Snacks.picker.git_files() end, desc = "Find Git Files" },
{ "<leader>fg", function() Snacks.picker.git_files() end, desc = "Find Git Files" },
+5
View File
@@ -84,6 +84,10 @@ c.content.blocking.adblock.lists = [
"https://easylist.to/easylist/easyprivacy.txt",
"https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext",
]
c.content.javascript.log_message.excludes = {
"userscript:_qute_js": ["*TrustedHTML*"],
"userscript:_qute_stylesheet": ["*Refused to apply inline style because it violates the following Content Security Policy directive: *"]
}
c.completion.web_history.max_items = 10000
c.completion.height = "100%"
c.confirm_quit = ["multiple-tabs", "downloads"]
@@ -144,6 +148,7 @@ c.input.insert_mode.plugins = True
c.messages.timeout = 5000
c.qt.force_platform = "wayland"
c.qt.highdpi = True
c.qt.args = ["disable-features=WebAuth"] # makes BankID work
c.scrolling.bar = "always"
c.scrolling.smooth = False
c.session.lazy_restore = False
+3 -3
View File
@@ -286,10 +286,10 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
# Idle configuration
exec_always swayidle -w \
timeout 1200 'gtklock -d' \
exec swayidle -w \
timeout 1200 'pgrep -x gtklock || gtklock -d' \
timeout 2400 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
before-sleep 'gtklock -d' \
before-sleep 'pgrep -x gtklock || gtklock -d' \
after-resume 'swaymsg reload' \
idlehint 240
+4 -12
View File
@@ -1,13 +1,11 @@
# input
input type:tablet_tool map_to_region 2560 0 2560 1440
# input type:tablet_tool map_to_region 2560 0 2560 1440
# output
exec create_output HEADLESS-1
output DP-1 resolution 5120x1440 position 0 0
output HEADLESS-1 resolution 2560x1440 position 5120 0
bindsym $mod+x output create HEADLESS-1
bindsym $mod+Shift+x output HEADLESS-1 unplug
output DP-1 mode 3840x2560
output DP-1 scale 1.25
# switch to workspace
workspace 1 output DP-1
workspace 2 output DP-1
workspace 3 output DP-1
@@ -18,9 +16,3 @@ workspace 7 output DP-1
workspace 8 output DP-1
workspace 9 output DP-1
workspace 10 output DP-1
workspace INS output HEADLESS-1
workspace DEL output HEADLESS-1
workspace HOM output HEADLESS-1
workspace END output HEADLESS-1
workspace PUp output HEADLESS-1
workspace PDn output HEADLESS-1