home: Switch from foot to kitty

This commit is contained in:
fleaz 2023-01-13 00:50:53 +01:00
parent fc8eaab5d4
commit 5c393b3e4a
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
2 changed files with 18 additions and 31 deletions

View file

@ -3,7 +3,7 @@
let let
home-manager = (import ../nix/sources.nix).home-manager; home-manager = (import ../nix/sources.nix).home-manager;
unstable = import <nixos-unstable> {}; unstable = import <nixos-unstable> {};
fontSize = hiDPI : if hiDPI then "FiraCode:size=14" else "FiraCode:size=8"; fontSize = hiDPI : if hiDPI then 14 else 8;
in in
{ {
imports = [ imports = [
@ -93,7 +93,6 @@ in
mako mako
sway-contrib.grimshot sway-contrib.grimshot
albert albert
foot
wofi wofi
unzip unzip
whois whois
@ -286,35 +285,22 @@ in
# Enable blueman-applet when the machine has bluetooth enabled # Enable blueman-applet when the machine has bluetooth enabled
services.blueman-applet.enable = config.hardware.bluetooth.enable == true; services.blueman-applet.enable = config.hardware.bluetooth.enable == true;
programs.foot = { programs.kitty = {
enable = true; enable = true;
font = {
name = "Fira Code";
size = fontSize config.my.highDPI;
};
settings = { settings = {
main = { disable_ligatures = "always";
term = "xterm-256color"; scrollback_lines = 50000;
font = fontSize config.my.highDPI; detect_urls = true;
}; url_color = "#0087bd";
scrollback = { lines = 100000; }; url_style = "curly";
colors = { copy_on_select = "clipboard";
alpha = "0.98"; confirm_os_window_close = 0;
foreground = "B3B1AD"; background_opacity = "0.98";
background = "0A0E14"; background = "#0A0E14";
regular0 = "01060E";
regular1 = "EA6C73";
regular2 = "91B362";
regular3 = "F9AF4F";
regular4 = "53BDFA";
regular5 = "FAE994";
regular6 = "90E1C6";
regular7 = "C7C7C7";
bright0 = "686868";
bright1 = "F07178";
bright2 = "C2D94C";
bright3 = "FFB454";
bright4 = "59C2FF";
bright5 = "FFEE99";
bright6 = "95E6CB";
bright7 = "FFFFFF";
};
}; };
}; };

View file

@ -38,7 +38,7 @@ in
gaps = { inner = 8; }; gaps = { inner = 8; };
window.border = 0; window.border = 0;
workspaceAutoBackAndForth = true; workspaceAutoBackAndForth = true;
terminal = "foot"; terminal = "kitty";
bars = [{ command = "${pkgs.waybar}/bin/waybar"; }]; bars = [{ command = "${pkgs.waybar}/bin/waybar"; }];
@ -61,8 +61,9 @@ in
playerctl = "${pkgs.playerctl}/bin/playerctl"; playerctl = "${pkgs.playerctl}/bin/playerctl";
in in
{ {
"${mod}+Return" = "exec foot"; "${mod}+Return" = "exec kitty";
"${mod}+p" = "exec ${pkgs.wofi}/bin/wofi --show drun"; "${mod}+p" = "exec ${pkgs.wofi}/bin/wofi --show drun";
"${mod}+Shift+p" = "exec ${pkgs.albert}/bin/albert toggle";
"${mod}+Shift+c" = "reload"; "${mod}+Shift+c" = "reload";
"${mod}+Shift+q" = "kill"; "${mod}+Shift+q" = "kill";