desktop: switch to alacritty as a terminal
This commit is contained in:
parent
f480ac74a3
commit
9bfeb193df
3 changed files with 22 additions and 8 deletions
|
@ -31,8 +31,11 @@ let
|
|||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
'';
|
||||
# FIXME: alacritty's reflow on grow is currently broken (on my system)
|
||||
terminalCommand = "${pkgs.alacritty}/bin/alacritty";
|
||||
# terminalCommand = "${pkgs.roxterm}/bin/roxterm";
|
||||
|
||||
|
||||
qtileConfig = pkgs.writeScript "qtile_config.py" ''
|
||||
from libqtile.config import Key, Screen, Group, Drag, Click
|
||||
|
@ -97,9 +100,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("${terminalCommand}")),
|
||||
Key([key_super], "backslash", lazy.spawn("${terminalCommand}")),
|
||||
Key([key_super], "apostrophe", lazy.spawn("${terminalCommand}")),
|
||||
Key([key_super], "r", lazy.spawncmd()),
|
||||
Key([key_super], "w", lazy.window.kill()),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue