-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
46 lines (35 loc) · 1.41 KB
/
config.example.toml
File metadata and controls
46 lines (35 loc) · 1.41 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
# glance configuration
# Copy to ~/.config/glance/config.toml
# directories to watch for new files
watch_dirs = ["~/Pictures/Screenshots", "~/Downloads"]
# RTMIN+N signal to poke waybar on new file
signal_number = 8
# auto-dismiss the waybar widget after N seconds
dismiss_seconds = 10
# ignore files with these suffixes (partial downloads, etc.)
ignore_suffixes = [".part", ".crdownload", ".tmp"]
# pixels from top of screen to below waybar (menu appears here)
bar_height = 57
# number of files to remember in history
history_size = 5
# editor command for the Edit button (default: "swappy -f")
# supports full commands with arguments, e.g. "gimp -n" or "swappy -f"
# install swappy: sudo dnf install swappy (Fedora) / sudo pacman -S swappy (Arch)
editor = "swappy -f"
# which action buttons to show in the dropdown menu
# available: "drag", "open", "edit", "copy"
actions = ["drag", "open", "edit", "copy"]
# auto-dismiss the dropdown menu after N seconds (0 = never)
menu_dismiss_seconds = 8
# drag command: "builtin" for GTK4 native drag overlay, or an external tool
# use "ripdrag --and-exit" for better browser compatibility (XWayland)
# install ripdrag: cargo install ripdrag
drag_command = "builtin"
# menu appearance
[menu_style]
background = "rgba(30,30,46,0.95)"
text_color = "#cdd6f4"
secondary_color = "#a6adc8"
button_background = "rgba(255,255,255,0.08)"
button_hover = "rgba(255,255,255,0.15)"
border_radius = 12