Files
dotfiles/desktop/config/hypr/sjb/extra.lua
T

17 lines
775 B
Lua

-- Open rofi on first press, closes it on second
hl.bind("SUPER + Space", hl.dsp.exec_raw("rofi -show combi --modes combi"),
{ release = true, description = "Open Application Menu" })
hl.bind("SUPER + SHIFT + SPACE", hl.dsp.exec_cmd("~/.local/bin/hyprland-fetch-client"),
{ release = true, description = "Fetch client" })
hl.bind("SUPER + CONTROL + SPACE",
hl.dsp.exec_cmd("~/.local/bin/hyprland-focus-client"),
{ release = true, description = "Focus client" }
)
hl.bind("SUPER + slash",
hl.dsp.exec_cmd("ROFI_PASS_BACKEND=wtype ROFI_PASS_CLIPBOARD_BACKEND=wl-clipboard ~/.local/bin/rofi-pass"),
{ release = true, description = "Open rofi-pass" })
hl.bind("SUPER + Y", hl.dsp.exec_cmd("makoctl dismiss"), { description = "Dismiss notifications" })