summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorWarrick Lo <warrick.s.z.lo@gmail.com>2021-11-29 00:20:15 -0800
committerWarrick Lo <warrick.s.z.lo@gmail.com>2021-11-29 00:20:15 -0800
commit6fa236111927666155093e4fe915897a89e3cfd7 (patch)
tree93183bd49a02dfc8863916dcafc2dbb131cc00ca /.config
parent3afeec6456bd878bf6989139ea05f03d7922143d (diff)
Add Rofi configs
Diffstat (limited to '.config')
-rw-r--r--.config/picom/picom.conf8
-rw-r--r--.config/rofi/config.rasi10
-rw-r--r--.config/rofi/theme.rasi105
3 files changed, 123 insertions, 0 deletions
diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf
index b58468e..326035d 100644
--- a/.config/picom/picom.conf
+++ b/.config/picom/picom.conf
@@ -5,6 +5,10 @@
blur-method = "dual_kawase";
blur-strength = 5;
+blur-background-exclude = [
+ "class_g = 'Rofi'"
+];
+
# Shadow
shadow = true;
@@ -13,6 +17,10 @@ shadow-offset-x = -20;
shadow-offset-y = -20;
shadow-opacity = 0.8;
+shadow-exclude = [
+ "class_g = 'Rofi'",
+]
+
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
xinerama-shadow-crop = true;
diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi
new file mode 100644
index 0000000..f1d8163
--- /dev/null
+++ b/.config/rofi/config.rasi
@@ -0,0 +1,10 @@
+/* Rofi configuration */
+
+configuration {
+ timeout {
+ delay: 10;
+ action: "kb-cancel";
+ }
+
+ theme: "theme";
+}
diff --git a/.config/rofi/theme.rasi b/.config/rofi/theme.rasi
new file mode 100644
index 0000000..698a234
--- /dev/null
+++ b/.config/rofi/theme.rasi
@@ -0,0 +1,105 @@
+/* Rofi theme */
+
+configuration {
+ font: "Inter 10";
+ show-icons: true;
+ icon-theme: "Paper";
+ modi: "drun,run,window,ssh";
+ sidebar-mode: true;
+ display-drun: "drun";
+ display-run: "run";
+ display-window: "window";
+ display-ssh: "ssh";
+}
+
+* {
+ white: #ebdbb2;
+ black: #101010;
+
+ orange: #eb744c;
+ blue: #497287;
+
+ background-color: @black;
+ text-color: @white;
+
+ border: 2px;
+ margin: 2px;
+}
+
+window {
+ border: 1px;
+ border-color: @orange;
+ border-radius: 8px;
+ width: 32%;
+ padding: 32px;
+}
+
+inputbar {
+ children: [prompt, entry];
+ border: 0 0 2px 0;
+ border-color: @blue;
+ padding: 4px;
+}
+
+listview {
+ columns: 1;
+}
+
+prompt {
+ font: "Iosevka Extended Bold 12";
+}
+
+entry {
+ font: "Iosevka Extended 12";
+ cursor: text;
+}
+
+element,
+element-text,
+element-icon,
+button {
+ cursor: pointer;
+}
+
+element {
+ font: "Inter Medium 12";
+ border: 0;
+ border-radius: 4px;
+ padding: 2px;
+}
+
+element selected {
+ background-color: @orange;
+ text-color: @black;
+}
+
+element-text {
+ background-color: inherit;
+ text-color: inherit;
+ horizontal-align: 0;
+ vertical-align: 0.5;
+}
+
+element-icon {
+ size: 24px;
+ background-color: inherit;
+ text-color: inherit;
+ horizontal-align: 0.5;
+ vertical-align: 0.5;
+}
+
+button {
+ background-color: @white;
+ text-color: @black;
+ font: "Inter Bold 10";
+ border: 0;
+ border-radius: 4px;
+ padding: 4px;
+ horizontal-align: 0.5;
+ vertical-align: 0.5;
+}
+
+button selected {
+ background-color: @blue;
+ text-color: @white;
+}