Qubes-Community-Content/docs/user-setups/taradiddles/qubes-tweak/fix-xdg

16 lines
203 B
Plaintext
Raw Normal View History

2018-05-07 08:36:42 -04:00
#!/bin/sh
mkdir -p /etc/xdg/autostart/bkp
IFS="
"
for i in $(find /etc/xdg/autostart/ -maxdepth 1 -mindepth 1 ! -type d ! -name '0*.desktop'); do
cp -au "$i" /etc/xdg/autostart/bkp
rm "$i"
done