diff options
-rw-r--r-- | config/hyprland/tofi/config | 192 |
1 files changed, 192 insertions, 0 deletions
diff --git a/config/hyprland/tofi/config b/config/hyprland/tofi/config new file mode 100644 index 0000000..77ca8ed --- /dev/null +++ b/config/hyprland/tofi/config @@ -0,0 +1,192 @@ +font = /usr/share/fonts/TTF/JetBrainsMono-Bold.ttf + +# Point size of text. +font-size = 12 + +# Comma separated list of OpenType font feature settings to apply, +# if supported by the chosen font. The format is similar to the CSS +# "font-feature-settings" property. +# +# Examples: +# +# font-features = "smcp, c2sc" (all small caps) +# font-features = "liga 0" (disable ligatures) +font-features = "" + +# Comma separated list of OpenType font variation settings to apply +# to variable fonts. The format is similar to the CSS +# "font-variation-settings" property. +# +# Examples: +# +# font-variations = "wght 900" (Extra bold) +# font-variations = "wdth 25, slnt -10" (Narrow and slanted) +font-variations = "" + +hint-font = true + +# +### Text theming +# +text-color = #d8dee9 + +# Prompt text theme +prompt-color = #81a1c1 +prompt-background = #00000000 +prompt-background-padding = 0 +prompt-background-corner-radius = 0 + +# Placeholder text theme +placeholder-color = #4c566a +placeholder-background = #00000000 +placeholder-background-padding = 0 +placeholder-background-corner-radius = 0 + +# Input text theme +input-color = #d8dee9 +input-background = #00000000 +input-background-padding = 0 +input-background-corner-radius = 0 + +# Default result text theme +default-result-color = #88c0d0 +default-result-background = #00000000 +default-result-background-padding = 0 +default-result-background-corner-radius = 0 + +# Alternate (even-numbered) result text theme +# +# If unspecified, these all default to the corresponding +# default-result-* attribute. +# +# alternate-result-color = #d8dee9 +# alternate-result-background = #00000000 +# alternate-result-background-padding = 0 +# alternate-result-background-corner-radius = 0 + +# Selection text +selection-color = #5e81ac +selection-background = #2e3440 +selection-background-padding = 0 +selection-background-corner-radius = 4 + +# Matching portion of selection text +selection-match-color = #ffffff + +# +### Text layout +# +# Prompt to display. +prompt-text = "" + +# Extra horizontal padding between prompt and input. +prompt-padding = 0 + +# Placeholder input text. +placeholder-text = "cmd" + +# Maximum number of results to display. +# If 0, tofi will draw as many results as it can fit in the window. +num-results = 0 + +# Spacing between results in pixels. Can be negative. +result-spacing = 0 + +# List results horizontally. +horizontal = false + +# Minimum width of input in horizontal mode. +min-input-width = 0 + +# +### Window theming +# +# Width and height of the window. Can be pixels or a percentage. +width = 20% +height = 20% + +# Window background color +background-color = #2e3440 + +# Width of the border outlines in pixels. +outline-width = 0 + +# Border outline color +outline-color = #81a1c1 + +# Width of the border in pixels. +border-width = 2 + +# Border color +border-color = #88c0d0 + +# Radius of window corners in pixels. +corner-radius = 26 + +# Padding between borders and text. Can be pixels or a percentage. +padding-top = 8 +padding-bottom = 8 +padding-left = 8 +padding-right = 8 + +clip-to-padding = true + +# Whether to scale the window by the output's scale factor. +scale = true + +output = "" + +# Supported values: top-left, top, top-right, right, bottom-right, +# bottom, bottom-left, left, center. +anchor = center + +# Set the size of the exclusive zone. +# +# A value of -1 means ignore exclusive zones completely. +# A value of 0 will move tofi out of the way of other windows' zones. +# A value greater than 0 will set that much space as an exclusive zone. +# +# Values greater than 0 are only meaningful when tofi is anchored to a +# single edge. +exclusive-zone = -1 + +# Window offset from edge of screen. Only has an effect when anchored +# to the relevant edge. Can be pixels or a percentage. +margin-top = 0 +margin-bottom = 0 +margin-left = 0 +margin-right = 0 + +# +### Behaviour +# +# Hide the cursor. +hide-cursor = false + +# Sort results by number of usages in run and drun modes. +history = true + +# history-file = /path/to/histfile + +fuzzy-match = false + +require-match = false + +hide-input = false + +hidden-character = "" + +drun-launch = true + +# terminal = foot + +late-keyboard-init = false + +multi-instance = false + +# Assume input is plain ASCII, and disable some Unicode handling +# functions. This is faster, but means e.g. a search for "e" will not +# match "é". +ascii-input = false + +# include = /path/to/config |