Skip to content

Commit 8f1623c

Browse files
committed
trying to get desktop notifications to work
1 parent bbdf072 commit 8f1623c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,14 @@ jobs:
5555
- name: Install system dependencies
5656
run: |
5757
sudo apt-get update
58-
sudo apt-get install -y pandoc xvfb libnotify-bin
59-
- name: Set up XVFB to handle desktp notifications
58+
sudo apt-get install -y pandoc xvfb libnotify-bin dunst dbus-x11
59+
- name: Set up OS to handle desktop notifications (used in adv.-exec. tutorial)
6060
run: |
6161
Xvfb :99 &
6262
export DISPLAY=:99
63+
eval "$(dbus-launch --sh-syntax)"
64+
dunst &
65+
notify-send "Test Notification"
6366
- uses: actions/checkout@v4
6467
- name: Fetch tags
6568
run: git fetch --prune --unshallow

0 commit comments

Comments
 (0)