Revert "home: Switch from foot to kitty"

This reverts commit 5c393b3e4a.
This reverts commit c49674d35f.
This commit is contained in:
fleaz 2023-01-20 11:47:20 +01:00
parent bd053e9063
commit ac53db2be0
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
2 changed files with 31 additions and 22 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 14 else 8; fontSize = hiDPI : if hiDPI then "FiraCode:size=14" else "FiraCode:size=8";
in in
{ {
imports = [ imports = [
@ -93,6 +93,7 @@ in
mako mako
sway-contrib.grimshot sway-contrib.grimshot
albert albert
foot
wofi wofi
unzip unzip
whois whois
@ -287,26 +288,35 @@ 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.kitty = { programs.foot = {
enable = true; enable = true;
theme = "Argonaut";
environment = {
"TERM" = "xterm-256color";
};
font = {
name = "Fira Code";
size = fontSize config.my.highDPI;
};
settings = { settings = {
disable_ligatures = "always"; main = {
scrollback_lines = 50000; term = "xterm-256color";
detect_urls = true; font = fontSize config.my.highDPI;
url_color = "#0087bd"; };
url_style = "curly"; scrollback = { lines = 100000; };
copy_on_select = "clipboard"; colors = {
confirm_os_window_close = 0; alpha = "0.98";
background_opacity = "0.98"; foreground = "B3B1AD";
enable_audio_bell = "no"; 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 = "kitty"; terminal = "foot";
bars = [{ command = "${pkgs.waybar}/bin/waybar"; }]; bars = [{ command = "${pkgs.waybar}/bin/waybar"; }];
@ -61,9 +61,8 @@ in
playerctl = "${pkgs.playerctl}/bin/playerctl"; playerctl = "${pkgs.playerctl}/bin/playerctl";
in in
{ {
"${mod}+Return" = "exec kitty"; "${mod}+Return" = "exec foot";
"${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";