summaryrefslogtreecommitdiff
path: root/modules/home/hyprland/chernobyl/rofi.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-02-02 19:14:28 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-02-02 19:14:28 +0100
commitefd43899305e40f7dc8248409cb629009ecaa8ac (patch)
tree57ebaf82b59109f040998c5b136f6ecf0df1a48f /modules/home/hyprland/chernobyl/rofi.nix
parentee87655c236dca216734e03c1a9364de6c0fb20c (diff)
made hyprland config better hopefully
Diffstat (limited to 'modules/home/hyprland/chernobyl/rofi.nix')
-rw-r--r--modules/home/hyprland/chernobyl/rofi.nix111
1 files changed, 111 insertions, 0 deletions
diff --git a/modules/home/hyprland/chernobyl/rofi.nix b/modules/home/hyprland/chernobyl/rofi.nix
new file mode 100644
index 0000000..477751f
--- /dev/null
+++ b/modules/home/hyprland/chernobyl/rofi.nix
@@ -0,0 +1,111 @@
+{ pkgs, ... }:
+
+{
+ programs.rofi = {
+ enable = true;
+ location = "center";
+ cycle = true;
+ terminal = "${pkgs.kitty}/bin/kitty";
+ modes = [ "drun" "ssh" "emoji" "calc" ];
+ plugins = with pkgs; [ rofi-emoji rofi-calc ];
+ extraConfig = {
+ lines = 20;
+ columns = 1;
+ font = "Fira Code 12";
+ width = 40;
+ show-icons = true;
+ icon-theme = "Papirus";
+ matching = "fuzzy";
+ sorting-method = "fzf";
+ drun-display-format = "{icon} {name}";
+ };
+ theme = ''
+ * {
+ bg0: #1c182d;
+ bg1: #2b2135;
+ bg2: #3d3547;
+ fg0: #d0b6fd;
+ fg1: #b12cbf;
+ border-col: #b12cbf;
+ }
+
+ window {
+ background-color: @bg0;
+ border: 3px solid @border-col;
+ border-radius: 15px;
+ padding: 20px;
+ }
+
+ mainbox {
+ background-color: @bg0;
+ children: [ inputbar message-box listview ];
+ spacing: 15px;
+ }
+
+ inputbar {
+ background-color: @bg1;
+ border: 2px solid @border-col;
+ border-radius: 10px;
+ padding: 10px 15px;
+ children: [ prompt entry ];
+ }
+
+ prompt {
+ text-color: @fg1;
+ margin-right: 10px;
+ }
+
+ entry {
+ background-color: transparent;
+ text-color: @fg0;
+ }
+
+ message-box {
+ background-color: @bg1;
+ border: 2px solid @border-col;
+ border-radius: 10px;
+ padding: 10px;
+ text-color: @fg0;
+ }
+
+ listview {
+ background-color: transparent;
+ columns: @columns;
+ spacing: 10px;
+ }
+
+ element {
+ background-color: @bg1;
+ border: 2px solid transparent;
+ border-radius: 8px;
+ padding: 10px;
+ transition: all 150ms ease;
+ }
+
+ element:hover {
+ background-color: @bg2;
+ border: 2px solid @border-col;
+ }
+
+ element:selected {
+ background-color: @fg1;
+ text-color: @bg0;
+ border: 2px solid @border-col;
+ }
+
+ element-icon {
+ size: 24px;
+ margin-right: 10px;
+ }
+
+ element-text {
+ text-color: @fg0;
+ vertical-align: 0.5;
+ }
+
+ element:selected element-text {
+ text-color: @bg0;
+ }
+ '';
+ };
+}