From: Andre Ramnitz Date: Sun, 18 Oct 2026 07:48:14 +0000 (+0200) Subject: hypr: update configs X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=62b660f0688be33732a6d75697af48abd7a24cc0;p=dotfiles.git hypr: update configs --- diff --git a/dot-config/hypr/fragments/keybinds.lua b/dot-config/hypr/fragments/keybinds.lua index 4c6625f..9cb6566 100644 --- a/dot-config/hypr/fragments/keybinds.lua +++ b/dot-config/hypr/fragments/keybinds.lua @@ -15,6 +15,7 @@ local mainMod = "SUPER" local fallbackterm = "konsole" local term = "foot" local floatterm = "foot -a popup -o colors-dark.alpha=0.96 -o colors-light.alpha=0.96" +-- local floatterm = "alacritty --class popup -o window.opacity=0.96" local moveAmount = 120 diff --git a/dot-config/hypr/fragments/windowrules.lua b/dot-config/hypr/fragments/windowrules.lua index aef5325..7d9a3ad 100644 --- a/dot-config/hypr/fragments/windowrules.lua +++ b/dot-config/hypr/fragments/windowrules.lua @@ -20,7 +20,7 @@ hl.window_rule({ name = "nobar2", match = { float = true, - class = "^((org.kde.*|steam|io.github.ilya_zlobintsev.LACT).*)$", + class = "^((org.kde|com.system76|steam|io.github.ilya_zlobintsev.LACT).*)$", }, ["hyprbars:no_bar"] = true }) @@ -28,7 +28,7 @@ hl.window_rule({ hl.window_rule({ name = "floating_enable", match = { - class = "^((VirtualBox|qtpass|org.ijhack.qtpass|org.kde|smplayer|mpv|ark|lxqt|vlc|pcmanfm|kdesystemsettings|gimp|openrgb|nwg-look|alsa-scarlett-gui|lstopo|org.corectrl.CoreCtrl|LACT|lutris|blueman-manager|org.freedesktop.impl.portal|be.alexandervanhee.gradia|io.missioncenter.MissionCenter|io.github.ilya_zlobintsev.LACT|ncmpcpp).*)$", + class = "^((net.davidotek.pupgui2|VirtualBox|qtpass|org.ijhack.qtpass|org.kde|com.system76|smplayer|mpv|ark|lxqt|vlc|pcmanfm|kdesystemsettings|gimp|openrgb|nwg-look|alsa-scarlett-gui|lstopo|org.corectrl.CoreCtrl|LACT|lutris|blueman-manager|org.freedesktop.impl.portal|be.alexandervanhee.gradia|io.missioncenter.MissionCenter|io.github.ilya_zlobintsev.LACT|ncmpcpp).*)$", }, float = true, }) @@ -134,7 +134,7 @@ hl.window_rule({ hl.window_rule({ name = "workspace4", match = { - class = "^((deezer|ncmpcpp|spotify).*)$", + class = "^(.*(Plattenalbum|deezer|ncmpcpp|spotify).*)$", }, workspace = 4, }) @@ -275,7 +275,7 @@ hl.window_rule({ name = "battle.net", match = { initial_class = "^steam_app_default$", - title = "(^Battle.net(.*)|)$", + title = "^(Battle.net(.*)|)$", }, float = true, no_shadow = true, diff --git a/dot-config/hypr/fragments/workspacerules.lua b/dot-config/hypr/fragments/workspacerules.lua index cef0c22..880fcc5 100644 --- a/dot-config/hypr/fragments/workspacerules.lua +++ b/dot-config/hypr/fragments/workspacerules.lua @@ -5,10 +5,10 @@ -- Ref https://wiki.hypr.land/Configuring/Basics/Workspace-Rules/ -hl.workspace_rule({ workspace = "1", layout = dwindle }) +hl.workspace_rule({ workspace = "1" }) hl.workspace_rule({ workspace = "2", layout = dwindle }) hl.workspace_rule({ workspace = "3", layout = float }) -hl.workspace_rule({ workspace = "4", layout = float, gaps_out=8, gaps_in=4 }) +hl.workspace_rule({ workspace = "4", layout = float, gaps_out=40, gaps_in=16 }) hl.workspace_rule({ workspace = "5", layout = dwindle }) hl.workspace_rule({ workspace = "6", layout = float }) hl.workspace_rule({ workspace = "7", layout = scrolling }) diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf deleted file mode 100644 index da0a981..0000000 --- a/dot-config/hypr/hyprland.conf +++ /dev/null @@ -1,3 +0,0 @@ - -source = /home/andy/.config/hypr/noctalia/noctalia-colors.conf - diff --git a/dot-config/hypr/hyprland.lua b/dot-config/hypr/hyprland.lua index fd489a4..27a145e 100644 --- a/dot-config/hypr/hyprland.lua +++ b/dot-config/hypr/hyprland.lua @@ -52,8 +52,6 @@ local menu = "qs -c noctalia-shell ipc call launcher toggle" hl.on("hyprland.start", function () hl.exec_cmd("~/.config/hypr/scripts/hyprinit.sh") -- also runs "openrc -U desktop" hl.exec_cmd("hyprpm reload") - -- hl.exec_cmd("/usr/libexec/pam_kwallet_init") - -- hl.exec_cmd("gmenudbusmenuproxy") hl.exec_cmd("env XDG_MENU_PREFIX=plasma- /usr/bin/kbuildsycoca6 --noincremental") hl.exec_cmd("/usr/bin/noctalia") end) @@ -186,8 +184,17 @@ hl.config({ -- See https://wiki.hypr.land/Configuring/Layouts/Dwindle-Layout/ for more hl.config({ dwindle = { - force_split = 2, - preserve_split = true, -- You probably want this + force_split = 3, + preserve_split = true, -- You probably want this + smart_split = false, + smart_resizing = true, + permanent_direction_override = false, + special_scale_factor = 2, + split_width_multiplier = 1.5, + use_active_for_splits = true, + default_split_ratio = 1.0, + split_bias = 1, + precise_mouse_move = false, }, }) @@ -202,6 +209,13 @@ hl.config({ hl.config({ scrolling = { fullscreen_on_one_column = true, + column_width = 0.5, + focus_fit_method = 1, + follow_min_visible = 0.4, + explicit_column_widths = "0.333, 0.5, 0.667, 1.0", + wrap_focus = true, + wrap_swapcol = true, + direction = right }, }) @@ -211,8 +225,8 @@ hl.config({ hl.config({ misc = { - force_default_wallpaper = -1, -- Set to 0 or 1 to disable the anime mascot wallpapers - disable_hyprland_logo = false, -- If true disables the random hyprland logo / anime girl background. :( + force_default_wallpaper = 1, -- Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = true, -- If true disables the random hyprland logo / anime girl background. :( }, }) diff --git a/dot-config/hypr/noctalia.lua b/dot-config/hypr/noctalia.lua index 99a25c4..d8df6c6 100644 --- a/dot-config/hypr/noctalia.lua +++ b/dot-config/hypr/noctalia.lua @@ -1,10 +1,10 @@ -- Generated by Noctalia -local primary = "rgb(c7a1d8)" -local surface = "rgb(1c1822)" -local on_surface = "rgb(e9e4f0)" -local secondary = "rgb(9f75bd)" -local on_secondary = "rgb(f3edf7)" +local primary = "rgb(9b59ba)" +local surface = "rgb(f5f1fa)" +local on_surface = "rgb(1c1822)" +local secondary = "rgb(784999)" +local on_secondary = "rgb(ffffff)" local error = "rgb(e9899d)" local on_error = "rgb(1e1418)"