Version 0.3.1 is over, start a new one.
Ensure to have an xautolock launch at boot time (in ~/.xinitrc).
This commit is contained in:
parent
ca1c70c760
commit
42351645f4
@ -7,6 +7,9 @@
|
||||
##### Add
|
||||
* xautolock: Program launcher for idle X session.
|
||||
|
||||
##### Change
|
||||
* Ensure to have an xautolock launch at boot time (in ~/.xinitrc).
|
||||
|
||||
### 0.3.1
|
||||
|
||||
#### Packages
|
||||
|
@ -114,6 +114,9 @@ sudo post_install_sid.sh
|
||||
* xscreensaver
|
||||
* xscreensaver-data
|
||||
|
||||
##### Post-Configuration
|
||||
* Ensure to have an xautolock launch at boot time (in ~/.xinitrc).
|
||||
|
||||
#### Gnome tools
|
||||
|
||||
##### Add
|
||||
|
@ -493,6 +493,14 @@ ains "Graphic Environment" alsa-utils gtk2-engines-cleanice herbstluftwm i3lock
|
||||
|
||||
##### Remove
|
||||
arem "Purge: Graphic Environment" xscreensaver xscreensaver-data
|
||||
|
||||
##### Post-Configuration
|
||||
# Ensure to have an xautolock launch at boot time
|
||||
if [ ! "$(grep 'xautolock' /home/${new_username}/.xinitrc)" ]; then
|
||||
cat << EOF >> "/home/${new_username}/.xinitrc"
|
||||
xautolock -time 15 -locker 'i3lock --pointer win -d -e -t' &
|
||||
EOF
|
||||
fi
|
||||
###########################################################
|
||||
|
||||
###########################################################
|
||||
|
Loading…
Reference in New Issue
Block a user