dotfiles/.config/Thunar/uca.xml.cgt

43 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<icon><% opt.term.icon_name %></icon>
<name>Open <% opt.term.name %> Here</name>
<command><% opt.term.workdir_command %> %f</command>
<description></description>
<patterns>*</patterns>
<startup-notify/>
<directories/>
</action>
<action>
<name>Rsync To...</name>
<icon>edit-copy</icon>
<command><% opt.commands.zenity %> --entry --text "Rsync Command" --entry-text "rsync -vaP %F " | xargs alacritty --hold --command</command>
<description>Open a Dialog on an Rsync destination for the selected files</description>
<patterns>*</patterns>
<audio-files/>
<image-files/>
<other-files/>
<text-files/>
<video-files/>
</action>
<action>
<name>rm -rf</name>
<icon>user-trash-full</icon>
<command>[ "$(echo -e "Yes\nNo" | rofi -dmenu -theme ~/.local/share/rofi/applets/confirm.rasi -mesg $'Delete these Files?\n\n%F')" == Yes ] &amp;&amp; rm -rf %F</command>
<description>force delete stuff</description>
<patterns>*</patterns>
<audio-files/>
<image-files/>
<other-files/>
<text-files/>
<video-files/>
<directories/>
</action>
</actions>