about summary refs log tree commit diff stats
path: root/modules/by-name/ro
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/ro')
-rw-r--r--modules/by-name/ro/rofi/module.nix31
-rw-r--r--modules/by-name/ro/rofi/nord-twoLines.rasi101
-rw-r--r--modules/by-name/ro/rofi/nord-twoLines.rasi.license9
3 files changed, 141 insertions, 0 deletions
diff --git a/modules/by-name/ro/rofi/module.nix b/modules/by-name/ro/rofi/module.nix
new file mode 100644
index 00000000..f2b404d6
--- /dev/null
+++ b/modules/by-name/ro/rofi/module.nix
@@ -0,0 +1,31 @@
+# nixos-config - My current NixOS configuration
+#
+# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of my nixos-config.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+{
+  config,
+  lib,
+  libraries,
+  ...
+}: let
+  cfg = config.soispha.programs.rofi;
+in {
+  options.soispha.programs.rofi = {
+    enable = libraries.base.options.mkEnable "rofi";
+  };
+
+  config = lib.mkIf cfg.enable {
+    home-manager.users.soispha = {
+      programs.rofi = {
+        enable = true;
+        terminal = lib.getExe config.soispha.programs.alacritty.package;
+        theme = ./nord-twoLines.rasi;
+      };
+    };
+  };
+}
diff --git a/modules/by-name/ro/rofi/nord-twoLines.rasi b/modules/by-name/ro/rofi/nord-twoLines.rasi
new file mode 100644
index 00000000..612b907f
--- /dev/null
+++ b/modules/by-name/ro/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/modules/by-name/ro/rofi/nord-twoLines.rasi.license b/modules/by-name/ro/rofi/nord-twoLines.rasi.license
new file mode 100644
index 00000000..eae6a84c
--- /dev/null
+++ b/modules/by-name/ro/rofi/nord-twoLines.rasi.license
@@ -0,0 +1,9 @@
+nixos-config - My current NixOS configuration
+
+Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of my nixos-config.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.