new wm, hyprland gone

This commit is contained in:
Reid 2025-05-18 23:05:26 -07:00
parent 003f37bfbd
commit cb4b22b4e5
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
41 changed files with 1145 additions and 1364 deletions

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, ... }:
{ lib, config, pkgs, inputs, system, ... }:
with lib;
let
@ -9,12 +9,11 @@ in {
package = mkOption {
type = types.package;
default = pkgs.wezterm;
example = "pkgs.wezterm";
};
};
config = mkIf cfg.enable {
environment.variables.TERM = "wezterm";
hm.programs.wezterm = {
enable = true;
package = cfg.package;
@ -28,14 +27,17 @@ in {
local config = {}
config.front_end = "WebGpu"
config.font = wezterm.font '${fonts.monospaceBitmap.family}'
config.font_size = ${toString fonts.monospaceBitmap.size}
config.font = wezterm.font '${fonts.monospace.family}'
-- this is a hack to get the font size to be the same as the bitmap font
-- the size is in px, but wezterm uses pt, so we use a conversion
config.font_size = ${toString fonts.monospace.size} / (4 / 3)
config.freetype_load_flags = 'MONOCHROME'
config.enable_wayland = false
config.enable_wayland = true
config.use_fancy_tab_bar = false
config.use_resize_increments = true
config.initial_cols = 120
config.initial_rows = 40
-- TODO: tiling acting WACK. these just make it even worse
--config.use_resize_increments = true
--config.initial_cols = 120
--config.initial_rows = 40
config.window_background_opacity = 0.8
${config.modules.desktop.themes.wezterm or ""}