diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-17 09:03:42 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-17 09:03:42 -0800 |
commit | b956df48799c69721d881297af051ba8b16f2cd3 (patch) | |
tree | db886829d49f839815dad9a73949a353d0715777 /users/fcuny | |
parent | go: set GOBIN and GOPRIVATE variables (diff) | |
download | world-b956df48799c69721d881297af051ba8b16f2cd3.tar.gz |
wofi: improve the readability of the window
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/desktop/sway/wofi.nix | 70 |
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; + } ''; } |