fix(sway): Change default terminal to alacritty
Wezterm doesn't work well in sway-git
This commit is contained in:
parent
c9b2415384
commit
0430bc9878
3 changed files with 26 additions and 12 deletions
|
@ -2,8 +2,15 @@
|
|||
let
|
||||
cfg = config.jhome.gui.sway;
|
||||
modifier = "Mod4";
|
||||
terminal = "wezterm";
|
||||
menu = "${pkgs.fuzzel}/bin/fuzzel --terminal 'wezterm start'";
|
||||
terminal = config.jhome.gui.terminal;
|
||||
termCmd =
|
||||
if terminal == "wezterm" then
|
||||
"wezterm start"
|
||||
else if terminal == "alacritty" then
|
||||
"alacritty -e"
|
||||
else
|
||||
builtins.abort "no command configured for ${terminal}";
|
||||
menu = "${pkgs.fuzzel}/bin/fuzzel --terminal '${termCmd}'";
|
||||
# currently, there is some friction between sway and gtk:
|
||||
# https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland
|
||||
# the suggested way to set gtk settings is with gsettings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue