From d41f1de51b40055c11275d9f3967f2615bdc9e55 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Mon, 10 Aug 2020 10:58:08 +0200 Subject: [PATCH] [qtile] Added screenshot functionality to Print key --- qtile/config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qtile/config.py b/qtile/config.py index 808ecfb..2a05127 100644 --- a/qtile/config.py +++ b/qtile/config.py @@ -84,6 +84,9 @@ keys = [ Key([mod, "control"], "q", lazy.shutdown()), Key([mod], "r", lazy.spawn("rofi -show run")), Key([mod, "shift"], "r", lazy.spawncmd()), + + # Take screenshot + Key([], "Print", lazy.spawn("scrot /home/mmk2410/Pictures/screenshots/")), ] groups = [Group(i) for i in "1234567890"]