aboutsummaryrefslogtreecommitdiffstats
path: root/config/rofi/config-compact.rasi
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2023-11-06 19:06:05 +0900
committerJaKooLit <jimmielovejay@gmail.com>2023-11-06 19:06:05 +0900
commit747a78071eb4a717b19f37dc69fb41ba707312a9 (patch)
treeb58591612b22c36860c9fb931b6208f5a4d895f6 /config/rofi/config-compact.rasi
parent36ba246bf40fb833064ac63ad0b291fc3eedcdb7 (diff)
small tweak for rofi
Diffstat (limited to 'config/rofi/config-compact.rasi')
-rw-r--r--config/rofi/config-compact.rasi266
1 files changed, 131 insertions, 135 deletions
diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi
index a4109e89..c92eed9a 100644
--- a/config/rofi/config-compact.rasi
+++ b/config/rofi/config-compact.rasi
@@ -9,7 +9,7 @@ configuration {
display-run: "";
display-filebrowser: "";
display-window: "";
- drun-display-format: "{name}";
+ drun-display-format: "{name}";
hover-select: true;
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
@@ -18,227 +18,223 @@ configuration {
}
/* ---- Load pywal colors (custom wal template) ---- */
-@import "~/.cache/wal/colors-rofi-dark.rasi"
-
+@import "~/.config/rofi/pywal-color/pywal-theme.rasi"
/* ---- Window ---- */
window {
- width: 900px;
- x-offset: 0px;
- y-offset: 0px;
- spacing: 0px;
- padding: 0px;
- margin: 0px;
- color: #FFFFFF;
- border: 2px;
- border-color: @background;
- cursor: "default";
- transparency: "real";
- location: center;
- anchor: center;
- fullscreen: false;
- enabled: true;
- border-radius: 10px;
- background-color: transparent;
+ width: 30%;
+ height: 30%;
+ x-offset: 0px;
+ y-offset: 0px;
+ spacing: 0px;
+ padding: 0px;
+ margin: 0px;
+ color: transparent;
+ border: 2px;
+ border-color: @background;
+ cursor: "default";
+ transparency: "real";
+ location: center;
+ anchor: center;
+ fullscreen: false;
+ enabled: true;
+ border-radius: 10px;
}
/* ---- Mainbox ---- */
mainbox {
- enabled: true;
- orientation: horizontal;
- spacing: 0px;
- margin: 0px;
- background-color: @background;
- background-image: url("~/.config/rofi/.current_wallpaper", height);
- children: ["imagebox","listbox"];
+ enabled: true;
+ orientation: horizontal;
+ spacing: 0px;
+ margin: 0px;
+ background-color: transparent;
+ background-image: url("~/.config/rofi/.current_wallpaper", height);
+ children: [ "imagebox", "listbox" ];
}
/* ---- Imagebox ---- */
imagebox {
- padding: 18px;
- background-color: transparent;
- orientation: vertical;
- children: [ "inputbar", "dummy", "mode-switcher" ];
+ padding: 18px;
+ background-color: transparent;
+ orientation: vertical;
+ children: [ "inputbar", "dummy", "mode-switcher" ];
}
/* ---- Listbox ---- */
listbox {
- spacing: 20px;
- background-color: transparent;
- orientation: vertical;
- children: [ "message", "listview" ];
+ spacing: 20px;
+ background-color: transparent;
+ orientation: vertical;
+ children: [ "message", "listview" ];
}
-
/* ---- Dummy ---- */
dummy {
- background-color: transparent;
+ background-color: transparent;
}
/* ---- Inputbar ---- */
inputbar {
- enabled: true;
- text-color: @foreground;
- spacing: 10px;
- padding: 15px;
- border-radius: 10px;
- border-color: @foreground;
- background-color: rgba(0,0,0,0.5);
- children: [ "textbox-prompt-colon", "entry" ];
+ enabled: true;
+ text-color: @foreground;
+ spacing: 10px;
+ padding: 15px;
+ border-radius: 10px;
+ border-color: @foreground;
+ children: [ "textbox-prompt-colon", "entry" ];
}
textbox-prompt-colon {
- enabled: true;
- expand: false;
- str: "🔍";
- background-color: transparent;
- text-color: inherit;
+ enabled: true;
+ expand: false;
+ str: "🔎 ";
+ text-color: inherit;
}
entry {
- enabled: true;
- background-color: transparent;
- text-color: inherit;
- cursor: text;
- placeholder: "Choose";
- placeholder-color: inherit;
+ enabled: true;
+ background-color: transparent;
+ text-color: inherit;
+ cursor: text;
+ placeholder: "Choose";
+ placeholder-color: inherit;
}
/* ---- Mode Switcher ---- */
mode-switcher{
- enabled: true;
- spacing: 20px;
- background-color: transparent;
- text-color: @foreground;
+ enabled: true;
+ spacing: 20px;
+ background-color: transparent;
+ text-color: @foreground;
}
button {
- padding: 10px;
- border-radius: 10px;
- background-color: rgba(0,0,0,0.5);
- text-color: inherit;
- cursor: pointer;
- border: 0px;
+ padding: 10px;
+ border-radius: 10px;
+ background-color: @background;
+ text-color: inherit;
+ cursor: pointer;
+ border: 0px;
}
button selected {
- background-color: @selected-normal-background;
- text-color: @foreground;
+ background-color: @selected-normal-background;
+ text-color: @foreground;
}
/* ---- Listview ---- */
listview {
- enabled: true;
- columns: 1;
- lines: 6;
- cycle: true;
- dynamic: true;
- scrollbar: false;
- layout: vertical;
- reverse: false;
- fixed-height: true;
- fixed-columns: true;
- spacing: 0px;
- padding: 10px;
- margin: 0px;
- background-color: rgba(0,0,0,0.4);
- border-radius: 10px;
- border: 0px;
+ enabled: true;
+ columns: 1;
+ lines: 8;
+ cycle: true;
+ dynamic: true;
+ scrollbar: false;
+ layout: vertical;
+ reverse: false;
+ fixed-height: true;
+ fixed-columns: true;
+ spacing: 0px;
+ padding: 10px;
+ margin: 0px;
+ border-radius: 10px;
+ border: 0px;
+ background-image: url("~/.config/rofi/.current_wallpaper", height);
}
/* ---- Element ---- */
element {
- enabled: true;
- padding: 2px;
- margin: 2px;
- cursor: pointer;
- background-color: rgba(0,0,0,0);
- border-radius: 10px;
- border: 0px;
+ enabled: true;
+ padding: 5px;
+ margin: 2px;
+ cursor: pointer;
+ background-color: @background;
+ border-radius: 10px;
+ border: 0px;
}
element normal.normal {
- background-color: inherit;
- text-color: @foreground;
+ background-color: inherit;
+ text-color: @foreground;
}
element normal.urgent {
- background-color: inherit;
- text-color: @foreground;
+ background-color: inherit;
+ text-color: @foreground;
}
element normal.active {
- background-color: inherit;
- text-color: @foreground;
+ background-color: inherit;
+ text-color: @foreground;
}
element selected.normal {
- background-color: @selected-normal-background;
- text-color: @foreground;
+ background-color: @selected-normal-background;
+ text-color: @foreground;
}
element selected.urgent {
- background-color: inherit;
- text-color: @foreground;
+ background-color: inherit;
+ text-color: @foreground;
}
element selected.active {
- background-color: inherit;
- text-color: @foreground;
+ background-color: inherit;
+ text-color: @foreground;
}
element alternate.normal {
- background-color: inherit;
- text-color: @foreground;
+ background-color: inherit;
+ text-color: @foreground;
}
element alternate.urgent {
- background-color: inherit;
- text-color: @foreground;
+ background-color: inherit;
+ text-color: @foreground;
}
element alternate.active {
- background-color: inherit;
- text-color: @foreground;
+ background-color: inherit;
+ text-color: @foreground;
}
element-icon {
- background-color: transparent;
- text-color: inherit;
- size: 32px;
- cursor: inherit;
+ 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;
+ background-color: transparent;
+ text-color: inherit;
+ cursor: inherit;
+ vertical-align: 0.5;
+ horizontal-align: 0.0;
}
/*****----- Message -----*****/
message {
- background-color: transparent;
- border:0px;
- margin:20px 0px 0px 0px;
- padding:0px;
- spacing:0px;
- border-radius: 10px;
+ background-color: transparent;
+ border: 0px;
+ margin: 20px 0px 0px 0px;
+ padding: 0px;
+ spacing: 0px;
+ border-radius: 10px;
}
textbox {
- padding: 15px;
- margin: 0px;
- border-radius: 10px;
- background-color: @background;
- text-color: @foreground;
- vertical-align: 0.5;
- horizontal-align: 0.0;
+ padding: 15px;
+ margin: 0px;
+ border-radius: 0px;
+ background-color: @background;
+ text-color: @foreground;
+ vertical-align: 0.5;
+ horizontal-align: 0.0;
}
error-message {
- padding: 15px;
- border-radius: 20px;
- background-color: @background;
- text-color: @foreground;
+ padding: 15px;
+ border-radius: 20px;
+ background-color: @background;
+ text-color: @foreground;
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage