diff options
Diffstat (limited to '.config/polybar/scripts/rofi/launcher.rasi')
-rw-r--r-- | .config/polybar/scripts/rofi/launcher.rasi | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/.config/polybar/scripts/rofi/launcher.rasi b/.config/polybar/scripts/rofi/launcher.rasi new file mode 100644 index 0000000..5a80370 --- /dev/null +++ b/.config/polybar/scripts/rofi/launcher.rasi @@ -0,0 +1,118 @@ +/* + * + * Author : Aditya Shakya + * Mail : [email protected] + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 12"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 1px 1px 1px 1px; + border-color: @fg; + border-radius: 0px; + width: 700px; + height: 600px; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0px; + background-color: @bga; + text-color: @fg; + font: "feather 12"; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search..."; + padding: 0px 0px 0px 5px; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @bga; + text-color: @fg; + expand: false; + border: 0px 0px 1px 0px; + border-radius: 0px; + border-color: @fg; + margin: 0px; + padding: 10px; +} + +listview { + background-color: @al; + padding: 0px; + columns: 1; + lines: 6; + spacing: 5px; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0px; + border-radius: 0px; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 5px; + padding: 5px; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0px; + padding: 12px; +} + +element-icon { + size: 36px; + border: 0px; + background-color: @bg; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0px 2.5px 0px 2.5px; + background-color: @bg; + color: @we; +} + +element selected { + text-color: @bg; + border: 2px 2px 2px 2px; + border-radius: 0px; + border-color: @fg; +} |