tui-scripts/README.md

41 lines
1.4 KiB
Markdown
Raw Normal View History

2024-03-16 15:43:03 +00:00
# GUI scripts
## Description
GUI scripts for popular cli tools, based on dialog and fzf
## Scripts
2024-03-16 15:51:56 +00:00
- `a` - for managing apt packages
- `g` - for managing git repo
- `s` - for managing systemd services
2024-04-06 14:07:25 +00:00
- `k` - for managing kubernetes (depends on kubectl)
2024-03-16 15:51:56 +00:00
- `r` - for running named commands from ~/.aliases.txt file
2024-03-16 15:43:03 +00:00
2024-03-16 16:48:00 +00:00
See [Screenshots](#screenshots) section
2024-03-16 15:43:03 +00:00
## Installation
2024-03-16 16:02:22 +00:00
### Ubuntu/Debian-based
2024-03-16 15:57:31 +00:00
Download .deb package from [Releases](https://git.digitalstudium.com/digitalstudium/run/releases), then install it
2024-03-16 15:43:03 +00:00
```
2024-04-06 14:43:20 +00:00
sudo apt install ~/Downloads/tui-scripts_*.deb
2024-03-16 15:43:03 +00:00
```
2024-03-16 16:02:22 +00:00
### Other linux distros
Install dependencies: `fzf`, `dialog`, `xdotool`, `x11-xkb-utils`
2024-03-16 15:43:03 +00:00
2024-03-16 16:02:22 +00:00
Then clone this repo and copy all scripts to one of the PATH folder:
```
2024-04-06 14:43:20 +00:00
git clone https://git.digitalstudium.com/digitalstudium/tui-scripts.git
sudo cp tui-scripts/{a,g,s,r,k} /usr/local/bin/
2024-03-16 16:02:22 +00:00
```
2024-03-16 15:43:03 +00:00
2024-03-16 16:48:00 +00:00
## Screenshots
### s
2024-03-17 04:19:40 +00:00
![Choose service](./screenshots/2024-03-16-192529_1883x1000_scrot.png)
2024-03-16 16:48:00 +00:00
![Choose action](./screenshots/2024-03-16-192537_749x517_scrot.png)
### g
![Choose action](./screenshots/2024-03-16-191200_847x602_scrot.png)
![Add commit message](./screenshots/2024-03-16-191212_753x423_scrot.png)
### a
![Choose action](./screenshots/2024-03-16-191235_719x514_scrot.png)
![Choose package](./screenshots/2024-03-16-191251_1897x1003_scrot.png)
### r
![Choose command && run](./screenshots/2024-03-16-192622_1882x215_scrot.png)