Skip to content

Commit c0f7fd3

Browse files
committed
[update] : Integrate with share-extra scripts
1 parent 8aaf8bc commit c0f7fd3

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

channels/i3/airootfs.any/root/customize_airootfs_i3.sh

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
# (c) 2019-2021 Fascode Network.
88
#
99

10-
# Bluetooth
11-
#rfkill unblock all
12-
#systemctl enable bluetooth
13-
1410
# Replace shortcut list config
1511
if [[ "${language}" = "ja" ]]; then
1612
remove "/etc/skel/.config/conky/conky.conf"
@@ -42,41 +38,18 @@ sed -i "/light/s/^/# /g" /home/${username}/.config/i3/config
4238
# disable auto screen lock
4339
rm /etc/xdg/autostart/light-locker.desktop
4440

45-
# Snap
46-
#if [[ "${arch}" = "x86_64" ]]; then
47-
# systemctl enable snapd.apparmor.service
48-
# systemctl enable apparmor.service
49-
# systemctl enable snapd.socket
50-
# systemctl enable snapd.service
51-
#fi
52-
53-
5441
# Update system datebase
5542
dconf update
5643

57-
58-
# firewalld
59-
#systemctl enable firewalld.service
60-
6144
# ntp
6245
systemctl enable systemd-timesyncd.service
6346

64-
65-
# Added autologin group to auto login
66-
groupadd autologin
67-
usermod -aG autologin ${username}
68-
69-
7047
# Enable LightDM to auto login
7148
if [[ "${boot_splash}" = true ]]; then
7249
systemctl enable lightdm-plymouth.service
7350
else
7451
systemctl enable lightdm.service
7552
fi
7653

77-
78-
# Set script permission
79-
#chmod 755 /usr/bin/alterlinux-gtk-bookmarks
80-
8154
# Replace auto login user
82-
sed -i s/%USERNAME%/${username}/g /etc/lightdm/lightdm.conf
55+
sed -i "s|%USERNAME%|${username}|g" "/etc/lightdm/lightdm.conf.d/02-autologin.conf"

0 commit comments

Comments
 (0)