From 8dd9f20eb37479a2c6d9dc3230eb653577910dce Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 18 Oct 2026 12:02:26 +0200 Subject: feat(powermenu): always open on DP-1 Both the menu and its confirm step pass -m DP-1, as the launcher does, so they land on the wide monitor whichever one has focus. Co-Authored-By: Claude Opus 5.5 --- bin/udt-powermenu.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/udt-powermenu.sh b/bin/udt-powermenu.sh index 6d8fb84..1892ef2 100755 --- a/bin/udt-powermenu.sh +++ b/bin/udt-powermenu.sh @@ -27,9 +27,9 @@ sleep='󰤄' yes='󰗠' no='󰅙' -# Rofi CMD +# Rofi CMD. Both prompts always open on DP-1, whichever monitor has focus. rofi_cmd() { - rofi -dmenu \ + rofi -dmenu -m DP-1 \ -p "'ndi vidimu ${USER}" \ -mesg "Uptime: $uptime" \ -theme ${dir}/${theme}.rasi @@ -37,7 +37,7 @@ rofi_cmd() { # Confirmation CMD confirm_cmd() { - rofi -dmenu \ + rofi -dmenu -m DP-1 \ -p 'Confirmation' \ -selected-row 1 \ -mesg 'Simu Sicuri?' \ -- cgit v1.2.3