nix/home/qtile-desktop: switch to gnome-terminal

For some reason roxterm terminates all instances when terminating a
single one.
This commit is contained in:
steveej 2019-03-31 22:53:01 +02:00
parent 563fb4da5f
commit 2dfe4313bd

View file

@ -31,9 +31,10 @@ let
exit 1
;;
esac
'';
terminal = "${pkgs.gnome3.gnome_terminal}/bin/gnome-terminal";
qtileConfig = pkgs.writeScript "qtile_config.py" ''
from libqtile.config import Key, Screen, Group, Drag, Click
from libqtile.command import lazy
@ -97,9 +98,9 @@ key_control = "control"
keys = [
# https://github.com/qtile/qtile/blob/develop/libqtile/xkeysyms.py
Key([key_super], "Return", lazy.spawn("${pkgs.roxterm}/bin/roxterm")),
Key([key_super], "backslash", lazy.spawn("${pkgs.roxterm}/bin/roxterm")),
Key([key_super], "apostrophe", lazy.spawn("${pkgs.roxterm}/bin/roxterm")),
Key([key_super], "Return", lazy.spawn("${terminal}")),
Key([key_super], "backslash", lazy.spawn("${terminal}")),
Key([key_super], "apostrophe", lazy.spawn("${terminal}")),
Key([key_super], "r", lazy.spawncmd()),
Key([key_super], "w", lazy.window.kill()),