From c7310f02dff6f61936f6287dc19791c435eca1ad Mon Sep 17 00:00:00 2001 From: The_miro Date: Tue, 2 Jun 2026 12:41:02 +0200 Subject: [PATCH] shrink nwg-dock and add edge gap Reduce icon size to 28 (-is 28) and increase all margins to 25px for a cleaner, less intrusive dock appearance. Co-Authored-By: Claude Sonnet 4.6 --- desktopenvs/hyprlua/hypr-usr/autostart.lua | 2 +- desktopenvs/hyprlua/hypr-usr/binds.lua | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/desktopenvs/hyprlua/hypr-usr/autostart.lua b/desktopenvs/hyprlua/hypr-usr/autostart.lua index d1512d3..b85b24b 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 15 -r -p right -s style.css") + hl.exec_cmd("GTK_THEME=cyberqueer; QT_QPA_PLATFORMTHEME=gtk3; nwg-dock-hyprland -mb 25 -is 28 -r -p right -s style.css") 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 f0fd126..951c058 100644 --- a/desktopenvs/hyprlua/hypr-usr/binds.lua +++ b/desktopenvs/hyprlua/hypr-usr/binds.lua @@ -207,10 +207,10 @@ 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 15 -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 15 -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 80 -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 15 -r -s style.css -p bottom")) +hl.bind(mainMod .. " + SHIFT + W", hl.dsp.exec_cmd("killall nwg-dock-hyprland && nwg-dock-hyprland -c ~/.config/scripts/drawer.sh -ml 25 -is 28 -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 25 -is 28 -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 25 -is 28 -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 25 -is 28 -r -s style.css -p bottom")) hl.bind(mainMod .. " + D", hl.dsp.exec_cmd("nwg-dock-hyprland"), { release = true }) hl.bind(mainMod .. " + SHIFT + A", hl.dsp.exec_cmd("~/.config/scripts/drawer.sh"))