[qtile] Added screenshot functionality to Print key

This commit is contained in:
Marcel Kapfer 2020-08-10 10:58:08 +02:00
parent 6b6d962643
commit d41f1de51b
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
1 changed files with 3 additions and 0 deletions

View File

@ -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"]