优化rofi样式

master
yutent 2023-07-10 05:44:24 +00:00
parent d340bd00d7
commit 0b50edf724
5 changed files with 16 additions and 10 deletions

View File

@ -17,5 +17,5 @@
background-color: @bg;
text-color: @fg;
font: "Menlo 9";
font: "Menlo 12";
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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=''

View File

@ -0,0 +1,6 @@
#!/bin/bash
export SUDO_ASKPASS=${HOME}/.local/bin/scripts/rofi_password.sh
sudo -E -A $1