Use timg instead of imgcat

This commit is contained in:
Natsu Kagami 2022-06-07 17:27:18 -04:00
parent f61f93540f
commit 29cc54c636
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -5,6 +5,8 @@
./tide/nix-shell.nix
];
home.packages = [ pkgs.timg ];
programs.fish = {
enable = true;
package = pkgs.unstable.fish;
@ -33,14 +35,14 @@
# Gnome-keyring startup
if type -q gnome-keyring-daemon
set -x (gnome-keyring-daemon --start | string split "=")
set -x (gnome-keyring-daemon | string split "=")
end
'';
interactiveShellInit = ''
function fish_greeting
${pkgs.imgcat}/bin/imgcat ${./arona.jpg}
printf (env LANG=ja_JP date +"\n%A%Y%m%d%H%M \n\n")
${pkgs.timg}/bin/timg ${./arona.jpg}
printf (env LANG=ja_JP.UTF-8 date +"\n%A%Y%m%d%H%M \n\n")
end
# Set up an editor alias