diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-08-04 10:53:09 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-08-04 10:53:09 -0300 |
commit | e599ade1dfb590fc21bfd53a64dcff718ae7b110 (patch) | |
tree | 8422d5fa73a063c9a1079b765853364713b8095f | |
parent | 9627eb1b00e1c21a4d6d37752193969feea1bf14 (diff) | |
download | kvmx-e599ade1dfb590fc21bfd53a64dcff718ae7b110.tar.gz kvmx-e599ade1dfb590fc21bfd53a64dcff718ae7b110.tar.bz2 |
Feat: spice: notification on Awesome VM when a Spice session is triggered
-rw-r--r-- | ChangeLog.md | 11 | ||||
-rwxr-xr-x | kvmx | 5 |
2 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog.md b/ChangeLog.md index 6347bad..668816c 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,12 +2,15 @@ ## 0.3.0 - unreleased -* Improved spice window handling. - * Per-mountpoint mode option (ro, rw). -* Inotify action for watching a folder in the host and issuing commands in the - guest upon change. +* Spice: + * Improved spice window handling. + + * Inotify action for watching a folder in the host and issuing commands in the + guest upon change. + + * Notification on Awesome VM when a Spice session is triggered. ## 0.2.0 - 2024-07-02 @@ -265,6 +265,11 @@ function kvmx_spice { exit 1 fi + # UX + if which awesome-client &> /dev/null; then + echo "naughty.notify({title = \"KVMX:\", text =\"Starting GUI session for $VM\", timeout = 2})" | awesome-client + fi + local spicestring if [ "$spice_client" == "spicy" ] && which spicy &> /dev/null; then |