diff options
Diffstat (limited to 'patch/thunar-refresh')
-rwxr-xr-x | patch/thunar-refresh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/patch/thunar-refresh b/patch/thunar-refresh index f17a396..df912d7 100755 --- a/patch/thunar-refresh +++ b/patch/thunar-refresh @@ -9,6 +9,8 @@ # <description>Refresh current content</description> # <directories/> #</action> +# deps +sudo apt install xmlstarlet xdotool sudo xmlstarlet ed -L \ -i '/actions/action[1]' -t elem -n action \ @@ -20,6 +22,8 @@ sudo xmlstarlet 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 +sudo apt remove xmlstarlet + rm -f ~/.config/Thunar/uca.xml thunar -q pkill xfdesktop |