1
Fork 0

Move away from wezterm

This commit is contained in:
prescientmoon 2024-08-05 20:31:34 +02:00
parent afea4bacd0
commit 3a4d400fef
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
19 changed files with 217 additions and 314 deletions
hosts/nixos/common/optional/xorg/xmonad

View file

@ -43,7 +43,7 @@ main =
[ ("M-p", spawn "rofi -show drun"),
("M-g", spawn myBrowser),
("M-d", spawn "Discord"),
("M-v", spawn "wezterm start vimclip"),
("M-v", spawn "$TERMLAUNCH vimclip"),
("M-s", spawn "spectacle -rcb"),
("M-S-s", spawn "spectacle -mcb"),
("M-C-s", spawn "spectacle -ucb"),
@ -61,7 +61,7 @@ main =
myLayoutHook = spacingHook layouts
startupApps = []
-- [ (0, "wezterm"),
-- [ (0, "$TERMSTART"),
-- (1, "firefox"),
-- (2, "Discord")
-- ]

View file

@ -1,6 +1,9 @@
{ config, ... }:
{
imports = [ ../xserver.nix ../touchpad.nix ];
imports = [
../xserver.nix
../touchpad.nix
];
services.xserver = {
enable = true;
@ -9,13 +12,11 @@
enable = true;
enableContribAndExtras = true;
config = builtins.readFile (config.lib.stylix.colors {
template = builtins.readFile ./Main.hs;
});
# TODO: substitute the missing $TERM* variables
config = builtins.readFile (config.lib.stylix.colors { template = builtins.readFile ./Main.hs; });
};
# Proper wallpaper zooming
desktopManager.wallpaper.mode = "fill";
};
}