Make AddMouseRegion's index unsigned
[dockapps.git] / wmcliphist / wmcliphistrc
blobe68455eb4c1bd508cb30d4501b642e790240e356
1 # Set hotkey for history menu popup.
2 # you can use combination of modifiers (ctrl, alt, shift) and one
3 # character (function keys etc. are not supported now).
4 # Default: Ctrl+Alt+V
6 menukey Ctrl+Alt+V
9 # Set hotkey returning previously captured item back to clipboard. It's
10 # useful when you replace your clipboard content with some other (e.g.
11 # upon clearing of paste destination) and you want to switch back to it
12 # quickly and easily.
13 # Default: Ctrl+Alt+C
15 prev_item_key Ctrl+Alt+C
18 # Set hotkey to perform the first matching exec action on the current
19 # clipboard item
20 # Default: Ctrl+Alt+E
22 exec_item_key Ctrl+Alt+E
25 # Should wmcliphist automaticaly take up clipboard content?
26 # Default: yes
28 auto_take_up yes
31 # Set number of items to keep.
32 # Default: 10
34 keep 10
37 # Set color for locked items. Value is color in any X11-supported
38 # format, eg. blue, green, #000080, #FF8000
39 # Default: red
41 lcolor red
44 # Set autosave period in seconds.
45 # Default: 120
47 autosave 60
50 # Should wmcliphist ask you before performing action of exec type?
51 # Default: no
53 confirm_exec yes
55 # Should wmcliphist exec commands immediately when matching item is captured?
56 # Default: yes
58 exec_immediately yes
60 # Should wmcliphist exec commands on a middle click from the menu?
61 # Default: yes
63 exec_middleclick yes
65 # Should wmcliphist exec commands from the exec hotkey?
66 # Default: yes
68 exec_hotkey yes
70 # Which clipboard should wmcliphist manage? PRIMARY (select copies, middle click
71 # pastes), SECONDARY (not used), or CLIPBOARD (Ctrl+C copies, Ctrl+V pastes)
72 # Default: PRIMARY
74 clipboard PRIMARY
76 # You can define regular expressions driven actions executed when new
77 # item is captured. Items can be silently ignored, inserted to submenus
78 # or you can execute any command.
79 # Action is defined like this:
81 # action "pattern" action_type command
83 # "pattern" is extended regular expression and it MUST by enclosed with
84 #     double quotes (")
85 # action_type can be "ignore", "submenu" or "exec" (without quotes).
86 #     Actions of type "ignore" and "submenu" are terminating - no more
87 #     actions will be executed after them. Action of type "exec" is not
88 #     terminating and any matching actions will be executed too. For
89 #     example, you can let start browser automaticaly when URL is
90 #     captured and then drop this item with "ignore" statement or put it
91 #     into special submenu with "submenu" statement.
92 # command is either submenu name for actions of type "submenu" or
93 #     command to be executed through /bin/sh for actions of type "exec".
94 #     Whole rest of line is taken as command so don't enclose it with
95 #     quotes.
96 #     If action type is "exec", you can include "%s" string in command
97 #     and it will be replaced with item content (don't use "%s" more
98 #     than once and any other occurrence of '%' character write as
99 #     "%%"!!!).
100 #     If action type is "submenu", command can be "-" (without quotes),
101 #     which means item will be placed in main menu, not in submenu. It's
102 #     usable if you want to use "exec" and then put item into main menu.
103 #     In other cases this construction doesn't make sense, because items
104 #     are placed into main menu by default.
106 # show URLs in links browser started in new xterm window...
107 action "^http://.*$" exec xterm -e links "%s"
109 # ... and put it to submenu URL (action of type "ignore" can be used to
110 # drop URLs)
111 action "^http://.*$" submenu URL
113 # put email addresses to submenu "Emails"
114 action "^[^@]+@([^.]+\.)+[a-zA-Z]{2,}$" submenu Emails
116 # ignore strings containing spaces or tabs only
117 action "^[ \t]+$" ignore
119 # ignore strings shorter than four characters (mostly selected by mistake)
120 action "^.{1,3}$" ignore