added thunar actions

This commit is contained in:
Niklas 2020-11-30 01:30:29 +01:00
parent b3a14d0631
commit 868edd88d1

26
.config/Thunar/uca.xml Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<icon>utilities-terminal</icon>
<name>Open Terminal Here</name>
<unique-id>1593976619886933-1</unique-id>
<command>exo-open --working-directory %f --launch TerminalEmulator</command>
<description></description>
<patterns>*</patterns>
<startup-notify/>
<directories/>
</action>
<action>
<icon></icon>
<name>Upload to Nextcloud</name>
<unique-id>1594761029052126-1</unique-id>
<command>$XDG_DATA_HOME/scripts/nc-share-file.sh %f | xclip -i -selection &quot;clipboard&quot; &amp;&amp; notify-send -u low &quot;Upload complete&quot;</command>
<description>Uploads file to Nextcloud and copys the share link</description>
<patterns>*</patterns>
<audio-files/>
<image-files/>
<other-files/>
<text-files/>
<video-files/>
</action>
</actions>