Update fish/tide and some minor tweaks

This commit is contained in:
Natsu Kagami 2023-04-16 12:49:10 +02:00
parent 5f0b599ca6
commit 341216cd94
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
5 changed files with 9 additions and 6 deletions

View file

@ -42,8 +42,8 @@
# Fonts # Fonts
fantasque-sans-mono fantasque-sans-mono
## Enable the FSM font with NF variant ## Get the nerd font symbols
(nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
# CLI tools # CLI tools
fd fd

View file

@ -166,8 +166,9 @@
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "IlanCosman"; owner = "IlanCosman";
repo = "tide"; repo = "tide";
rev = "3787c725f7f6a0253f59a2c0e9fde03202689c6c"; rev = "447945d2cff8f70d5c791dd4eec8b322d37798dd";
sha256 = "00zsib1q21bgxffjlyxf5rgcyq3h1ixwznwvid9k6mkkmwixv9lj"; # sha256 = lib.fakeSha256;
sha256 = "sha256-1c2E3UC3r9hPfijAQoZ/+4yXieFxC4+hkk7wUyr30NM=";
}; };
} }
{ {

View file

@ -11,8 +11,9 @@ in
config.programs.fish = mkIf cfg.enable { config.programs.fish = mkIf cfg.enable {
functions._tide_item_nix_shell = '' functions._tide_item_nix_shell = ''
# In a Nix Shell
if string match -q "/nix/store/*" $PATH if string match -q "/nix/store/*" $PATH
set -U tide_nix_shell_color blue set -U tide_nix_shell_color (set -q DIRENV_DIR && echo "FFA500" || echo "blue")
set -U tide_nix_shell_bg_color normal set -U tide_nix_shell_bg_color normal
_tide_print_item nix_shell "" _tide_print_item nix_shell ""
end end

View file

@ -34,6 +34,7 @@
programs.my-sway.enableMpd = true; programs.my-sway.enableMpd = true;
# Keyboard options # Keyboard options
wayland.windowManager.sway.config.input."type:keyboard".xkb_layout = "jp"; wayland.windowManager.sway.config.input."type:keyboard".xkb_layout = "jp";
wayland.windowManager.sway.config.input."type:pointer".accel_profile = "flat";
# 144hz adaptive refresh ON! # 144hz adaptive refresh ON!
wayland.windowManager.sway.config.output = wayland.windowManager.sway.config.output =
let let

View file

@ -25,7 +25,7 @@ in
fonts = with pkgs; [ fonts = with pkgs; [
noto-fonts-emoji-blob-bin noto-fonts-emoji-blob-bin
ibm-plex ibm-plex
(nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
noto-fonts noto-fonts
noto-fonts-cjk noto-fonts-cjk
merriweather merriweather