]> Freerunner's - dotfiles.git/commitdiff
hypr: update config for noctalia 5.x
authorAndre Ramnitz <andre.ramnitz@mail.de>
Tue, 8 Sep 2026 15:44:04 +0000 (17:44 +0200)
committerAndre Ramnitz <andre.ramnitz@mail.de>
Tue, 8 Sep 2026 15:44:16 +0000 (17:44 +0200)
dot-config/hypr/fragments/keybinds.lua
dot-config/hypr/hyprland.lua
dot-config/hypr/hyprtoolkit.conf
dot-config/hypr/scripts/gamemode.sh

index cdfcf473df70057bff777a2cc6999014905d336f..4c6625ff02dc30b872053f61bfe60b7cfa890cf8 100644 (file)
@@ -31,9 +31,9 @@ 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 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 .. " + C", exec("noctalia msg panel-toggle clipboard"))
+hl.bind(mainMod .. " + D", exec("noctalia msg panel-toggle launcher"))
+-- 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"))
 
@@ -51,27 +51,27 @@ hl.bind(mainMod .. " + SHIFT + I", hl.dsp.window.move({ workspace = "special:ove
 hl.bind(mainMod .. " + P", exec("foot -w 640x400 -a popup -H hyprpicker"))
 hl.bind(mainMod .. " + SHIFT + P", hl.dsp.window.pin())
 
-hl.bind(mainMod .. " + S", hl.dsp.layout("togglesplit"))
-hl.bind(mainMod .. " + SHIFT + S", hl.dsp.layout("swapsplit"))
+hl.bind(mainMod .. " + S", hl.dsp.window.float())
 -- hl.bind(mainMod .. " + S", hl.dsp.layout("colresize +conf"))
 -- 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 ipc call toast dismiss"))
-hl.bind(mainMod .. " + SHIFT + W", exec("qs -c noctalia ipc call bar toggle"))
+hl.bind(mainMod .. " + V", hl.dsp.layout("togglesplit"))
+hl.bind(mainMod .. " + SHIFT + V", hl.dsp.layout("swapsplit"))
+hl.bind(mainMod .. " + W", exec("noctalia msg bar-toggle"))
+hl.bind(mainMod .. " + SHIFT + W", exec("noctalia msg panel-toggle wallpaper"))
 hl.bind(mainMod .. " + Z", hl.dsp.window.center())
-hl.bind(mainMod .. " + grave", exec("qs -c noctalia ipc call launcher emoji"))
+hl.bind(mainMod .. " + grave", exec("noctalia msg panel-toggle launcher /emoji"))
 
 -- sureMod keys
 hl.bind(sureMod .. " + M", hl.dsp.exit())
 hl.bind(sureMod .. " + Return", exec("konsole"))
 hl.bind(sureMod .. " + G", exec("~/.config/hypr/scripts/gamemode.sh"))
-hl.bind(sureMod .. " + L", exec("~/.config/hypr/scripts/powermenu.sh"))
+hl.bind(sureMod .. " + L", exec("noctalia msg panel-toggle session"))
 
 -- 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 ipc call lockScreen lock"))
+hl.bind(mainMod .. " + Tab", exec("noctalia msg window-switcher"))
 
 -- media keys
 hl.bind("XF86AudioRaiseVolume", exec("/home/andy/.local/bin/wp+"), { locked = true })
index 1f3a1614a20cd6457b70b507054ae1f936486d9a..9cdf35dda61898ca7721f04bc7af116ec7e89285 100644 (file)
@@ -42,7 +42,8 @@ hl.on("hyprland.start", function ()
   hl.exec_cmd("gmenudbusmenuproxy")
   hl.exec_cmd("env XDG_MENU_PREFIX=plasma- kbuildsycoca6 --noincremental")
   hl.exec_cmd("openrc -U desktop")
-  hl.exec_cmd("~/.local/bin/run_after_noctalia.sh")
+  -- hl.exec_cmd("~/.local/bin/run_after_noctalia.sh")
+  hl.exec_cmd("/usr/bin/noctalia")
   -- hl.exec_cmd("hyprctl plugin load /usr/lib/hyprland-plugins/dynamic-cursors.so")
 end)
 
@@ -247,8 +248,9 @@ hl.config({
         kb_rules   = "",
 
         follow_mouse = 1,
-        float_switch_override_focus = 0,
+        float_switch_override_focus = 1,
         follow_mouse_shrink = 1,
+        follow_mouse_threshold = 10,
 
         sensitivity = 0, -- -1.0 - 1.0, 0 means no modification.
 
index 294f5a9c8c1120ef33ec8bfc2b9e31780351248a..33650f0cea842ea9af015773ccae293565683df0 100644 (file)
@@ -1,7 +1,7 @@
-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
+background = rgba(1c1822ff)
+base = rgba(1c1822ff)
+text = rgba(e9e4f0ff)
+alternate_base = rgba(262130ff)
+bright_text = rgba(f3edf7ff)
+accent = rgba(c7a1d8ff)
+accent_secondary = rgba(a984c4ff)
\ No newline at end of file
index 993b146d279861b0b9fad3bc253a5a78e46313bb..5f16c8d1b1f0e9b6181d49961e3a454ddf2cdd68 100755 (executable)
@@ -3,7 +3,8 @@ COMFY=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
 if [ "$COMFY" = true ] ; then
     hyprctl eval 'hl.config({
             general = {
-                gaps_out = 0,
+                gaps_out = 2,
+                gaps_in = 4,
                 border_size = 1,
             },
 
@@ -35,17 +36,19 @@ if [ "$COMFY" = true ] ; then
                 float_switch_override_focus = 0,
             },
         })'
-    qs -c noctalia ipc call powerProfile set Performance
-    qs -c noctalia ipc call powerProfile enableNoctaliaPerformance
-    qs -c noctalia ipc call nightLight disable
+    noctalia msg power-set Performance
+    noctalia msg wallpaper-set color:\#333333
+    noctalia msg nightlight-disable
+    noctalia msg osd-disable
     lact cli profile set UV_gamemode
     echo "on" > "$HOME/.cache/hyprgamemode"
     exit
 fi
-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;
+    noctalia msg power-set balanced
+    noctalia msg wallpaper-random
+    noctalia msg nightlight-enable
+    noctalia msg osd-enable
+    lact cli profile set UV
+    hyprctl reload;
 echo "" > "$HOME/.cache/hyprgamemode"