mirror of
https://github.com/blahai/nyx.git
synced 2025-01-18 19:10:21 +00:00
Home: fish
This commit is contained in:
parent
bd8c46cd26
commit
1decad1cee
1 changed files with 13 additions and 5 deletions
|
@ -7,11 +7,13 @@
|
||||||
|
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
function fish_greeting
|
function fish_greeting
|
||||||
echo The time is (set_color purple; date +%T; set_color purple)
|
if test -z $DEVSHELL_NIX;
|
||||||
if test -z $SSH_CLIENT;
|
echo The time is (set_color purple; date +%T; set_color purple)
|
||||||
fastfetch
|
if test -z $SSH_CLIENT;
|
||||||
else
|
fastfetch
|
||||||
neofetch
|
else
|
||||||
|
neofetch
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
@ -56,6 +58,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
functions = {
|
functions = {
|
||||||
|
os-age = ''
|
||||||
|
function os-age
|
||||||
|
stat / | awk '/Birth: /{print $2 " " substr($3,1,5)}'
|
||||||
|
end
|
||||||
|
'';
|
||||||
|
|
||||||
# Credit for these 3
|
# Credit for these 3
|
||||||
# https://www.reddit.com/r/linux/comments/1fq0za8/comment/lp1ybdn
|
# https://www.reddit.com/r/linux/comments/1fq0za8/comment/lp1ybdn
|
||||||
disks = ''
|
disks = ''
|
||||||
|
|
Loading…
Reference in a new issue