From bebddb13f1489144bd48538bef9aad75283dfae2 Mon Sep 17 00:00:00 2001 From: The_miro Date: Tue, 2 Jun 2026 14:21:28 +0200 Subject: [PATCH] chore(dock): standardise nwg-dock-hyprland flags across all binds Switch to -i 25 icon size and -d autohide flag; drop old per-position margin flags and -r resident flag; apply uniform command to all position binds, toggle, and autostart reference. Co-Authored-By: Claude Sonnet 4.6 --- desktopenvs/hyprlua/hypr-usr/autostart.lua | 2 +- desktopenvs/hyprlua/hypr-usr/binds.lua | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/desktopenvs/hyprlua/hypr-usr/autostart.lua b/desktopenvs/hyprlua/hypr-usr/autostart.lua index ba5fe07..4aa6b28 100644 --- a/desktopenvs/hyprlua/hypr-usr/autostart.lua +++ b/desktopenvs/hyprlua/hypr-usr/autostart.lua @@ -16,7 +16,7 @@ hl.on("hyprland.start", function() hl.exec_cmd("[workspace special:magic silent] kitty") hl.exec_cmd("hyprctl setcursor Nordzy-cursors-lefthand 50") hl.exec_cmd("hyprpaper") - -- hl.exec_cmd("GTK_THEME=cyberqueer; QT_QPA_PLATFORMTHEME=gtk3; nwg-dock-hyprland -mb 50 -is 20 -r -p right -s style.css") + -- hl.exec_cmd("nwg-dock-hyprland -c ~/.config/scripts/drawer.sh -mt 50 -i 25 -d -s style.css -d -p right") hl.exec_cmd("blueman-applet") hl.exec_cmd("blueman-tray") hl.exec_cmd("hypridle") diff --git a/desktopenvs/hyprlua/hypr-usr/binds.lua b/desktopenvs/hyprlua/hypr-usr/binds.lua index f941ad7..2162520 100644 --- a/desktopenvs/hyprlua/hypr-usr/binds.lua +++ b/desktopenvs/hyprlua/hypr-usr/binds.lua @@ -207,11 +207,11 @@ hl.bind(mainMod .. " + SHIFT + ALT + j", hl.dsp.group.move_window("d")) ---- NWG-DOCK ------ -------------------- -hl.bind(mainMod .. " + SHIFT + W", hl.dsp.exec_cmd("killall nwg-dock-hyprland; nwg-dock-hyprland -c ~/.config/scripts/drawer.sh -ml 50 -is 20 -r -s style.css -p left")) -hl.bind(mainMod .. " + SHIFT + E", hl.dsp.exec_cmd("killall nwg-dock-hyprland; nwg-dock-hyprland -c ~/.config/scripts/drawer.sh -mr 50 -is 20 -r -s style.css -p right")) -hl.bind(mainMod .. " + SHIFT + S", hl.dsp.exec_cmd("killall nwg-dock-hyprland; nwg-dock-hyprland -c ~/.config/scripts/drawer.sh -mt 50 -is 20 -r -s style.css -p top")) -hl.bind(mainMod .. " + SHIFT + D", hl.dsp.exec_cmd("killall nwg-dock-hyprland; nwg-dock-hyprland -c ~/.config/scripts/drawer.sh -mb 50 -is 20 -r -s style.css -p bottom")) -hl.bind(mainMod .. " + D", hl.dsp.exec_cmd("killall nwg-dock-hyprland || nwg-dock-hyprland"), { release = true }) +hl.bind(mainMod .. " + SHIFT + W", hl.dsp.exec_cmd("killall nwg-dock-hyprland; nwg-dock-hyprland -c ~/.config/scripts/drawer.sh -mt 50 -i 25 -d -s style.css -d -p left")) +hl.bind(mainMod .. " + SHIFT + E", hl.dsp.exec_cmd("killall nwg-dock-hyprland; nwg-dock-hyprland -c ~/.config/scripts/drawer.sh -mt 50 -i 25 -d -s style.css -d -p right")) +hl.bind(mainMod .. " + SHIFT + S", hl.dsp.exec_cmd("killall nwg-dock-hyprland; nwg-dock-hyprland -c ~/.config/scripts/drawer.sh -mt 50 -i 25 -d -s style.css -d -p top")) +hl.bind(mainMod .. " + SHIFT + D", hl.dsp.exec_cmd("killall nwg-dock-hyprland; nwg-dock-hyprland -c ~/.config/scripts/drawer.sh -mt 50 -i 25 -d -s style.css -d -p bottom")) +hl.bind(mainMod .. " + D", hl.dsp.exec_cmd("killall nwg-dock-hyprland || nwg-dock-hyprland -c ~/.config/scripts/drawer.sh -mt 50 -i 25 -d -s style.css -d -p bottom"), { release = true }) hl.bind(mainMod .. " + SHIFT + A", hl.dsp.exec_cmd("~/.config/scripts/drawer.sh")) --------------------