From 7069fdc87bb263bb85a1f4fb40b59d1046ba6948 Mon Sep 17 00:00:00 2001 From: adi1090x Date: Wed, 17 Aug 2022 20:44:29 +0530 Subject: [PATCH] Fixed element text/icon alignment issue in powermenus for rofi version 1.7.4 --- files/powermenu/type-1/powermenu.sh | 2 -- files/powermenu/type-2/powermenu.sh | 2 -- files/powermenu/type-3/powermenu.sh | 2 -- files/powermenu/type-4/powermenu.sh | 2 -- files/powermenu/type-5/powermenu.sh | 2 -- files/powermenu/type-6/powermenu.sh | 2 -- 6 files changed, 12 deletions(-) diff --git a/files/powermenu/type-1/powermenu.sh b/files/powermenu/type-1/powermenu.sh index 0bcf6e0..dd978af 100755 --- a/files/powermenu/type-1/powermenu.sh +++ b/files/powermenu/type-1/powermenu.sh @@ -31,7 +31,6 @@ rofi_cmd() { rofi -dmenu \ -p "$host" \ -mesg "Uptime: $uptime" \ - -select $lock \ -theme ${dir}/${theme}.rasi } @@ -45,7 +44,6 @@ confirm_cmd() { -dmenu \ -p 'Confirmation' \ -mesg 'Are you Sure?' \ - -select $yes \ -theme ${dir}/${theme}.rasi } diff --git a/files/powermenu/type-2/powermenu.sh b/files/powermenu/type-2/powermenu.sh index 11c87cb..23d0795 100755 --- a/files/powermenu/type-2/powermenu.sh +++ b/files/powermenu/type-2/powermenu.sh @@ -32,7 +32,6 @@ rofi_cmd() { rofi -dmenu \ -p "Uptime: $uptime" \ -mesg "Uptime: $uptime" \ - -select $lock \ -theme ${dir}/${theme}.rasi } @@ -46,7 +45,6 @@ confirm_cmd() { -dmenu \ -p 'Confirmation' \ -mesg 'Are you Sure?' \ - -select $yes \ -theme ${dir}/${theme}.rasi } diff --git a/files/powermenu/type-3/powermenu.sh b/files/powermenu/type-3/powermenu.sh index 256e4d4..8c1e47f 100755 --- a/files/powermenu/type-3/powermenu.sh +++ b/files/powermenu/type-3/powermenu.sh @@ -31,7 +31,6 @@ rofi_cmd() { rofi -dmenu \ -p "Uptime: $uptime" \ -mesg "Uptime: $uptime" \ - -select $lock \ -theme ${dir}/${theme}.rasi } @@ -40,7 +39,6 @@ confirm_cmd() { rofi -dmenu \ -p 'Confirmation' \ -mesg 'Are you Sure?' \ - -select $yes \ -theme ${dir}/shared/confirm.rasi } diff --git a/files/powermenu/type-4/powermenu.sh b/files/powermenu/type-4/powermenu.sh index c6933ed..17f20c7 100755 --- a/files/powermenu/type-4/powermenu.sh +++ b/files/powermenu/type-4/powermenu.sh @@ -31,7 +31,6 @@ rofi_cmd() { rofi -dmenu \ -p "Goodbye ${USER}" \ -mesg "Uptime: $uptime" \ - -select $lock \ -theme ${dir}/${theme}.rasi } @@ -40,7 +39,6 @@ confirm_cmd() { rofi -dmenu \ -p 'Confirmation' \ -mesg 'Are you Sure?' \ - -select $yes \ -theme ${dir}/shared/confirm.rasi } diff --git a/files/powermenu/type-5/powermenu.sh b/files/powermenu/type-5/powermenu.sh index 756b45a..561e30c 100755 --- a/files/powermenu/type-5/powermenu.sh +++ b/files/powermenu/type-5/powermenu.sh @@ -33,7 +33,6 @@ rofi_cmd() { rofi -dmenu \ -p " $USER@$host" \ -mesg " Last Login: $lastlogin |  Uptime: $uptime" \ - -select $lock \ -theme ${dir}/${theme}.rasi } @@ -47,7 +46,6 @@ confirm_cmd() { -dmenu \ -p 'Confirmation' \ -mesg 'Are you Sure?' \ - -select $yes \ -theme ${dir}/${theme}.rasi } diff --git a/files/powermenu/type-6/powermenu.sh b/files/powermenu/type-6/powermenu.sh index 72c1f04..ad93faf 100755 --- a/files/powermenu/type-6/powermenu.sh +++ b/files/powermenu/type-6/powermenu.sh @@ -33,7 +33,6 @@ rofi_cmd() { rofi -dmenu \ -p " $USER@$host" \ -mesg " Uptime: $uptime" \ - -select $lock \ -theme ${dir}/${theme}.rasi } @@ -47,7 +46,6 @@ confirm_cmd() { -dmenu \ -p 'Confirmation' \ -mesg 'Are you Sure?' \ - -select $yes \ -theme ${dir}/${theme}.rasi }