]> Freerunner's - dotfiles.git/commitdiff
hypr: update configs main
authorAndre Ramnitz <andre.ramnitz@mail.de>
Thu, 30 Jul 2026 05:25:34 +0000 (07:25 +0200)
committerAndre Ramnitz <andre.ramnitz@mail.de>
Thu, 30 Jul 2026 05:25:34 +0000 (07:25 +0200)
dot-config/hypr/fragments/keybinds.lua
dot-config/hypr/fragments/permissions.lua
dot-config/hypr/fragments/windowrules.lua
dot-config/hypr/fragments/workspacerules.lua
dot-config/hypr/hyprland.conf [new file with mode: 0644]
dot-config/hypr/hyprland.lua
dot-config/hypr/hyprtoolkit.conf
dot-config/hypr/scripts/gamemode.sh

index bf0fd8ab8a891d30771f0c2a9d9224ad48d4e1b3..1df7c79ce3d4664ac6cdaa765d8d6cb2eeb13ddd 100644 (file)
@@ -31,8 +31,8 @@ hl.bind(mainMod .. " + CTRL + SHIFT + Return", exec("alacritty"))
 hl.bind(mainMod .. " + SHIFT + Q", hl.dsp.window.close())
 hl.bind(mainMod .. " + A", hl.dsp.window.pseudo())
 hl.bind(mainMod .. " + B", exec("$HOME/.config/hypr/scripts/browser_focus_or_run.sh"))
-hl.bind(mainMod .. " + C", exec("qs -c noctalia-shell ipc call launcher clipboard"))
-hl.bind(mainMod .. " + D", exec("qs -c noctalia-shell ipc call launcher toggle"))
+hl.bind(mainMod .. " + C", exec("qs -c noctalia ipc call launcher clipboard"))
+hl.bind(mainMod .. " + D", exec("qs -c noctalia ipc call launcher toggle"))
 hl.bind(mainMod .. " + SHIFT + D", exec("killall fuzzel || fuzzel --config=$HOME/.config/fuzzel/fuzzel-centered.ini"))
 hl.bind(mainMod .. " + E", exec("foot -a lf lf"))
 hl.bind(mainMod .. " + SHIFT + E", exec("dolphin"))
@@ -57,10 +57,10 @@ hl.bind(mainMod .. " + SHIFT + S", hl.dsp.layout("swapsplit"))
 -- hl.bind(mainMod .. " + SHIFT + S", hl.dsp.layout("colresize -conf"))
 
 hl.bind(mainMod .. " + V", hl.dsp.window.float())
-hl.bind(mainMod .. " + W", exec("qs -c noctalia-shell ipc call toast dismiss"))
-hl.bind(mainMod .. " + SHIFT + W", exec("qs -c noctalia-shell ipc call bar toggle"))
+hl.bind(mainMod .. " + W", exec("qs -c noctalia ipc call toast dismiss"))
+hl.bind(mainMod .. " + SHIFT + W", exec("qs -c noctalia ipc call bar toggle"))
 hl.bind(mainMod .. " + Z", hl.dsp.window.center())
-hl.bind(mainMod .. " + grave", exec("qs -c noctalia-shell ipc call launcher emoji"))
+hl.bind(mainMod .. " + grave", exec("qs -c noctalia ipc call launcher emoji"))
 
 -- sureMod keys
 hl.bind(sureMod .. " + M", hl.dsp.exit())
@@ -71,7 +71,7 @@ hl.bind(sureMod .. " + L", exec("~/.config/hypr/scripts/powermenu.sh"))
 -- misc keys
 hl.bind(mainMod .. " + Print", exec("flatpak run be.alexandervanhee.gradia --screenshot=INTERACTIVE"))
 hl.bind("SHIFT + Print", exec("flatpak run be.alexandervanhee.gradia --screenshot=FULL"))
-hl.bind("Alt_L + Alt_R + L", exec("qs -c noctalia-shell ipc call lockScreen lock"))
+hl.bind("Alt_L + Alt_R + L", exec("qs -c noctalia ipc call lockScreen lock"))
 
 -- media keys
 hl.bind("XF86AudioRaiseVolume", exec("/home/andy/.local/bin/wp+"), { locked = true })
index 70a477bcebe86048be4a25e8ddb18b35e2cbee6c..df175295877353cc1c53c310bf72cb43f43ac16f 100644 (file)
@@ -33,6 +33,12 @@ hl.permission({
     mode = "allow",
 })
 
+hl.permission({
+    binary = "virtualboxvm.*",
+    type = "cursorpos",
+    mode = "allow",
+})
+
 hl.permission({
     binary = "zsa-technology-labs-moonlander.*",
     type = "cursorpos",
index 5ac87f6e4682455d8299dd7c65bdb23294d2816c..47309c133c66ead33a3c3947268ef1d321f0ff1a 100644 (file)
 hl.window_rule({
     name = "floating_enable",
     float = true,
+    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).*)$",
+    },
+})
+
+hl.window_rule({
+    name = "floating_enable_with_hint",
+    float = true,
     size = "1280 800",
     match = {
-        class = "^((qtpass|org.ijhack.qtpass|org.kde|smplayer|mpv|ark|lxqt|vlc|pcmanfm|qalculate|kdesystemsettings|org.keepassxc|KeePassXC|gimp|clipse|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 = "^((qalculate|clipse).*)$",
     },
 })
 
index a65299acf208a261858f38e6154e9ce0b6370606..cef0c226a3faaa51c306dbedc4f64430b2d4dd7e 100644 (file)
@@ -8,7 +8,7 @@
 hl.workspace_rule({ workspace = "1", layout = dwindle })
 hl.workspace_rule({ workspace = "2", layout = dwindle })
 hl.workspace_rule({ workspace = "3", layout = float })
-hl.workspace_rule({ workspace = "4", layout = float })
+hl.workspace_rule({ workspace = "4", layout = float, gaps_out=8, gaps_in=4 })
 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
new file mode 100644 (file)
index 0000000..da0a981
--- /dev/null
@@ -0,0 +1,3 @@
+
+source = /home/andy/.config/hypr/noctalia/noctalia-colors.conf
+
index 274bfedb6cb85664e21fbd3bd422da37ebe08e50..cea9ecdf3bb5a9d133cd5cb61107b6e56ead216b 100644 (file)
@@ -48,7 +48,7 @@ hl.on("hyprland.start", function ()
   hl.exec_cmd("/usr/libexec/pam_kwallet_init")
   hl.exec_cmd("gmenudbusmenuproxy")
   hl.exec_cmd("env XDG_MENU_PREFIX=plasma- kbuildsycoca6 --noincremental")
-  hl.exec_cmd("openrc -U hyprland")
+  hl.exec_cmd("openrc -U desktop")
   hl.exec_cmd("~/.local/bin/run_after_noctalia.sh")
   -- hl.exec_cmd("hyprctl plugin load /usr/lib/hyprland-plugins/dynamic-cursors.so")
   -- hl.exec_cmd("hyprctl plugin load /usr/lib/hyprland-plugins/hyprbars.so")
@@ -133,6 +133,7 @@ hl.config({
             size      = 3,
             passes    = 1,
             vibrancy  = 0.1696,
+            noise     = 0.0696,
         },
     },
 })
@@ -158,6 +159,7 @@ 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
     },
 })
@@ -237,6 +239,8 @@ hl.config({
         kb_rules   = "",
 
         follow_mouse = 1,
+        float_switch_override_focus = 0,
+        follow_mouse_shrink = 1,
 
         sensitivity = 0, -- -1.0 - 1.0, 0 means no modification.
 
index 2a096afc6609b030224b5755658b8a79c52f5591..294f5a9c8c1120ef33ec8bfc2b9e31780351248a 100644 (file)
@@ -1,7 +1,7 @@
-background = rgba(0c0c0cff)
-base = rgba(0c0c0cff)
-text = rgba(ffffffff)
-alternate_base = rgba(1c1c1cff)
-bright_text = rgba(000000ff)
-accent = rgba(ffc799ff)
-accent_secondary = rgba(99ffe4ff)
\ No newline at end of file
+background = rgba(1f1f28ff)
+base = rgba(1f1f28ff)
+text = rgba(c8c093ff)
+alternate_base = rgba(2a2a37ff)
+bright_text = rgba(1f1f28ff)
+accent = rgba(76946aff)
+accent_secondary = rgba(c0a36eff)
\ No newline at end of file
index c520d1f41e6de9bd2c12f6579bfd5abd20f5106a..993b146d279861b0b9fad3bc253a5a78e46313bb 100755 (executable)
@@ -32,19 +32,19 @@ if [ "$COMFY" = true ] ; then
 
             input = {
                 follow_mouse = 0,
-                float_switch_override_focus = 2,
+                float_switch_override_focus = 0,
             },
         })'
-    qs -c noctalia-shell ipc call powerProfile set Performance
-    qs -c noctalia-shell ipc call powerProfile enableNoctaliaPerformance
-    qs -c noctalia-shell ipc call nightLight disable
+    qs -c noctalia ipc call powerProfile set Performance
+    qs -c noctalia ipc call powerProfile enableNoctaliaPerformance
+    qs -c noctalia ipc call nightLight disable
     lact cli profile set UV_gamemode
     echo "on" > "$HOME/.cache/hyprgamemode"
     exit
 fi
-qs -c noctalia-shell ipc call powerProfile set Balanced
-qs -c noctalia-shell ipc call powerProfile disableNoctaliaPerformance
-qs -c noctalia-shell ipc call nightLight enable
+qs -c noctalia ipc call powerProfile set Balanced
+qs -c noctalia ipc call powerProfile disableNoctaliaPerformance
+qs -c noctalia ipc call nightLight enable
 lact cli profile set UV
 hyprctl reload;
 echo "" > "$HOME/.cache/hyprgamemode"