From 6c65791db7a752688010f64a7225db3b84aad2be Mon Sep 17 00:00:00 2001 From: Steve Beaulac Date: Tue, 28 Jul 2026 11:49:18 -0400 Subject: [PATCH] refactor(hypr): update leader+return to launch tmux desktop app and wallpaper script Change the terminal binding to match on 'tmux' class with gtk-launch instead of the terminal + tmux new-session pattern. Update the wallpaper binding from the old bing-wallpaper script to the new set-wallpaper.sh with a quotes category. --- config/hypr/hyprland.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/hypr/hyprland.lua b/config/hypr/hyprland.lua index 0146b6a..c73b6df 100644 --- a/config/hypr/hyprland.lua +++ b/config/hypr/hyprland.lua @@ -276,9 +276,9 @@ end hl.bind(LEADER .. "return", function() focus_or_launch({ - match = terminal, + match = "tmux", field = "class", - cmd = terminal .. " tmux new -A -s main" + cmd = "gtk-launch tmux.desktop", }) end, { description = "Open terminal" }) @@ -304,7 +304,7 @@ hl.bind(LEADER .. "CONTROL + return", hl.dsp.exec_cmd("~/.local/bin/hyprland-tmu hl.bind(HYPR .. "V", hl.dsp.exec_cmd("pavucontrol"), { description = "Volume control" }) hl.bind(HYPR .. "B", hl.dsp.exec_cmd("blueberry"), { description = "Bluetooth manager" }) -hl.bind(HYPR .. "semicolon", hl.dsp.exec_cmd("~/.local/bin/bing-wallpaper"), { description = "get new wallpaper" }) +hl.bind(HYPR .. "semicolon", hl.dsp.exec_cmd("~/.local/bin/set-wallpaper.sh categories/quotes"), { description = "get new wallpaper" }) hl.bind(HYPR .. "A", dispatch_focus_or_launch({ match = "Goose",