summaryrefslogtreecommitdiff
path: root/config/xfce4/panel/xfce4-clipman-actions.xml
blob: 9d8cf341c11e95867c4632c28c64577c853d5f15 (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<actions>
	<action>
		<name>Bugz</name>
		<regex>bug\s*#?\s*([0-9]+)</regex>
		<group>0</group>
		<commands>
			<command>
				<name>GNOME Bug</name>
				<exec>exo-open http://bugzilla.gnome.org/show_bug.cgi?id=\1</exec>
			</command>
			<command>
				<name>Xfce Bug</name>
				<exec>exo-open http://bugzilla.xfce.org/show_bug.cgi?id=\1</exec>
			</command>
		</commands>
	</action>
	<action>
		<name>Image</name>
		<regex>(http|ftp).+\.(jpg|png|gif)</regex>
		<group>0</group>
		<commands>
			<command>
				<name>View with Ristretto</name>
				<exec>ristretto &quot;\0&quot;</exec>
			</command>
			<command>
				<name>Edit with Gimp</name>
				<exec>gimp &quot;\0&quot;</exec>
			</command>
		</commands>
	</action>
	<action>
		<name>Long URL</name>
		<regex>http://[^\s]{120,}</regex>
		<group>0</group>
		<commands>
			<command>
				<name>Shrink the URL</name>
				<exec>exo-open http://tinyurl.com/create.php?url=\0</exec>
			</command>
		</commands>
	</action>
</actions>