From ccd321f339f43b6321dbdf54bd989f279601f8aa Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 20 Jan 2022 11:47:08 +0100 Subject: Uses wofi instead of rofi --- .config/sway/config | 2 +- .config/wofi/style.css | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .config/wofi/style.css diff --git a/.config/sway/config b/.config/sway/config index d357f17..a9c6a14 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -19,7 +19,7 @@ set $term alacritty # 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 dmenu_path | dmenu | xargs swaymsg exec -- -set $menu "rofi -show drun" +set $menu "wofi --show drun" ### Output configuration # diff --git a/.config/wofi/style.css b/.config/wofi/style.css new file mode 100644 index 0000000..d40bf6b --- /dev/null +++ b/.config/wofi/style.css @@ -0,0 +1,26 @@ +window { + background-color: rgba(0, 0, 0, 0.8); + color: #fff; +} + +#input { + border: none; + border-bottom: 1px solid rgba(255, 255, 255, 0.1); + border-radius: 0; + background-color: transparent; + color: #fff; + padding: 3px 10px; +} +#input:focus { + box-shadow: none; +} + +#inner-box { + padding: 10px; +} + +#entry:selected { + background-color: rgba(255, 255, 255, 0.1); + outline: 0; +} + -- cgit v1.2.3