update hyprland

This commit is contained in:
Alexander Navarro 2025-09-05 09:46:51 -04:00
parent 7e24245690
commit 85c150a1ac
5 changed files with 15 additions and 1 deletions

View file

@ -46,7 +46,7 @@ input {
kb_options = caps:escape
kb_rules =
follow_mouse = 2
follow_mouse = 1
touchpad {
natural_scroll = true
@ -103,6 +103,7 @@ misc {
# swallow_exception_regex = ""
mouse_move_focuses_monitor = false
animate_manual_resizes = false
}
# ── Layouts ───────────────────────────────────────────────────────────

View file

@ -33,6 +33,7 @@ vim.keymap.set("n", "<C-l>", "<C-w>l", { desc = "Move to right window", silent =
-- LSP
vim.keymap.set("n", "<leader>lr", function() vim.lsp.buf.rename() end, { desc = "Rename symbol", silent = true })
vim.keymap.set("n", "<leader>lf", vim.lsp.buf.format, { desc = "Format document with LSP", silent = true })
vim.keymap.set("n", "<leader>lj", function() vim.diagnostic.jump({ count = 1 }) end,
{ desc = "Go to next diagnostic", silent = true })

View file

@ -0,0 +1 @@
/usr/lib/systemd/user/hypridle.service

View file

@ -0,0 +1,10 @@
[Unit]
After=graphical-session.target
After=wayland-session@hyprland.desktop.target
[Servie]
ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" ""
[Install]
WantedBy=graphical-session.target
WantedBy=wayland-session@hyprland.desktop.target