commit c76694a79c1b0233f76b12a217e73a1722ca8e83 parent ec2f4034b68f9ee41cb9a725fb797f7dbf0e0675 Author: Milutin Popovic <milutin@popovic.xyz> Date: Sun, 29 Mar 2026 11:39:16 +0100 bump Diffstat:
| M | .local/bin/scripts/dmenu-bluetooth | | | 2 | +- |
| M | .local/bin/scripts/passmenu-otp | | | 3 | ++- |
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.local/bin/scripts/dmenu-bluetooth b/.local/bin/scripts/dmenu-bluetooth @@ -342,7 +342,7 @@ run_dmenu() { ;; dmenu) if is_wayland && command -v dmenu-wl >/dev/null 2>&1; then - DMENU_BLUETOOTH_LAUNCHER="dmenu-niri" + DMENU_BLUETOOTH_LAUNCHER='dmenu_cmd=(dmenu-wl_run -m "$minitor" -i -l 15 -fn "Terminus 14" -nf "#ffffff" -b -nb "#000000" -sf "#000000" -sb "#6CA98A")' fi ;; esac diff --git a/.local/bin/scripts/passmenu-otp b/.local/bin/scripts/passmenu-otp @@ -15,7 +15,8 @@ password_files=( "${password_files[@]%.gpg}" ) dmenu_cmd=(dmenu) if [[ -n ${WAYLAND_DISPLAY:-} ]] || [[ ${XDG_SESSION_TYPE:-} == "wayland" ]]; then - dmenu_cmd=(dmenu-niri) + minitor=$(niri msg focused-output | grep Output | sed 's/.*(\(.*\)).*/\1/') + dmenu_cmd=(dmenu-wl_run -m "$minitor" -i -l 15 -fn "Terminus 14" -nf "#ffffff" -b -nb "#000000" -sf "#000000" -sb "#6CA98A") fi password=$(printf '%s\n' "${password_files[@]}" | "${dmenu_cmd[@]}" "$@")