diff --git a/.config/rofi/colors.rasi b/.config/rofi/colors.rasi new file mode 100644 index 00000000..8aae000f --- /dev/null +++ b/.config/rofi/colors.rasi @@ -0,0 +1,10 @@ +/* colors */ + +* { + al: #00000000; + bg: #1b1b25; + se: #282a36; + fg: #dedede; + ac: #16161e; + br: #343746; +} \ No newline at end of file diff --git a/.config/rofi/full_screen.rasi b/.config/rofi/full_screen.rasi new file mode 100644 index 00000000..3bbdc555 --- /dev/null +++ b/.config/rofi/full_screen.rasi @@ -0,0 +1,120 @@ +/* + * Documentation: https://github.com/davatorium/rofi/wiki + * Config created by Aditya Shakya https://github.com/adi1090x + * Config modified by Keyitdev https://www.github.com/keyitdev/dotfiles + * Copyright (C) 2022 Keyitdev, Aditya Shakya +*/ + +configuration { + font: "Roboto mono 11"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + display-window: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 2px; + border-color: @br; + border-radius: 0px; + height: 100%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @fg; + font: "Iosevka Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 0px; + columns: 4; + lines: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.5%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 28px; + border: 0px; + padding: 0 10px 0 10px; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/.config/rofi/main.rasi b/.config/rofi/main.rasi new file mode 100644 index 00000000..95609489 --- /dev/null +++ b/.config/rofi/main.rasi @@ -0,0 +1,121 @@ +/* + * Documentation: https://github.com/davatorium/rofi/wiki + * Config created by Aditya Shakya https://github.com/adi1090x + * Config modified by Keyitdev https://www.github.com/keyitdev/dotfiles + * Copyright (C) 2022 Keyitdev, Aditya Shakya +*/ + + +configuration { + font: "Roboto mono 11"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + display-window: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 2px; + border-color: @br; + border-radius: 20px; + height: 46%; + width: 25%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @fg; + font: "Iosevka Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 0px; + columns: 1; + lines: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.5%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 28px; + border: 0px; + padding: 0 10px 0 10px; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/.config/rofi/main_without_icons.rasi b/.config/rofi/main_without_icons.rasi new file mode 100644 index 00000000..455b4b24 --- /dev/null +++ b/.config/rofi/main_without_icons.rasi @@ -0,0 +1,121 @@ +/* + * Documentation: https://github.com/davatorium/rofi/wiki + * Config created by Aditya Shakya https://github.com/adi1090x + * Config modified by Keyitdev https://www.github.com/keyitdev/dotfiles + * Copyright (C) 2022 Keyitdev, Aditya Shakya +*/ + + +configuration { + font: "Roboto mono 11"; + show-icons: false; + icon-theme: "Papirus"; + display-drun: ""; + display-window: ""; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 2px; + border-color: @br; + border-radius: 20px; + height: 28%; + width: 25%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @fg; + font: "Iosevka Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 0px; + columns: 1; + lines: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.5%; +} + +element-icon { + background-color: inherit; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; + size: 28px; + border: 0px; + padding: 0 10px 0 10px; +} + +element-text { + background-color: @al; + text-color: inherit; + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +}