diff --git a/home/config/rofi/colors.rasi b/home/config/rofi/colors.rasi index 7086c80..0bce6f2 100644 --- a/home/config/rofi/colors.rasi +++ b/home/config/rofi/colors.rasi @@ -17,5 +17,5 @@ background-color: @bg; text-color: @fg; - font: "Menlo 9"; + font: "Menlo 12"; } diff --git a/home/config/rofi/confirm.rasi b/home/config/rofi/confirm.rasi index c3123bf..7326008 100644 --- a/home/config/rofi/confirm.rasi +++ b/home/config/rofi/confirm.rasi @@ -30,7 +30,7 @@ inputbar { textbox-prompt-colon { expand: false; - str: ""; + str: ""; font: "'Material Icons' 24px"; padding: 12px 14px; border-radius: 50%; @@ -40,8 +40,8 @@ textbox-prompt-colon { } prompt { padding: 12px 16px; - border-radius: 24px; - background-color: @blue; + border-radius: 50%; + background-color: @grey; text-color: @fg; vertical-align: 0.5; } diff --git a/home/config/rofi/powermenu.rasi b/home/config/rofi/powermenu.rasi index 5c95005..e47ef71 100644 --- a/home/config/rofi/powermenu.rasi +++ b/home/config/rofi/powermenu.rasi @@ -29,7 +29,7 @@ inputbar { textbox-prompt-colon { expand: false; - str: ""; + str: ""; font: "'Material Icons' 24px"; padding: 12px 14px; border-radius: 50%; @@ -39,8 +39,8 @@ textbox-prompt-colon { } prompt { padding: 12px 16px; - border-radius: 24px; - background-color: @blue; + border-radius: 50%; + background-color: @grey; text-color: @fg; vertical-align: 0.5; } diff --git a/home/local/bin/scripts/rofi_powermenu.sh b/home/local/bin/scripts/rofi_powermenu.sh index ef76cbd..f2e121d 100644 --- a/home/local/bin/scripts/rofi_powermenu.sh +++ b/home/local/bin/scripts/rofi_powermenu.sh @@ -3,11 +3,11 @@ prompt="Select the action..." mesg="Uptime : `uptime -p | sed -e 's/up //g'`" -option_1="" +option_1="" option_2="" -option_3="" +option_3="" option_4="" -option_5="" +option_5="" yes='' no='' diff --git a/home/local/bin/scripts/run_asroot.sh b/home/local/bin/scripts/run_asroot.sh new file mode 100644 index 0000000..f53a435 --- /dev/null +++ b/home/local/bin/scripts/run_asroot.sh @@ -0,0 +1,6 @@ +#!/bin/bash + + +export SUDO_ASKPASS=${HOME}/.local/bin/scripts/rofi_password.sh + +sudo -E -A $1