diff --git a/dot_config/alacritty/alacritty.toml b/dot_config/alacritty/alacritty.toml deleted file mode 100644 index 5ac8290..0000000 --- a/dot_config/alacritty/alacritty.toml +++ /dev/null @@ -1,8 +0,0 @@ -[font] -size = 13 - -[font.normal] -family = "Hasklug Nerd font" - -[window] -option_as_alt = "Both" diff --git a/dot_config/alacritty/alacritty.toml.tmpl b/dot_config/alacritty/alacritty.toml.tmpl new file mode 100644 index 0000000..e2885c4 --- /dev/null +++ b/dot_config/alacritty/alacritty.toml.tmpl @@ -0,0 +1,12 @@ +[font] +size = 13 + +[font.normal] +{{- if eq .chezmoi.os "darwin"}} +family = "Hasklug Nerd font" +{{- else if eq .chezmoi.os "linux" }} +family = "Cascadia Code" +{{- end }} + +[window] +option_as_alt = "Both" diff --git a/dot_config/hypr/hyprland.conf b/dot_config/hypr/hyprland.conf index 252f577..d018813 100644 --- a/dot_config/hypr/hyprland.conf +++ b/dot_config/hypr/hyprland.conf @@ -104,7 +104,7 @@ windowrulev2 = tile,class:^(dev.warp.Warp)$ $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more -bind = $mainMod, Return, exec, warp-terminal +bind = $mainMod, Return, exec, alacritty bind = $mainMod, q, killactive, bind = $mainMod, BackSpace, exit, bind = $mainMod, E, exec, thunar