From fd90169c5f36f35d622ba354b577a3dd7e861365 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sun, 20 Oct 2024 18:18:38 +0200 Subject: wofi config --- home/.config/sway/config | 2 +- home/.config/wofi/config | 21 ++++++++++++++++++ home/.config/wofi/style.css | 53 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 home/.config/wofi/config create mode 100644 home/.config/wofi/style.css diff --git a/home/.config/sway/config b/home/.config/sway/config index 25246d5..ee2133a 100644 --- a/home/.config/sway/config +++ b/home/.config/sway/config @@ -18,7 +18,7 @@ set $term alacritty # Your preferred application launcher # Note: pass the final command to swaymsg so that the resulting window can be opened # on the original workspace that the command was run on. -set $menu wofi --show run +set $menu wofi ### Output configuration # diff --git a/home/.config/wofi/config b/home/.config/wofi/config new file mode 100644 index 0000000..47074b7 --- /dev/null +++ b/home/.config/wofi/config @@ -0,0 +1,21 @@ +# mode +show=drun +allow_images=true +parse_search=true + +# display +prompt=applications +dynamic_lines=true +layer=overlay +gtk_dark=true +display_generic=true + +# matching +exec-search=true +insensitive=true +matching=multi-contains + +# keys +key_expand=Tab +key_forward=End +key_backward=Home diff --git a/home/.config/wofi/style.css b/home/.config/wofi/style.css new file mode 100644 index 0000000..3990393 --- /dev/null +++ b/home/.config/wofi/style.css @@ -0,0 +1,53 @@ +@define-color hl #7cb342; +@define-color hlfg #000000; +@define-color fg #ffffff; +@define-color bg #212121; +@define-color trim #616161; + +window { + margin: 5px; + border: none; + background-color: transparent; + color: @fg; +} + +#input { + margin: 5px; + border: 2px solid @trim; + background-color: @bg; + color: @fg; +} + +#inner-box { + margin: 0px; + border: none; + background-color: transparent; +} + +#outer-box { + margin: 0px; + border: none; + background-color: transparent; +} + +#scroll { + margin: 5px; + border: none; + background-color: @bg; +} + +#entry { + margin: none; + border: none; + background-color: @bg; + color: @fg; +} + +#entry:selected { + background-color: @hl; + color: @hlfg; +} + +#text { + color: inherit; +} -- cgit v1.2.3-70-g09d2