Skip to content

Commit

Permalink
polished more
Browse files Browse the repository at this point in the history
  • Loading branch information
augustotx committed Nov 29, 2023
1 parent dc57020 commit 6906833
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.vscode/*
.vscode/
idleterm
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,30 @@
# idleterm
Idle terminal screen made for fun (c++)

I made idleterm to have something similar to [unimatrix](https://github.com/will8211/unimatrix) but made in C++ and a lot simpler, because I wanted an idle terminal screen running on very low-end devices. It currently is only tested on Linux, so feel free to make a windows version and talk to me if you want it to be on the main repo.
## Dependencies

The libx11-dev headers and libxrandr-dev packages, as well as g++ and libg++ to compile the code.

Ubuntu:
```bash
sudo apt install libx11-dev libxrandr-dev g++ libg++
```
Arch: if you use X11 and have Xrandr installed, the libs should be there.
```
sudo pacman -Sy gcc xorg-server xorg-xrandr --needed
```
## Installation

On any linux distro, just git clone the repo and run the install script (uses sudo to install it on the right folder)

```bash
git clone https://github.com/augustopereiratx/idleterm
cd idleterm
./install.sh
```

To run it, run `idleterm`. I recommend reading the help prompt by using the `-h` flag.
## Screenshots

![Program running in Kitty terminal](assets/1.png)
![Program running in Kitty terminal again](assets/2.png)
Binary file added assets/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion func.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,5 @@ void helpmsg()
cout << "OPTIONAL ARGUMENTS\n";
cout << " -c Color: red, green, yellow, blue, magenta [default], cyan, white\n";
cout << " -s Speed: from 1 to 100 [default], in percentage\n";
}
cout << " -l Character list: e.g. \"!@#$%&*<>()\" [default]";
}
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

bash buildlinux.sh
sudo mv idleterm /usr/bin/
echo "Installation done!"

0 comments on commit 6906833

Please sign in to comment.