mirror of
https://github.com/EdenQwQ/nixos.git
synced 2025-12-26 18:34:56 +08:00
fish 4.0; use comic code; add swhkd
This commit is contained in:
parent
03adcc38d4
commit
5e51149369
14 changed files with 125 additions and 8 deletions
|
|
@ -30,11 +30,17 @@
|
|||
maplocalleader = " ";
|
||||
have_nerd_font = true;
|
||||
};
|
||||
highlightOverride = {
|
||||
highlightOverride = with config.lib.stylix.colors.withHashtag; {
|
||||
CursorLineNr = {
|
||||
bg = "#${config.lib.stylix.colors.base01}";
|
||||
fg = "#${config.lib.stylix.colors.base06}";
|
||||
bg = base01;
|
||||
fg = base06;
|
||||
};
|
||||
Comment.italic = true;
|
||||
Comment.fg = base03;
|
||||
Boolean.italic = true;
|
||||
Boolean.fg = base0E;
|
||||
String.italic = true;
|
||||
String.fg = base0B;
|
||||
# LineNrAbove = {
|
||||
# bg = "#${config.lib.stylix.colors.base00}";
|
||||
# fg = "#${config.lib.stylix.colors.base06}";
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
programs = {
|
||||
fish = {
|
||||
enable = true;
|
||||
package = inputs.nixpkgs-fish.legacyPackages.${pkgs.system}.fish;
|
||||
shellAbbrs = {
|
||||
nixu = "nh os switch --ask";
|
||||
homeu = "nh home switch --ask";
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@
|
|||
symbol = ' '
|
||||
|
||||
[custom.flake]
|
||||
command = "nix flake metadata --quiet --json | jq .description --raw-output"
|
||||
command = "cat flake.nix | grep description | cut -d\" -f2"
|
||||
style = "bg:overlay fg:pine"
|
||||
format = " [](fg:overlay)[ $symbol$output ]($style)[](fg:overlay)"
|
||||
disabled = false
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
window_padding_width = "10 20 10 20";
|
||||
cursor_trail = 1;
|
||||
cursor_trail_start_threshold = 0;
|
||||
font_family = lib.mkForce "Comic Code";
|
||||
};
|
||||
extraConfig = ''
|
||||
map ctrl+shift+p kitten hints --type path --program @
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ in
|
|||
fonts = {
|
||||
monospace.name = "Comic Mono";
|
||||
monospace.package = pkgs.comic-mono;
|
||||
sizes.terminal = 13;
|
||||
sansSerif.name = "LXGW WenKai";
|
||||
sansSerif.package = pkgs.lxgw-wenkai;
|
||||
serif.name = "LXGW WenKai";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue