about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/rofi
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home.legacy/conf/rofi')
-rw-r--r--modules/home.legacy/conf/rofi/default.nix10
-rw-r--r--modules/home.legacy/conf/rofi/nord-twoLines.rasi101
2 files changed, 111 insertions, 0 deletions
diff --git a/modules/home.legacy/conf/rofi/default.nix b/modules/home.legacy/conf/rofi/default.nix
new file mode 100644
index 00000000..10363ab5
--- /dev/null
+++ b/modules/home.legacy/conf/rofi/default.nix
@@ -0,0 +1,10 @@
+{pkgs, ...}: {
+  programs.rofi = {
+    enable = true;
+    package = pkgs.rofi-wayland;
+    terminal = "${pkgs.alacritty}/bin/alacritty";
+    # show-icons = true;
+    # location = "center";
+    theme = ./nord-twoLines.rasi;
+  };
+}
diff --git a/modules/home.legacy/conf/rofi/nord-twoLines.rasi b/modules/home.legacy/conf/rofi/nord-twoLines.rasi
new file mode 100644
index 00000000..612b907f
--- /dev/null
+++ b/modules/home.legacy/conf/rofi/nord-twoLines.rasi
@@ -0,0 +1,101 @@
+/*******************************************************************************
+ * ROFI TWO LINES THEME USING THE NORD COLOR PALETTE
+ * User                 : LR-Tech
+ * Theme Repo           : https://github.com/lr-tech/rofi-themes-collection
+ * Nord Project Repo    : https://github.com/arcticicestudio/nord
+ *******************************************************************************/
+
+* {
+    font:   "Fira Code 10";
+
+    nord0:     #2e3440;
+    nord1:     #3b4252;
+    nord2:     #434c5e;
+    nord3:     #4c566a;
+
+    nord4:     #d8dee9;
+    nord5:     #e5e9f0;
+    nord6:     #eceff4;
+
+    nord7:     #8fbcbb;
+    nord8:     #88c0d0;
+    nord9:     #81a1c1;
+    nord10:    #5e81ac;
+    nord11:    #bf616a;
+
+    nord12:    #d08770;
+    nord13:    #ebcb8b;
+    nord14:    #a3be8c;
+    nord15:    #b48ead;
+
+    background-color:   transparent;
+    text-color:         @nord4;
+    accent-color:       @nord8;
+
+    margin:     0px;
+    padding:    0px;
+    spacing:    0px;
+}
+
+window {
+    background-color:   @nord0;
+
+    location:   north;
+    width:      100%;
+}
+
+inputbar {
+    padding:    2px 8px;
+    spacing:    8px;
+    children:   [ prompt, entry ];
+}
+
+prompt, entry, element-text, element-icon {
+    vertical-align: 0.5;
+}
+
+prompt {
+    text-color: @accent-color;
+}
+
+listview {
+    lines:      1;
+    columns:    4;
+}
+
+element {
+    padding:    1px 8px;
+    spacing:    4px;
+}
+
+element normal urgent {
+    text-color: @nord13;
+}
+
+element normal active {
+    text-color: @accent-color;
+}
+
+element selected {
+    text-color: @nord0;
+}
+
+element selected normal {
+    background-color:   @accent-color;
+}
+
+element selected urgent {
+    background-color:   @nord13;
+}
+
+element selected active {
+    background-color:   @nord8;
+}
+
+element-icon {
+    size:   0.75em;
+}
+
+element-text {
+    text-color: inherit;
+}