From 0565c7aabfdc678a4ac140cfb66bc8d55d02d0f5 Mon Sep 17 00:00:00 2001 From: Xory Date: Sun, 4 Jan 2026 00:33:27 +0200 Subject: [PATCH] fix: flake update fixes --- config/hypr/hyprland.conf | 37 +++++++++++++++++++++++++++++++------ config/hypr/hyprpaper.conf | 5 +++++ config/nvim/init.lua | 13 ++++++------- configuration.nix | 1 + 4 files changed, 43 insertions(+), 13 deletions(-) diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index f4e4a11..d733010 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -286,6 +286,7 @@ bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPrev, exec, playerctl previous + ############################## ### WINDOWS AND WORKSPACES ### ############################## @@ -293,11 +294,35 @@ bindl = , XF86AudioPrev, exec, playerctl previous # See https://wiki.hypr.land/Configuring/Window-Rules/ for more # See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules -# Example windowrule -# windowrule = float,class:^(kitty)$,title:^(kitty)$ +# Example windowrules that are useful -# Ignore maximize requests from apps. You'll probably like this. -windowrule = suppressevent maximize, class:.* +windowrule { + # Ignore maximize requests from all apps. You'll probably like this. + name = suppress-maximize-events + match:class = .* -# Fix some dragging issues with XWayland -windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 + suppress_event = maximize +} + +windowrule { + # Fix some dragging issues with XWayland + name = fix-xwayland-drags + match:class = ^$ + match:title = ^$ + match:xwayland = true + match:float = true + match:fullscreen = false + match:pin = false + + no_focus = true +} + +# Hyprland-run windowrule +windowrule { + name = move-hyprland-run + + match:class = hyprland-run + + move = 20 monitor_h-120 + float = yes +} diff --git a/config/hypr/hyprpaper.conf b/config/hypr/hyprpaper.conf index a73b826..9dcc679 100644 --- a/config/hypr/hyprpaper.conf +++ b/config/hypr/hyprpaper.conf @@ -1,2 +1,7 @@ preload = /home/xory/wallpaper.png wallpaper = ,/home/xory/wallpaper.png + +wallpaper { + monitor = eDP-2 + path = ~/wallpaper.png +} diff --git a/config/nvim/init.lua b/config/nvim/init.lua index 51aa647..925ef68 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -84,10 +84,9 @@ cmp.setup({ local capabilities = require("cmp_nvim_lsp").default_capabilities() -local lspconfig = require('lspconfig') -local servers = { "rust_analyzer", "pylsp", "biome", "eslint", "ccls" } -for _, lsp in ipairs(servers) do - lspconfig[lsp].setup({ - capabilities = capabilities, - }) -end +vim.lsp.enable("rust_analyzer") +vim.lsp.enable("pylsp") +vim.lsp.enable("biome") +vim.lsp.enable("eslint") +vim.lsp.enable("ccls") + diff --git a/configuration.nix b/configuration.nix index 4c7102d..1206691 100644 --- a/configuration.nix +++ b/configuration.nix @@ -36,6 +36,7 @@ "/var/lib/ollama-models" "/var/lib/flatpak" "/var/lib/tailscale" + "/var/lin/syncthing" "/etc/NetworkManager/system-connections" "/etc/ssh" ];