aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/udt-powermenu.sh6
1 files 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?' \