From 0ae900515e75ac9e9b368d2f995d01bf9e102e70 Mon Sep 17 00:00:00 2001 From: Linuxius <95486686+Linuxius-Thomas@users.noreply.github.com> Date: Thu, 7 May 2026 19:20:37 +0200 Subject: [PATCH] Add files via upload --- dots/.config/hypr/hyprland/execs.lua | 2 +- dots/.config/hypr/hyprland/general.lua | 4 ++-- dots/.config/hypr/hyprland/keybinds.lua | 6 ++--- dots/.config/hypr/hyprland/rules.lua | 28 ++++++++++++------------ dots/.config/hypr/hyprland/variables.lua | 8 +++---- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/dots/.config/hypr/hyprland/execs.lua b/dots/.config/hypr/hyprland/execs.lua index 5f513c7f1..4c277af67 100644 --- a/dots/.config/hypr/hyprland/execs.lua +++ b/dots/.config/hypr/hyprland/execs.lua @@ -13,7 +13,7 @@ hl.on("hyprland.start", function () hl.exec_cmd("sleep 1 && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP") -- Some fix idk -- Audio - hl.exec_cmd("easyeffects --hide-window --service-mode") + --hl.exec_cmd("easyeffects --hide-window --service-mode") -- Clipboard: history --hl.exec_cmd("wl-paste --watch cliphist store") diff --git a/dots/.config/hypr/hyprland/general.lua b/dots/.config/hypr/hyprland/general.lua index a1355485d..ccb509a52 100644 --- a/dots/.config/hypr/hyprland/general.lua +++ b/dots/.config/hypr/hyprland/general.lua @@ -128,7 +128,7 @@ hl.animation({ leaf = "zoomFactor", enabled = true, speed = 3, bezi hl.config({ input = { - kb_layout = us, + kb_layout = "us", numlock_by_default = true, repeat_delay = 250, repeat_rate = 35, @@ -137,7 +137,7 @@ hl.config({ off_window_axis_events = 2, touchpad = { - natural_scroll = yes, + natural_scroll = "yes", disable_while_typing = true, clickfinger_behavior = true, scroll_factor = 0.7, diff --git a/dots/.config/hypr/hyprland/keybinds.lua b/dots/.config/hypr/hyprland/keybinds.lua index 1350e73e5..04afd8f5c 100644 --- a/dots/.config/hypr/hyprland/keybinds.lua +++ b/dots/.config/hypr/hyprland/keybinds.lua @@ -131,8 +131,8 @@ hl.bind("SUPER + Semicolon", hl.dsp.layout("splitratio -0 hl.bind("SUPER + Apostrophe", hl.dsp.layout("splitratio +0.1"), {repeating = true} ) -- # [hidden] --# Positioning mode hl.bind("SUPER + ALT + Space", hl.dsp.window.float({action = "toggle"}) ) -- Float/Tile -hl.bind("SUPER + D", hl.dsp.window.fullscreen({maximized}) ) -- Maximize -hl.bind("SUPER + F", hl.dsp.window.fullscreen({fullscreen}) ) -- Fullscreen +hl.bind("SUPER + D", hl.dsp.window.fullscreen({"maximized"}) ) -- Maximize +hl.bind("SUPER + F", hl.dsp.window.fullscreen({"fullscreen"}) ) -- Fullscreen hl.bind("SUPER + ALT + F", hl.dsp.window.fullscreen_state({internal = 0, client = 3}) ) -- Fullscreen spoof hl.bind("SUPER + P", hl.dsp.window.pin() ) -- Pin @@ -294,4 +294,4 @@ hl.bind("CTRL + SHIFT + Escape", hl.dsp.exec_cmd("$taskManage --# Cursed stuff --## Make window not amogus large -hl.bind("CTRL + SUPER + Backslash", hl.dsp.window.resize({x = 640, y = 480, exact}) ) -- # [hidden] +hl.bind("CTRL + SUPER + Backslash", hl.dsp.window.resize({x = 640, y = 480, "exact"}) ) -- # [hidden] diff --git a/dots/.config/hypr/hyprland/rules.lua b/dots/.config/hypr/hyprland/rules.lua index 07f346712..ffb1aa485 100644 --- a/dots/.config/hypr/hyprland/rules.lua +++ b/dots/.config/hypr/hyprland/rules.lua @@ -1,7 +1,7 @@ -- ######## Window rules ######## -- Disable blur for xwayland context menus -hl.window_rule({match = {class = "^()$" }, match = {title = "^()$" }, no_blur = true }) +hl.window_rule({match = {class = "^()$", title = "^()$" }, no_blur = true }) -- Disable blur for every window hl.window_rule({match = {class = ".*" }, no_blur = true }) @@ -78,7 +78,7 @@ hl.window_rule({match = {title = ".*minecraft.*" }, hl.window_rule({match = {class = "^(steam_app).*" }, immediate = true}) -- Fix Jetbrain IDEs focus/rerendering problem -hl.window_rule({match = {class = "^jetbrains-.*$" }, match = {float = 1 }, match = {title = "^$|^\\s$|^win\\d+$" }, no_initial_focus = true}) +hl.window_rule({match = {class = "^jetbrains-.*$", float = 1, title = "^$|^\\s$|^win\\d+$" }, no_initial_focus = true}) -- No shadow for tiled windows (matches windows that are not floating). hl.window_rule({match = {float = 0 }, no_shadow = true}) @@ -88,22 +88,22 @@ hl.workspace_rule({ workspace = "special:special", gaps_out = 30 }) -- ######## Layer rules ######## hl.layer_rule({ match = { namespace = ".*" }, xray = true}) ---hl.layer_rule({ match = { namespace = ".*" }, no_anim = true}) -hl.layer_rule({ match = { namespace = walker }, no_anim = true}) -hl.layer_rule({ match = { namespace = selection }, no_anim = true}) -hl.layer_rule({ match = { namespace = overview }, no_anim = true}) -hl.layer_rule({ match = { namespace = anyrun }, no_anim = true}) +--hl.layer_rule({ match = { namespace = ".*" }, no_anim = true}) +hl.layer_rule({ match = { namespace = "walker" }, no_anim = true}) +hl.layer_rule({ match = { namespace = "selection" }, no_anim = true}) +hl.layer_rule({ match = { namespace = "overview" }, no_anim = true}) +hl.layer_rule({ match = { namespace = "anyrun" }, no_anim = true}) hl.layer_rule({ match = { namespace = "indicator.*" }, no_anim = true}) -hl.layer_rule({ match = { namespace = osk }, no_anim = true}) -hl.layer_rule({ match = { namespace = hyprpicker }, no_anim = true}) +hl.layer_rule({ match = { namespace = "osk" }, no_anim = true}) +hl.layer_rule({ match = { namespace = "hyprpicker" }, no_anim = true}) -hl.layer_rule({ match = { namespace = noanim }, no_anim = true}) +hl.layer_rule({ match = { namespace = "noanim" }, no_anim = true}) hl.layer_rule({ match = { namespace = "gtk-layer-shell" }, blur = true}) hl.layer_rule({ match = { namespace = "gtk-layer-shell" }, ignore_alpha = 0}) -hl.layer_rule({ match = { namespace = launcher }, blur = true}) -hl.layer_rule({ match = { namespace = launcher }, ignore_alpha = 0.5}) -hl.layer_rule({ match = { namespace = notifications }, blur = true}) -hl.layer_rule({ match = { namespace = notifications }, ignore_alpha = 0.69}) +hl.layer_rule({ match = { namespace = "launcher" }, blur = true}) +hl.layer_rule({ match = { namespace = "launcher" }, ignore_alpha = 0.5}) +hl.layer_rule({ match = { namespace = "notifications" }, blur = true}) +hl.layer_rule({ match = { namespace = "notifications" }, ignore_alpha = 0.69}) --hl.layer_rule({ match = { namespace = logout_dialog }, -- wlogout blur = true}) -- ags diff --git a/dots/.config/hypr/hyprland/variables.lua b/dots/.config/hypr/hyprland/variables.lua index 8292af04a..e40174ef4 100644 --- a/dots/.config/hypr/hyprland/variables.lua +++ b/dots/.config/hypr/hyprland/variables.lua @@ -18,7 +18,7 @@ hl.env("taskManager", "$HOME/.config/hypr/hyprland/scripts/launch_first_availabl -- Leave blank like this to load default config. Set to anything to not. -global dontLoadDefaultExecs = "" -global dontLoadDefaultGeneral = "" -global dontLoadDefaultRules = "" -global dontLoadDefaultKeybinds = "" +local dontLoadDefaultExecs = "" +local dontLoadDefaultGeneral = "" +local dontLoadDefaultRules = "" +local dontLoadDefaultKeybinds = ""