mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
removed some bugs and corrected the README
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# used for the terminal autostart. Needs to get cleared and recall fastfetch so that the bar from oh-my-zsh get resized
|
||||
|
||||
{ writeShellApplication, zsh, ... }:
|
||||
|
||||
writeShellApplication {
|
||||
name = "custom-launch";
|
||||
runtimeInputs = [
|
||||
zsh
|
||||
];
|
||||
text = ''
|
||||
sleep 2
|
||||
clear
|
||||
zsh
|
||||
'';
|
||||
}
|
||||
@@ -6,6 +6,9 @@ writeShellApplication {
|
||||
curl
|
||||
];
|
||||
text = ''
|
||||
while true; do curl "https://wttr.in/Prangins?0&d&q&F&lang=fr"; sleep 7200; done
|
||||
while true; do
|
||||
curl "https://wttr.in/?0&d&q&F&lang=fr"
|
||||
sleep 7200
|
||||
done
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user