diff options
author | EuAndreh <eu@euandre.org> | 2023-02-20 16:35:27 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-02-20 16:47:10 -0300 |
commit | e0b2d75cfb7c54d53c2841feb6dbd1ad749e54b4 (patch) | |
tree | 405448ed9327692cbeaad64b407a014720b1124f /etc/sh/rc | |
parent | etc/i3/config: Cleanup (diff) | |
download | dotfiles-e0b2d75cfb7c54d53c2841feb6dbd1ad749e54b4.tar.gz dotfiles-e0b2d75cfb7c54d53c2841feb6dbd1ad749e54b4.tar.xz |
Use xss-lock, i3lock and xset to lock after 5 minutes on usurpador
Diffstat (limited to 'etc/sh/rc')
-rw-r--r-- | etc/sh/rc | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -291,7 +291,9 @@ f() { r() { . ~/.profile - xset r rate 225 100 + if [ -n "$DISPLAY" ]; then + xset r rate 225 100 + fi } _edit_without_executing() { @@ -334,7 +336,9 @@ if [ -r "$F" ]; then . "$F" fi - +if [ -n "$DISPLAY" ]; then + xset s 300 +fi # # From here on, bash-specific things. |