diff options
-rwxr-xr-x | patch/thunar-refresh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/patch/thunar-refresh b/patch/thunar-refresh index b48723f..f17a396 100755 --- a/patch/thunar-refresh +++ b/patch/thunar-refresh @@ -10,9 +10,9 @@ # <directories/> #</action> -xml ed -L \ +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 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 \ @@ -20,3 +20,6 @@ xml ed -L \ -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 |