From c79b988a57961cce4ba6598a477fb8d01b8236ae Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Wed, 26 Jan 2022 17:26:36 +0000 Subject: [PATCH] Changes to rofi for new config format --- rofi/.config/rofi/config.rasi | 5 +++++ rofi/.config/rofi/gruvbox-dark.rasi | 4 ++++ rofi/.config/rofi/themes/launchpad.rasi | 21 +++++++++------------ 3 files changed, 18 insertions(+), 12 deletions(-) create mode 100644 rofi/.config/rofi/config.rasi diff --git a/rofi/.config/rofi/config.rasi b/rofi/.config/rofi/config.rasi new file mode 100644 index 00000000..3bd0c96d --- /dev/null +++ b/rofi/.config/rofi/config.rasi @@ -0,0 +1,5 @@ +configuration { + font: "Iosevka 16"; + show-icons: true; +} +@theme "/usr/share/rofi/themes/gruvbox-dark.rasi" diff --git a/rofi/.config/rofi/gruvbox-dark.rasi b/rofi/.config/rofi/gruvbox-dark.rasi index ff8711bf..1402aced 100644 --- a/rofi/.config/rofi/gruvbox-dark.rasi +++ b/rofi/.config/rofi/gruvbox-dark.rasi @@ -70,3 +70,7 @@ @import "gruvbox-common.rasi" +element-text, element-icon { + background-color: inherit; + text-color: inherit; +} diff --git a/rofi/.config/rofi/themes/launchpad.rasi b/rofi/.config/rofi/themes/launchpad.rasi index 61e1fa48..be26081d 100644 --- a/rofi/.config/rofi/themes/launchpad.rasi +++ b/rofi/.config/rofi/themes/launchpad.rasi @@ -1,12 +1,3 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - configuration { font: "Noto Sans Bold 10"; show-icons: true; @@ -14,8 +5,6 @@ configuration { display-drun: ""; drun-display-format: "{name}"; disable-history: false; - fullscreen: true; - hide-scrollbar: true; sidebar-mode: false; } @@ -34,6 +23,8 @@ window { border: 0px; border-color: @border; border-radius: 0px; + width: 100%; + height: 100%; } prompt { @@ -69,7 +60,7 @@ inputbar { listview { background-color: @background-alt; - columns: 3; + columns: 5; lines: 4; spacing: 2%; cycle: false; @@ -96,11 +87,17 @@ element { } element-icon { + background-color: @background-alt; + text-color: inherit; + horizontal-align: 0.5; + vertical-align: 0.5; size: 81px; border: 0px; } element-text { + background-color: @background-alt; + text-color: inherit; expand: true; horizontal-align: 0.5; vertical-align: 0.5;