Qubes-Community-Content/docs/user-setups/taradiddles/qubes-tweak/fix-xdg
2018-05-07 15:36:42 +03:00

16 lines
203 B
Bash
Executable File

#!/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