Add screenshots

This commit is contained in:
Digital Studium 2024-03-16 19:48:00 +03:00
parent ad0b863ab0
commit 24204a9760
10 changed files with 17 additions and 4 deletions

View File

@ -8,6 +8,8 @@ GUI scripts for popular cli tools, based on dialog and fzf
- `s` - for managing systemd services
- `r` - for running named commands from ~/.aliases.txt file
See [Screenshots](#screenshots) section
## Installation
### Ubuntu/Debian-based
Download .deb package from [Releases](https://git.digitalstudium.com/digitalstudium/run/releases), then install it
@ -23,4 +25,15 @@ git clone https://git.digitalstudium.com/digitalstudium/gui-scripts.git
sudo cp gui-scripts/{a,g,s,r} /usr/local/bin/
```
## Screenshots
### s
![Choose service](./screenshots/2024-03-16-191251_1897x1003_scrot.png)
![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)

View File

@ -1 +1 @@
1.2
1.3

4
s
View File

@ -4,9 +4,9 @@ cat > /tmp/.dialogrc << EOL
# Item color
tag_color = (BLACK,WHITE,ON)
EOL
service=$(systemctl list-units --type service --all --plain --quiet | awk '{ print $1 }' | fzf)
service=$(systemctl list-units --type service --all --plain --quiet | awk '{ print $1 }' | fzf --multi --cycle --reverse --preview 'systemctl status {1}')
set +ex
action=$(DIALOGRC=/tmp/.dialogrc dialog --stdout --erase-on-exit --menu "Choose the action for $service" 10 40 0 "Status" 1 "Start" 2 "Stop" 3 "Disable" 4 "Enable" 5)
action=$(DIALOGRC=/tmp/.dialogrc dialog --stdout --erase-on-exit --menu "Choose the action for $service" 10 40 0 "Start" 1 "Stop" 2 "Disable" 3 "Enable" 4)
if [ ! -z $action ]; then

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB