Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.
/ Gn Public archive

Good night app . Using C and Python .

License

Notifications You must be signed in to change notification settings

BlackIQ/Gn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gn !

Gn ( Good nigh ) is a simple app that you can clone it into /home/user , compile main.c , copy binary file into /bin and run it by command .


Ok lets start

  • Clone into ~
cd ~
git clone https://github.com/BlackIQ/Gn
cd Gn
  • Compile main.c
gcc main.c
  • Rename a.out to Gn
mv a.out Gn
  • Copy Gn to /bin
sudo cp -r Gn /bin
  • Run Gn command
Gn

There are some stuff you can change

  • In C file you can change where you put your Python File (Line 5) :
system("python3 ~/Gn/main.py");
  • In python file you can change where are your music (Line 13) :
system('mpg123 ~/Gn/Music/*.mp3')