about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-27 21:21:16 +0200
committerSoispha <soispha@vhack.eu>2023-10-27 21:21:16 +0200
commit70ef65617270f2a7cb05abb9815fc2def29c2f15 (patch)
treeba4fbf9b8cf30dbf76afaf5a94cd5d8b01e8a4a0
parentfeat(hm/conf/rofi): Init (diff)
downloadnixos-config-70ef65617270f2a7cb05abb9815fc2def29c2f15.tar.gz
nixos-config-70ef65617270f2a7cb05abb9815fc2def29c2f15.zip
fix(hm/conf/rofi): Select a better theme
-rw-r--r--hm/soispha/conf/rofi/default.nix4
-rw-r--r--hm/soispha/conf/rofi/nord-twoLines.rasi101
-rw-r--r--hm/soispha/conf/rofi/rounded-gray-dark.rasi18
3 files changed, 104 insertions, 19 deletions
diff --git a/hm/soispha/conf/rofi/default.nix b/hm/soispha/conf/rofi/default.nix
index 2e0073af..10363ab5 100644
--- a/hm/soispha/conf/rofi/default.nix
+++ b/hm/soispha/conf/rofi/default.nix
@@ -3,6 +3,8 @@
     enable = true;
     package = pkgs.rofi-wayland;
     terminal = "${pkgs.alacritty}/bin/alacritty";
-    theme = ./rounded-gray-dark.rasi;
+    # show-icons = true;
+    # location = "center";
+    theme = ./nord-twoLines.rasi;
   };
 }
diff --git a/hm/soispha/conf/rofi/nord-twoLines.rasi b/hm/soispha/conf/rofi/nord-twoLines.rasi
new file mode 100644
index 00000000..612b907f
--- /dev/null
+++ b/hm/soispha/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;
+}
diff --git a/hm/soispha/conf/rofi/rounded-gray-dark.rasi b/hm/soispha/conf/rofi/rounded-gray-dark.rasi
deleted file mode 100644
index ccea1eaf..00000000
--- a/hm/soispha/conf/rofi/rounded-gray-dark.rasi
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * ROUNDED THEME FOR ROFI
- * User                 : LR-Tech
- * Theme Repo           : https://github.com/lr-tech/rofi-themes-collection
- *******************************************************************************/
-
-* {
-    bg0:    #212121F2;
-    bg1:    #2A2A2A;
-    bg2:    #3D3D3D80;
-    bg3:    #616161F2;
-    fg0:    #E6E6E6;
-    fg1:    #FFFFFF;
-    fg2:    #969696;
-    fg3:    #3D3D3D;
-}
-
-@import "rounded-common.rasi"