From 5f8555e62fab55ee2e5b96b6679cef3c42b2454b Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Wed, 8 Jul 2015 17:07:38 +0200 Subject: [PATCH] Adding a screen lock shortcut. --- .config/qtile/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/qtile/config.py b/.config/qtile/config.py index f6c1870..4b303b3 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -65,6 +65,7 @@ class ConfigWrapper: self._add_key('Left', lazy.screen.prev_group()) self._add_key('w', lazy.window.kill()) 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.restart(), extra_mod='control') self._add_key('q', lazy.shutdown(), extra_mod='control')