Added custom backgrounds, Setup auto wifi
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
#Set perrmissons for saved networks in NetworkManager
|
||||
chmod 600 /etc/NetworkManager/system-connections/*.nmconnection
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
#Hide mail button in application menu
|
||||
sed -i -e 's/OnlyShowIn/NotShowIn/g' /usr/share/applications/xfce4-mail-reader.desktop
|
||||
|
||||
#Hide 'Thunar bulk rename' button in application menu
|
||||
echo "NotShowIn=XFCE;" >> /usr/share/applications/thunar-bulk-rename.desktop
|
||||
|
||||
#Hide 'Thunar bulk rename' button in application menu
|
||||
echo "NotShowIn=XFCE;" >> /usr/share/applications/display-im6.q16.desktop
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/bin/bash
|
||||
echo "I: running $0"
|
||||
|
||||
disabled_services="avahi-daemon.service openvpn.service rsync.service ssh.service nmbd.service smbd.service libvirtd.service libvirt-guests.service"
|
||||
enabled_services="bluetooth.service fancontrol.service laptop-mode.service ntp.service preload.service smartmontools.service rsyslog.service lm-sensors.service hddtemp.service haveged.service"
|
||||
|
||||
for service in $disabled_services; do
|
||||
echo "Disabling $service"
|
||||
systemctl disable "$service" || true
|
||||
systemctl stop "$service" || true
|
||||
done
|
||||
|
||||
for service in $enabled_services; do
|
||||
echo "Enabling $service"
|
||||
systemctl enable "$service".service || true
|
||||
systemctl start "$service".service || true
|
||||
done
|
||||
17
config/hooks/normal/0350-update-default-services-status.hook.chroot.disabled
Executable file
17
config/hooks/normal/0350-update-default-services-status.hook.chroot.disabled
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
echo "I: running $0"
|
||||
|
||||
#disabled_services=""
|
||||
#enabled_services=""
|
||||
|
||||
#for service in $disabled_services; do
|
||||
# echo "Disabling $service"
|
||||
# systemctl disable "$service" || true
|
||||
# systemctl stop "$service" || true
|
||||
#done
|
||||
|
||||
#for service in $enabled_services; do
|
||||
# echo "Enabling $service"
|
||||
# systemctl enable "$service".service || true
|
||||
# systemctl start "$service".service || true
|
||||
done
|
||||
Reference in New Issue
Block a user