home: alacritty -> foot
This commit is contained in:
parent
6626a9e174
commit
b1f18fef38
7 changed files with 13 additions and 30 deletions
|
@ -5,7 +5,6 @@
|
|||
...
|
||||
}: {
|
||||
imports = map (n: ../../../../home/applications/${n}) [
|
||||
"alacritty"
|
||||
"go"
|
||||
"mpv"
|
||||
"nix"
|
||||
|
@ -32,11 +31,4 @@
|
|||
dockutil
|
||||
gawk
|
||||
];
|
||||
|
||||
# macOS don't have fontconfig
|
||||
programs = let
|
||||
monospace = "JetBrainsMono Nerd Font";
|
||||
in {
|
||||
alacritty.settings.font.normal.family = monospace;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
skhd = {
|
||||
enable = true;
|
||||
skhdConfig = ''
|
||||
# FIXME
|
||||
cmd - return : open -n ${pkgs.alacritty}/Applications/Alacritty.app
|
||||
|
||||
cmd - 1 : yabai -m space --focus 1 # Focus space
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
cursor.style = "beam";
|
||||
font.size = 10;
|
||||
|
||||
# workaround for scaling in X11
|
||||
env.WINIT_X11_SCALE_FACTOR = "1";
|
||||
|
||||
# for zellij on macOS
|
||||
window.option_as_alt = lib.mkIf pkgs.stdenv.hostPlatform.isDarwin "Both";
|
||||
};
|
||||
};
|
||||
}
|
9
home/applications/foot/default.nix
Normal file
9
home/applications/foot/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main.font = "monospace:size=10";
|
||||
cursor.style = "beam";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -7,7 +7,7 @@
|
|||
enable = true;
|
||||
package = pkgs.rofi-wayland;
|
||||
font = "monospace";
|
||||
terminal = lib.getExe pkgs.alacritty;
|
||||
terminal = lib.getExe pkgs.foot;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [rofi-power-menu];
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
|
||||
### Execute other stuff
|
||||
# Launch applications
|
||||
"${modifier}+Return" = "exec alacritty";
|
||||
"${modifier}+Return" = "exec ${lib.getExe pkgs.foot}";
|
||||
"${modifier}+w" = "exec ${pkgs.xdg-utils}/bin/xdg-open http:";
|
||||
"${modifier}+e" = "exec ${pkgs.xdg-utils}/bin/xdg-open ~";
|
||||
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
./xdg-mime.nix
|
||||
]
|
||||
++ map (n: ../../../../../home/applications/${n}) [
|
||||
"alacritty"
|
||||
"fcitx5"
|
||||
"firefox"
|
||||
"foot"
|
||||
"go"
|
||||
"mpv"
|
||||
"nautilus"
|
||||
|
|
Loading…
Reference in a new issue