Show tmux sock instead of date in status-right
[khome.git] / home / .xlaunch.d / dunst
1 #! /bin/sh
2
3 set -e
4
5 # XXX dunst lazily started by dbus, but need to remove competing notification systems, like:
6 #
7 # $ grep -rIHn 'org.freedesktop.Notifications' /usr/share/dbus-1/services
8 # $ sudo rm /usr/share/dbus-1/services/org.freedesktop.mate.Notifications.service
9 #
10 #dunst --startup_notification -conf ~/.config/dunst/dunstrc
11
12 # Initially dunst is started before hidpi settings are complete, so we need to
13 # restarted it after they have done so.
14
15 # Hope this is enough for the initial dunst start to have been triggered.
16 sleep 1
17
18 # XXX Not using pkill to avoid killing self, which is expected to be named dunst as well.
19 ps -eo pid,cmd | awk '$2 ~ /\/usr\/bin\/dunst\>/ {print $1}' | xargs -I% kill %
20
21 # Hope this is enough for hidpi stuff to finish setting.
22 sleep 1
23
24 # Now dunst should start scaled:
25 dunst --startup_notification
This page took 0.068653 seconds and 4 git commands to generate.