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.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user