cnfgs
This commit is contained in:
@@ -80,6 +80,8 @@
|
||||
];
|
||||
};
|
||||
|
||||
sessionVariables = { EDITOR = "nvim"; };
|
||||
|
||||
shellAliases = {
|
||||
ll = "ls -lh";
|
||||
la = "ls -la";
|
||||
@@ -177,6 +179,7 @@
|
||||
|
||||
printf "--- Hi, %s! ---\n" "$USER"
|
||||
printf "Battery: %s%%\n" "$(cat /sys/class/power_supply/BAT0/capacity 2>/dev/null || echo "N/A")"
|
||||
printf "Time: %s\n" "$(date +"%H:%M:%S")"
|
||||
printf "Time you live: %s years :)\n" "$(python3 -c "from datetime import datetime; age_years = (datetime.now() - datetime(2006, 6, 16)).total_seconds() / (365.25 * 24 * 3600); print(f'{age_years:.10f}')")"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user