summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-07 16:13:51 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-07 16:15:44 +0200
commita1d9a8a615b844a188b198dceeb5ea9a08c11fd4 (patch)
treec6ef68d43bd0668fdac1db584a93e3c40f70b926
parentc216034fadea09e2722315a2451bf222cc6f9a60 (diff)
cleanup.
-rw-r--r--config/hyprland/tofi/config144
1 files changed, 11 insertions, 133 deletions
diff --git a/config/hyprland/tofi/config b/config/hyprland/tofi/config
index 77ca8ed..3d513c4 100644
--- a/config/hyprland/tofi/config
+++ b/config/hyprland/tofi/config
@@ -1,192 +1,70 @@
+### Font
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
-#
+### Colors
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.
+### Matching
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
+# Padding
+padding-top = 0
+padding-bottom = 0
+padding-left = 7%
+padding-right = 7%
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.
+# -1 means ignore exclusive zones completely.
+# 0 will move tofi out of the way of other windows' zones.
+# > 0 will set that much space as an exclusive zone.
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