diff --git a/README.md b/README.md index 24f07ca..1f16516 100644 --- a/README.md +++ b/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 +![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) diff --git a/VERSION b/VERSION index 5625e59..7e32cd5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2 +1.3 diff --git a/s b/s index 5cf5b8a..2bfd80b 100755 --- a/s +++ b/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 diff --git a/screenshots/2024-03-16-191200_847x602_scrot.png b/screenshots/2024-03-16-191200_847x602_scrot.png new file mode 100644 index 0000000..5244034 Binary files /dev/null and b/screenshots/2024-03-16-191200_847x602_scrot.png differ diff --git a/screenshots/2024-03-16-191212_753x423_scrot.png b/screenshots/2024-03-16-191212_753x423_scrot.png new file mode 100644 index 0000000..56327a4 Binary files /dev/null and b/screenshots/2024-03-16-191212_753x423_scrot.png differ diff --git a/screenshots/2024-03-16-191235_719x514_scrot.png b/screenshots/2024-03-16-191235_719x514_scrot.png new file mode 100644 index 0000000..6ef4f97 Binary files /dev/null and b/screenshots/2024-03-16-191235_719x514_scrot.png differ diff --git a/screenshots/2024-03-16-191251_1897x1003_scrot.png b/screenshots/2024-03-16-191251_1897x1003_scrot.png new file mode 100644 index 0000000..89210f6 Binary files /dev/null and b/screenshots/2024-03-16-191251_1897x1003_scrot.png differ diff --git a/screenshots/2024-03-16-192529_1883x1000_scrot.png b/screenshots/2024-03-16-192529_1883x1000_scrot.png new file mode 100644 index 0000000..f8c6698 Binary files /dev/null and b/screenshots/2024-03-16-192529_1883x1000_scrot.png differ diff --git a/screenshots/2024-03-16-192537_749x517_scrot.png b/screenshots/2024-03-16-192537_749x517_scrot.png new file mode 100644 index 0000000..f7bd381 Binary files /dev/null and b/screenshots/2024-03-16-192537_749x517_scrot.png differ diff --git a/screenshots/2024-03-16-192622_1882x215_scrot.png b/screenshots/2024-03-16-192622_1882x215_scrot.png new file mode 100644 index 0000000..462618e Binary files /dev/null and b/screenshots/2024-03-16-192622_1882x215_scrot.png differ