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
|
|
|
|
- `r` - for running named commands from ~/.aliases.txt file
|
2024-04-01 05:02:59 +00:00
|
|
|
- `f` - open `lf` file manager
|
2024-04-01 04:51:44 +00:00
|
|
|
- `lk` - listen for keys above (except `r`)
|
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-03-16 16:06:40 +00:00
|
|
|
sudo apt install ~/Downloads/gui-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:
|
|
|
|
```
|
|
|
|
git clone https://git.digitalstudium.com/digitalstudium/gui-scripts.git
|
|
|
|
sudo cp gui-scripts/{a,g,s,r} /usr/local/bin/
|
|
|
|
```
|
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)
|