Adding a screen lock shortcut.
This commit is contained in:
parent
16da32d9d9
commit
5f8555e62f
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ class ConfigWrapper:
|
||||||
self._add_key('Left', lazy.screen.prev_group())
|
self._add_key('Left', lazy.screen.prev_group())
|
||||||
self._add_key('w', lazy.window.kill())
|
self._add_key('w', lazy.window.kill())
|
||||||
self._add_key('Return', lazy.spawn(self.term))
|
self._add_key('Return', lazy.spawn(self.term))
|
||||||
|
self._add_key('l', lazy.spawn('xscreensaver-command --lock'))
|
||||||
self._add_key('r', lazy.spawncmd())
|
self._add_key('r', lazy.spawncmd())
|
||||||
self._add_key('r', lazy.restart(), extra_mod='control')
|
self._add_key('r', lazy.restart(), extra_mod='control')
|
||||||
self._add_key('q', lazy.shutdown(), extra_mod='control')
|
self._add_key('q', lazy.shutdown(), extra_mod='control')
|
||||||
|
|
Loading…
Reference in a new issue