Add screenshots
15
README.md
|
@ -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
|
||||

|
||||

|
||||
### g
|
||||

|
||||

|
||||
### a
|
||||

|
||||

|
||||
### r
|
||||

|
||||
|
|
4
s
|
@ -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
|
||||
|
|
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 1.5 MiB |
After Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 249 KiB |