diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-06-03 19:56:39 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-06-03 19:56:39 +0800 |
| commit | ca968c4e5040f1ff4b5b5e12d9312360d807dcc1 (patch) | |
| tree | 9900920e8f566794560c1519678e344351d2803b /dot-config/rofi/custom_command.rasi | |
| parent | 5f3deaff0bf006a1a353e57b82ad48c0e8f143bc (diff) | |
added submodules, change . -> dot (see man stow --dotfiles)
Diffstat (limited to 'dot-config/rofi/custom_command.rasi')
| -rw-r--r-- | dot-config/rofi/custom_command.rasi | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/dot-config/rofi/custom_command.rasi b/dot-config/rofi/custom_command.rasi new file mode 100644 index 00000000..645dd7e0 --- /dev/null +++ b/dot-config/rofi/custom_command.rasi @@ -0,0 +1,73 @@ +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + location: center; + anchor: center; + fullscreen: false; + width: 350px; + x-offset: 0px; + y-offset: 0px; + padding: 20px; + border: 1px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt", "entry" ]; +} + +dummy { + expand: false; + width: 10px; + background-color: transparent; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "$"; + padding: 10px 13px; + border-radius: 0px; + background-color: @active; + text-color: @foreground; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 0px; + background-color: @selected; + text-color: @foreground; +} +entry { + enabled: true; + padding: 10px; + border: 0px 0px 1px 0px; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: inherit; + cursor: text; + placeholder: "Command"; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: false; +} |
