#!/bin/sh # # view-refresh # * # # Refresh # simulate-refresh # Refresh current content # # sudo xmlstarlet ed -L \ -i '/actions/action[1]' -t elem -n action \ -s '/actions/action[1]' -t elem -n icon -v view-refresh \ -s '/actions/action[1]' -t elem -n patterns -v '*' \ -s '/actions/action[1]' -t elem -n range \ -s '/actions/action[1]' -t elem -n name -v Refresh \ -s '/actions/action[1]' -t elem -n command -v simulate-refresh \ -s '/actions/action[1]' -t elem -n description -v 'Refresh current content' \ -s '/actions/action[1]' -t elem -n directories \ /etc/xdg/Thunar/uca.xml rm -f ~/.config/Thunar/uca.xml thunar -q pkill xfdesktop