From c0e4f0c296345effa19260ce96d94cffc08a0a92 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Fri, 30 Jun 2023 17:25:24 -0400 Subject: [PATCH] Change to tofi for drun wofi was pretty but slow --- sway/bindings | 4 ++-- tofi/sidebar.toml | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 tofi/sidebar.toml diff --git a/sway/bindings b/sway/bindings index 701b256cf..537b048f6 100644 --- a/sway/bindings +++ b/sway/bindings @@ -43,8 +43,8 @@ bindsym $mod+i exec scripts/waybar/waybar-todo.sh # Add Shift: resize mode ($mod + right-mouse is easier) bindsym $mod+Shift+i mode "resize" -# Index: start wofi (launch applications) -bindsym $mod+u exec $HOME/scripts/wofi/wofi-drun.sh +# Index: start tofi (launch applications) +bindsym $mod+u exec $HOME/scripts/tofi/tofi-drun.sh # Add Shift: Alternative launcher for literal commands bindsym $mod+Shift+u exec $HOME/.local/bin/gmrun diff --git a/tofi/sidebar.toml b/tofi/sidebar.toml new file mode 100644 index 000000000..2bb32b554 --- /dev/null +++ b/tofi/sidebar.toml @@ -0,0 +1,27 @@ +# Functions +drun-launch=true +fuzzy-match=true + +# Box +anchor=left +width=300px + +# Spacing +padding-top=0 +padding-right=0 +padding-left=0 +padding-bottom=0 +border-width=0 +outline-width=0 +selection-background-padding=0,-1 + +# Text +font-size=11 +font="Anonymous Pro" + +# Color +text-color=EBDBB2 +background-color=282828 +selection-background=EBDBB2 +selection-color=282828 +selection-match-color=CC240A