Repository navigation
Expand file tree
/
Copy pathconfig.example.toml
More file actions
83 lines (79 loc) · 4.18 KB
/
Copy pathconfig.example.toml
File metadata and controls
83 lines (79 loc) · 4.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# hop configuration
# Copy to ~/.config/hop/config.toml
#
# All colors accept "#rrggbb" (opaque) or "#rrggbbaa" (with alpha).
# The last two hex digits are the alpha: 00 = transparent, ff = fully opaque.
[window]
position = "center" # "center" or "x,y"
outer_border_width = 0 # X11 border around the popup (px); 0 = no outer border
border = "#6272a4ff" # outer border color
gap = 0 # extra pixels of space between adjacent tiles
padding = 0 # margin around the tile area (extends the window background)
last_row_position = "center" # alignment of tiles in an incomplete last row: left|center|right
# Show 1-9 badges on the first nine tiles; press a digit to jump straight to that
# window. When true, digits are reserved for quick-select (not type-to-filter).
quick_select = true
border_radius = 0 # corner radius for the popup background (px); 0 = square corners
# Popup background — visible in the border and gap areas around/between tiles.
# Default is fully transparent ("00" alpha) so the compositor shows through.
background = "#282a36ff"
# Gradient direction for the window background.
# "none" = flat fill (use background color as-is)
# "radial" = opaque background at center, fades to transparent at the edges
# "vertical" = transparent at top, background color at bottom
# "horizontal" = transparent at left, background color at right
# Combine with a semi-transparent background (e.g. "#282a3680") for best results.
background_gradient = "none"
# Request compositor blur behind the entire popup via the
# _KDE_NET_WM_BLUR_BEHIND_REGION hint. hop only sets the hint — your compositor
# (picom, KWin, …) must have blur enabled for it to show. hop does NOT edit your
# compositor's config; see the README for a picom setup snippet.
blur = false
[tile]
width = 200
height = 150
icon_size = 64
border_width = 4 # tile frame thickness (px)
border_radius = 0 # corner radius for tile borders (px); 0 = square corners
padding = 0 # pixels of padding inside each tile around content (icon + label)
background = "#282a36cc" # cc ≈ 80% opaque; use "ff" for solid, "00" for transparent
foreground = "#f8f8f2ff" # text and icon placeholder color
frame = "#bd93f9ff" # selected tile border
inactive = "#44475aff" # unselected tile border; "00" alpha = invisible border
# What to show inside each tile.
# "icon" — app icon from _NET_WM_ICON or the XDG icon theme (default)
# "thumbnail" — live screenshot of the window via the compositor's backing pixmap.
# Requires picom (or another COMPOSITE-extension compositor) to be running.
# Falls back to icon automatically when the compositor is unavailable.
content = "icon"
# When content = "thumbnail", also draw a small app icon in the bottom-right corner
# of each tile. Useful for identifying windows when thumbnails look similar.
icon_overlay = true
icon_overlay_size = 32 # pixels; the icon is scaled to this size
# Apply compositor blur only behind each tile region (not the gaps between tiles).
# Set window.blur = false and tile.blur = true for tile-only blur.
blur = false
[font]
name = "Roboto"
size = 11
# Drop shadow behind tile labels — helps readability on light tile backgrounds.
shadow = false
# shadow_color: "auto" picks black or white based on WCAG contrast of the text color.
# Override with an explicit "#rrggbbaa" value if you prefer a specific shadow color.
shadow_color = "auto"
shadow_offset = 1 # offset in pixels
[keys]
modifier = "Alt"
next = "Tab"
prev = "Shift+Tab"
cancel = "Escape"
# Close the selected window (sends _NET_CLOSE_WINDOW) while the popup is open.
# Middle-clicking a tile does the same.
close = "Delete"
# Same-app cycling: this binding opens the popup filtered to only the windows of
# the currently-active app (same WM_CLASS). Set app_next = "" to disable it (then
# hop won't grab the binding). If your WM already owns this combo, free it first —
# otherwise hop logs a warning and skips the grab.
app_modifier = "Super"
app_next = "Tab"
app_prev = "Shift+Tab"