about summary refs log tree commit diff
path: root/users/fcuny/desktop/sway
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--users/fcuny/desktop/sway/wofi.nix70
1 files changed, 64 insertions, 6 deletions
diff --git a/users/fcuny/desktop/sway/wofi.nix b/users/fcuny/desktop/sway/wofi.nix
index 6368a7a..bc69e0d 100644
--- a/users/fcuny/desktop/sway/wofi.nix
+++ b/users/fcuny/desktop/sway/wofi.nix
@@ -6,14 +6,72 @@
   ];
 
   xdg.configFile."wofi/config".text = ''
-    image_size=48
-    columns=3
-    allow_images=true
+    xoffset=710
+    yoffset=275
+    show=drun
+    width=500
+    height=500
+    always_parse_args=true
+    show_all=true
+    print_command=true
+    layer=overlay
     insensitive=true
+    prompt=
     term=${config.wayland.windowManager.sway.config.terminal}
+  '';
+
+  xdg.configFile."wofi/style.css".text = ''
+    window {
+      margin: 0px;
+      border: 2px solid #414868;
+      border-radius: 5px;
+      background-color: #24283b;
+      font-family: monospace;
+      font-size: 12px;
+    }
+
+    #input {
+      margin: 5px;
+      border: 1px solid #24283b;
+      color: #c0caf5;
+      background-color: #24283b;
+    }
+
+    #input image {
+      color: #c0caf5;
+    }
+
+    #inner-box {
+      margin: 5px;
+      border: none;
+      background-color: #24283b;
+    }
+
+    #outer-box {
+      margin: 5px;
+      border: none;
+      background-color: #24283b;
+    }
+
+    #scroll {
+      margin: 0px;
+      border: none;
+    }
+
+    #text {
+      margin: 5px;
+      border: none;
+      color: #c0caf5;
+    }
+
+    #entry:selected {
+    	background-color: #414868;
+    	font-weight: normal;
+    }
 
-    run-always_parse_args=true
-    run-cache_file=/dev/null
-    run-exec_search=true
+    #text:selected {
+      background-color: #414868;
+      font-weight: normal;
+    }
   '';
 }