Skip to content

Commit 5b70e5b

Browse files
committed
alacritty
1 parent add55e5 commit 5b70e5b

File tree

2 files changed

+88
-1
lines changed

2 files changed

+88
-1
lines changed

usr/local/bin/fix-sddm-conf

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,27 @@
2626
#tput setaf 8 = light blue
2727
##################################################################################################################
2828

29+
echo "###############################################################################"
2930
echo "Copying both files : etc/sddm.conf and /etc/sddm.conf.d/kde_settings.conf"
31+
echo "###############################################################################"
32+
echo "If file exists, make a backup"
33+
[ -f /etc/sddm.conf ] && sudo cp -p /etc/sddm.conf /etc/sddm.conf.backup
34+
echo
35+
echo "Overwriting /etc/sddm.conf"
36+
echo
3037
sudo cp -v /usr/share/archlinux-tweak-tool/data/arco/sddm/sddm.conf /etc/sddm.conf
38+
echo
39+
echo "If directory /etc/sddm.conf.d does not exist, make it"
3140
[ -d /etc/sddm.conf.d/ ] || sudo mkdir -p /etc/sddm.conf.d/
41+
echo "If file exists, make a backup"
42+
echo
43+
[ -f /etc/sddm.conf.d/kde_settings.conf ] && sudo cp -p /etc/sddm.conf.d/kde_settings.conf /etc/sddm.conf.d/kde_settings.conf.backup
44+
echo "Overwriting /etc/sddm.conf.d/kde_settings.conf"
45+
echo
3246
sudo cp -v /usr/share/archlinux-tweak-tool/data/arco/sddm.conf.d/kde_settings.conf /etc/sddm.conf.d/kde_settings.conf
47+
echo
3348
echo "/etc/sddm.conf and /etc/sddm.conf.d/kde_settings.conf changed with configs of ATT"
34-
49+
echo
3550
echo "###############################################################################"
3651
echo "### DONE - YOU CAN CLOSE THIS WINDOW ####"
3752
echo "###############################################################################"

0 commit comments

Comments
 (0)