diff --git a/tofi/.config/tofi/config b/tofi/.config/tofi/config new file mode 100644 index 0000000..3f4fa25 --- /dev/null +++ b/tofi/.config/tofi/config @@ -0,0 +1,87 @@ +# vim: ft=dosini + +; BEHAVIOR OPTIONS +hide-cursor = true +text-cursor = true +history = true +fuzzy-match = false +require-match = true +auto-accept-single = false +hide-input = false +drun-launch = false +late-keyboard-init = false +multi-instance = false +ascii-input = true + +; FONT OPTIONS +font = /usr/share/fonts/iosevka/Iosevka-Regular.ttf +font-size = 16 +font-features = "" +font-variations = "" + +; COLORS - Rose Pine Theme +background-color = #191724 +outline-width = 0 +outline-color = #26233a +border-width = 1 +border-color = #6e6a86 +text-color = #e0def4 + +; PROMPT +prompt-text = "" +prompt-padding = 0 +prompt-color = #e0def4 +prompt-background = #00000000 +prompt-background-padding = 0 +prompt-background-corner-radius = 0 + +; PLACEHOLDER +placeholder-text = "" +placeholder-color = #6e6a86 +placeholder-background = #00000000 +placeholder-background-padding = 0 +placeholder-background-corner-radius = 0 + +; INPUT +input-color = #e0def4 +input-background = #00000000 +input-background-padding = 0 +input-background-corner-radius = 0 + +; TEXT CURSOR +text-cursor-style = underscore +text-cursor-color = #eb6f92 +text-cursor-corner-radius = 0 + +; RESULTS +num-results = 20 +default-result-background = #00000000 +default-result-background-padding = 0 +default-result-background-corner-radius = 0 +result-spacing = 5 + +; SELECTION +selection-color = #eb6f92 +selection-match-color = #00000000 +selection-background = #00000000 +selection-background-padding = 0 +selection-background-corner-radius = 0 + +; LAYOUT +width = 400 +corner-radius = 0 +anchor = center +exclusive-zone = -1 +output = "" +scale = true +margin-top = 0 +margin-bottom = 0 +margin-left = 0 +margin-right = 0 +padding-top = 3% +padding-bottom = 0 +padding-left = 1% +padding-right = 0 +clip-to-padding = true +horizontal = false +hint-font = false \ No newline at end of file diff --git a/tofi/.config/tofi/scripts/drun.sh b/tofi/.config/tofi/scripts/drun.sh new file mode 100755 index 0000000..c4437e3 --- /dev/null +++ b/tofi/.config/tofi/scripts/drun.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +if pgrep -x tofi-drun >/dev/null; then + killall -q tofi-drun +else + tofi-drun --drun-launch=true --width 420 --height 450 +fi