include = config font-size = 17 ###---- ### Text theming # # Default text color # # All text defaults to this color if not otherwise specified. text-color = #FFFFFF # Selection text selection-color = #9cd3ff # Matching portion of selection text selection-match-color = #9cd3ff default-result-color = #FFFFFF alternate-result-color = #808080 # ### Text cursor theme # # Style of the optional text cursor. # # Supported values: bar, block, underscore text-cursor-style = underscore # Color of the text cursor # # If unspecified, defaults to the same as input-color # text-cursor-color = #FFFFFF # Color of text behind the text cursor when text-cursor-style = block # # If unspecified, defaults to the same as background-color # text-cursor-background = #000000 # Corner radius of the text cursor text-cursor-corner-radius = 0 # Thickness of the bar and underscore text cursors. # # If unspecified, defaults to a font-dependent value when # text-cursor-style = underscore, or to 2 otherwise. # text-cursor-thickness = 2 # ### Text layout # # Prompt to display. prompt-text = "Brightness" # Extra horizontal padding between prompt and input. prompt-padding = 8 # Placeholder input text. placeholder-text = "" # Maximum number of results to display. # If 0, tofi will draw as many results as it can fit in the window. num-results = 7 # Spacing between results in pixels. Can be negative. result-spacing = 6 # List results horizontally. horizontal = true # Minimum width of input in horizontal mode. min-input-width = 0 # ### Window theming # width = 330 height = 50 # Width and height of the window. Can be pixels or a percentage. # Window background color background-color = #191A1CF0 # Width of the border outlines in pixels. outline-width = 0 # Border outline color outline-color = #080800 # Radius of window corners in pixels. corner-radius = 0 # Whether to scale the window by the output's scale factor. scale = true # ### Window positioning # # The name of the output to appear on. An empty string will use the # default output chosen by the compositor. output = "" # Location on screen to anchor the window to. # # Supported values: top-left, top, top-right, right, bottom-right, # bottom, bottom-left, left, center. anchor = top-right margin-top = 5% # 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 # ### Behaviour # # Hide the mouse cursor. hide-cursor = true # Show a text cursor in the input field. text-cursor = false # Sort results by number of usages in run and drun modes. history = false require-match = true auto-accept-single = true # If true, typed input will be hidden, and what is displayed (if # anything) is determined by the hidden-character option. hide-input = true # Replace displayed input characters with a character. If the empty # string is given, input will be completely hidden. # This option only has an effect when hide-input is set to true. hidden-character = "" # ### Inclusion # # Configs can be split between multiple files, and then included # within each other. # include = /path/to/config