qtile: don't restart after calling autorandr

qtile implemented to adapt screen changes ad-hoc and doesn't require
restarts
This commit is contained in:
steveej 2021-11-01 15:12:55 +01:00
parent 4619409cbb
commit 5806ae0678

View file

@ -149,8 +149,7 @@ keys = [
Key([key_alt, key_super], "l", lazy.spawn('${pkgs.bash}/bin/sh -c "loginctl lock-session $XDG_SESSION_ID"')),
Key([key_alt, key_super], "s", lazy.spawn("${pkgs.systemd}/bin/systemctl suspend")),
# Key([key_super, key_control], "r", lazy.restart()),
Key([key_super, key_control], "r", lazy.spawn("${pkgs.autorandr}/bin/autorandr -c && ${dpmsScript} default"), lazy.restart()),
Key([key_super, key_control], "r", lazy.spawn("${pkgs.autorandr}/bin/autorandr -c && ${dpmsScript} default")),
Key([key_super, key_control], "q", lazy.shutdown()),
# Toggle between different layouts as defined below