diff options
author | 2023-01-04 23:46:15 +0600 | |
---|---|---|
committer | 2023-01-04 23:46:15 +0600 | |
commit | baa72684e8d5e4f05e3d96518a865c030e4fe29b (patch) | |
tree | c452b371b6396f20cab15e9f8803b6108d1a4cd2 /patch/thunar-refresh | |
parent | 48b073941e0fc537ab4a35830b95c1ec07b8cddb (diff) | |
download | patches-baa72684e8d5e4f05e3d96518a865c030e4fe29b.tar.gz patches-baa72684e8d5e4f05e3d96518a865c030e4fe29b.zip |
patch: Add dependencies
Signed-off-by: Mubashshir <ahmubashshir@gmail.com>
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 |