aboutsummaryrefslogtreecommitdiffstats
path: root/config/rofi/config-long.rasi
diff options
context:
space:
mode:
authorKKV9 <ciaranob.cob@gmail.com>2024-02-14 22:09:37 +0000
committerKKV9 <ciaranob.cob@gmail.com>2024-02-14 22:09:37 +0000
commit8cd047fcde9dc62f80c2afde4dc9a9c8102f4775 (patch)
tree5b7d0dabf00c453ec26149c78bebc1324b75d774 /config/rofi/config-long.rasi
parentaf8626d4ce57a1e5e21d79a6a4217ae2a6f8bdb6 (diff)
Refactor rofi configs
Remove duplicated code by using imports
Diffstat (limited to 'config/rofi/config-long.rasi')
-rw-r--r--config/rofi/config-long.rasi204
1 files changed, 26 insertions, 178 deletions
diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi
index 9813d7e6..aef78711 100644
--- a/config/rofi/config-long.rasi
+++ b/config/rofi/config-long.rasi
@@ -1,216 +1,64 @@
/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */
/* Main Config (long) */
-/* ---- Configuration ---- */
+@import "~/.config/rofi/config.rasi"
+
+/* ---- Configuration ---- */
configuration {
- modi: "drun,run";
- font: "Fira Code SemiBold 12";
- show-icons: true;
- display-drun: "๎ฏ†";
- display-run: "๏„ ";
- display-filebrowser: "๎ซฐ";
- display-window: "๏‹";
- drun-display-format: "{name}";
- hover-select: true;
- me-select-entry: "MouseSecondary";
- me-accept-entry: "MousePrimary";
- window-format: "{w} ยท {c} ยท {t}";
- dpi: 1;
-
+ modi: "drun";
}
-/* ---- Load pywal colors (custom wal template) ---- */
-@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
-
/* ---- Window ---- */
window {
- width: 700px;
- /*height: 500px;*/
- x-offset: 0px;
- y-offset: 0px;
- spacing: 0px;
- padding: 2px;
- margin: 0px;
- border: 2px;
- border-color: @active-background;
- cursor: "default";
- location: center;
- anchor: center;
- fullscreen: false;
- enabled: true;
- border-radius: 12px;
- background-image: url("~/.config/rofi/.current_wallpaper", height);
+ width: 700px;
}
/* ---- Mainbox ---- */
mainbox {
- enabled: true;
- orientation: vertical;
- padding: 8px;
- background-color: transparent;
- children: [ "imagebox" ];
- border-radius: 12px;
+ children: [ "imagebox"];
}
/* ---- Imagebox ---- */
imagebox {
- background-color: transparent;
- orientation: vertical;
- children: [ "inputbar", "listbox"];
-}
-
-/* ---- Listbox ---- */
-listbox {
- spacing: 4px;
- orientation: vertical;
- children: [ "listview" ];
- border-radius: 10px;
- border: 1px;
- border-color: @active-background;
- background-color: @background;
+ orientation: vertical;
+ children:
+ [ "inputbar",
+ "listbox"];
}
/* ---- Inputbar ---- */
inputbar {
- enabled: true;
- text-color: @foreground;
- spacing: 10px;
- padding: 6px;
- border-radius: 10px;
- border-color: @foreground;
- background-color: @background;
- children: [ "textbox-prompt-colon", "entry" ];
- border: 1px;
- border-color: @active-background;
+ children:
+ [ "textbox-prompt-colon",
+ "entry"];
}
textbox-prompt-colon {
- enabled: true;
- expand: false;
- str: "๐Ÿ”Ž ";
- text-color: inherit;
- background-color: transparent;
+ str: "๐Ÿ”Ž ";
}
entry {
- enabled: true;
- text-color: inherit;
- cursor: text;
- placeholder: "Search";
- placeholder-color: inherit;
- background-color: transparent;
+ placeholder: "Search";
+ background-color: transparent;
}
/* ---- Listview ---- */
listview {
- enabled: true;
- columns: 1;
- lines: 9;
- spacing: 4px;
- dynamic: true;
- cycle: true;
- scrollbar: true;
- layout: vertical;
- reverse: false;
- fixed-height: true;
- fixed-columns: true;
- background-color: transparent;
- border-radius: 10px;
-}
-
-/* ---- Element ---- */
-element {
- enabled: true;
- padding: 2px;
- margin: 2px;
- cursor: pointer;
- background-color: transparent;
- border-radius: 10px;
-}
-
-element normal.normal {
- background-color: inherit;
- text-color: @foreground;
-}
-
-element normal.urgent {
- background-color: inherit;
- text-color: @foreground;
-}
-
-element normal.active {
- background-color: inherit;
- text-color: @foreground;
-}
-
-element selected.normal {
- background-color: @selected-normal-background;
- text-color: @foreground;
-}
-
-element selected.urgent {
- background-color: inherit;
- text-color: @foreground;
-}
-
-element selected.active {
- background-color: inherit;
- text-color: @foreground;
-}
-
-element alternate.normal {
- background-color: inherit;
- text-color: @foreground;
-}
-
-element alternate.urgent {
- background-color: inherit;
- text-color: @foreground;
-}
-
-element alternate.active {
- background-color: inherit;
- text-color: @foreground;
-}
-
-element-icon {
- background-color: transparent;
- text-color: inherit;
- size: 32px;
- cursor: inherit;
-}
-
-element-text {
- background-color: transparent;
- text-color: inherit;
- cursor: inherit;
- vertical-align: 0.5;
- horizontal-align: 0.0;
+ columns: 1;
+ lines: 9;
+ spacing: 4px;
+ scrollbar: true;
+ fixed-columns: true;
+ border-radius: 10px;
}
/*****----- Message -----*****/
message {
- background-color: transparent;
- border: 0px;
- margin: 20px 0px 0px 0px;
- padding: 0px;
- spacing: 0px;
- border-radius: 10px;
+ background-color: transparent;
+ border-radius: 10px;
}
textbox {
- padding: 6px;
- margin: 0px;
- border-radius: 0px;
- background-color: transparent;
- text-color: @foreground;
- vertical-align: 0.5;
- horizontal-align: 0.0;
-}
-
-error-message {
- padding: 6px;
- border-radius: 20px;
- background-color: @background;
- text-color: @foreground;
+ padding: 6px;
+ background-color: transparent;
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage