From cc7d7430770abd7a9bde381373601a11d58c5e55 Mon Sep 17 00:00:00 2001 From: yutent Date: Mon, 10 Jul 2023 05:45:42 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0rofi=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/config/rofi/password.rasi | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 home/config/rofi/password.rasi diff --git a/home/config/rofi/password.rasi b/home/config/rofi/password.rasi new file mode 100644 index 0000000..eb20788 --- /dev/null +++ b/home/config/rofi/password.rasi @@ -0,0 +1,48 @@ +configuration { + show-icons: false; +} + +@import "./colors.rasi" + +window { + transparency: "real"; + width: 360px; + border-radius: 4px; + background-color: @bg; +} + +mainbox { + padding: 24px; + children: [ "inputbar", "entry"]; +} + +inputbar { + spacing: 10px; + background-color: transparent; + children: [ "textbox-prompt-colon", "prompt" ]; +} + +textbox-prompt-colon { + expand: false; + str: ""; + padding: 12px 14px; + border-radius: 50%; + background-color: @blue; +} + +prompt { + padding: 12px 16px; + border-radius: 24px; + background-color: @grey; + text-color: @fg; + vertical-align: 0.5; +} + +entry { + margin: 16 0 0 0; + padding: 12px; + border-radius: 6px; + font: "Menlo 18px"; + background-color: @bluea; + background-color: @grey; +} \ No newline at end of file