Allow prompt customization + fix SUPER+V

This commit is contained in:
JeremyStar™ 2024-06-04 00:40:24 +02:00
parent 7b3817dc28
commit 8cb2b3e912
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
4 changed files with 4 additions and 4 deletions

View file

@ -1,2 +1,2 @@
#!/usr/bin/env bash
bemenu --no-cursor --no-touch --ignorecase --prompt Execute --accept-single --bottom --border 2 --monitor DP-1 --no-overlap --wrap --list 20 --margin 20
bemenu --no-cursor --no-touch --ignorecase --prompt ${1} accept-single --bottom --border 2 --monitor DP-1 --no-overlap --wrap --list 20 --margin 20

View file

@ -34,7 +34,7 @@ for app in "${!apps[@]}"; do
done
# Make selection
selection=$(echo -e "${apps_keys}" | ${HOME}/.local/bin/launch-menu)
selection=$(echo -e "${apps_keys}" | ${HOME}/.local/bin/launch-menu "start")
# Execute
# shellcheck disable=SC2086

View file

@ -85,7 +85,7 @@ env = ELECTRON_OZONE_PLATFORM_HINT=wayland
# -> Bindings
# --> Programs
bind = SUPER, SUPER_L, exec, pkill -9 $programsMenuKill || $programsJobrunner $programsMenu
bind = SUPER, V, exec, exec $programsJobrunner $programsClipboard"
bind = SUPER, V, exec, exec $programsJobrunner $programsClipboard
bind = SUPER, A, exec, exec $programsJobrunner $programsTerminal
bind = SUPER, S, exec, exec $programsJobrunner $programsFM
bind = SUPER, D, exec, exec $programsJobrunner $programsBrowser

View file

@ -2,4 +2,4 @@
# The only reason this script exists is because
# Hyprland, jobrunner, idk does not support piping.
cliphist list | launch-menu | cliphist decode | wl-copy
cliphist list | ${HOME}/.local/bin/launch-menu "copy" | cliphist decode | wl-copy