aboutsummaryrefslogtreecommitdiff
path: root/modules/home/hyprland/chernobyl/rofi.nix
diff options
context:
space:
mode:
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;
+ }
+ '';
+ };
+}