[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

View file

@ -84,6 +84,9 @@ keys = [
Key([mod, "control"], "q", lazy.shutdown()), Key([mod, "control"], "q", lazy.shutdown()),
Key([mod], "r", lazy.spawn("rofi -show run")), Key([mod], "r", lazy.spawn("rofi -show run")),
Key([mod, "shift"], "r", lazy.spawncmd()), Key([mod, "shift"], "r", lazy.spawncmd()),
# Take screenshot
Key([], "Print", lazy.spawn("scrot /home/mmk2410/Pictures/screenshots/")),
] ]
groups = [Group(i) for i in "1234567890"] groups = [Group(i) for i in "1234567890"]