config/qtile: add rofi keys

This commit is contained in:
Infinidoge 2021-11-01 11:59:06 -04:00
parent 4c6f9ab85d
commit 731942bbc9

View file

@ -248,6 +248,8 @@ keys = [
lazy.spawn("xsecurelock"),
desc="Lock Screen",
),
# Keys for spawning commands or applications
Key(
[Keys.SUPER], "r",
lazy.spawncmd(),
@ -258,6 +260,16 @@ keys = [
lazy.spawncmd(prompt="shell", command=Apps.terminal_command("%s", args=("--hold",))),
desc="Spawn a command in a shell using a prompt widget",
),
Key(
[Keys.SUPER, Keys.CONTROL], "r",
lazy.spawn("rofi -show drun"),
desc="Spawn a rofi menu to select a desktop application to open",
),
Key(
[Keys.SUPER, Keys.CONTROL, Keys.SHIFT], "r",
lazy.spawn("rofi -show run"),
desc="Spawn something in the path",
),
# Power management
KeyChord(