From 9695c1c909be4d48854690cdf47958551c2d3178 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Mon, 2 Feb 2026 19:33:21 +0100 Subject: removed hyprland, added niri --- modules/home/niri/chernobyl/rofi.nix | 100 +++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 modules/home/niri/chernobyl/rofi.nix (limited to 'modules/home/niri/chernobyl/rofi.nix') diff --git a/modules/home/niri/chernobyl/rofi.nix b/modules/home/niri/chernobyl/rofi.nix new file mode 100644 index 0000000..d4ab714 --- /dev/null +++ b/modules/home/niri/chernobyl/rofi.nix @@ -0,0 +1,100 @@ +{ 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 ]; + 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; + } + ''; + }; +} -- cgit v1.2.3