Dont actually need to change the lock enabler
This commit is contained in:
parent
05183fad47
commit
393ef46a86
@ -6,14 +6,12 @@ sudo apt install -y curl git
|
|||||||
|
|
||||||
# Ensure computer doesn't go to sleep while installing
|
# Ensure computer doesn't go to sleep while installing
|
||||||
gsettings set org.gnome.desktop.session idle-delay 0
|
gsettings set org.gnome.desktop.session idle-delay 0
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
|
||||||
|
|
||||||
# Run installers
|
# Run installers
|
||||||
for script in ~/.local/share/omakub/install/*.sh; do source $script; done
|
for script in ~/.local/share/omakub/install/*.sh; do source $script; done
|
||||||
|
|
||||||
# Revert to normal idle and lock settings
|
# Revert to normal idle settings
|
||||||
gsettings set org.gnome.desktop.session idle-delay 300
|
gsettings set org.gnome.desktop.session idle-delay 300
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled true
|
|
||||||
|
|
||||||
# Reboot to pickup changes
|
# Reboot to pickup changes
|
||||||
read -p "Ready to reboot the system for all settings to take effect? [Y/n]: " response
|
read -p "Ready to reboot the system for all settings to take effect? [Y/n]: " response
|
||||||
|
Loading…
Reference in New Issue
Block a user