This commit is contained in:
Valeria Fadeeva 2023-12-19 00:01:53 +05:00
parent b595fb42f0
commit 1691195550
3 changed files with 27 additions and 4 deletions

View File

@ -13,10 +13,6 @@ if ! shopt -oq posix; then
fi
fi
# Advanced command-not-found hook
source /usr/share/doc/find-the-command/ftc.bash
xhost +local:root > /dev/null 2>&1
complete -cf sudo
@ -84,3 +80,6 @@ powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/share/powerline/bindings/bash/powerline.sh
# Advanced command-not-found hook
source /usr/share/doc/find-the-command/ftc.bash

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Exec=/usr/bin/bash ~/.local/bin/copy-calamares-to-desktop.sh
Icon=
Name=copy-calamares-to-desktop.sh
Path=
Terminal=False
Type=Application

View File

@ -0,0 +1,17 @@
#!/bin/bash
sleep 5
if [ -f "/etc/xdg/autostart/calamares.desktop" ]; then
if [ -d "$HOME/Рабочий стол" ]; then
cp "/etc/xdg/autostart/calamares.desktop" "$HOME/Рабочий стол/"
cp "$HOME/.config/autostart/key-sign.sh.desktop" "$HOME/Рабочий стол/"
sudo chown -R 1000:1000 "$HOME"
fi
if [ -d "$HOME/Desktop/" ]; then
cp "/etc/xdg/autostart/calamares.desktop" "$HOME/Desktop/"
cp "$HOME/.config/autostart/key-sign.sh.desktop" "$HOME/Desktop/"
sudo chown -R 1000:1000 "$HOME"
fi
fi