diff --git a/zshrc.org b/zshrc.org index b2d7a34..ebbbfe4 100644 --- a/zshrc.org +++ b/zshrc.org @@ -97,6 +97,14 @@ The other two swap between build and src dirs on my local git checkout } #+end_src +Send a message through OSD + +#+begin_src sh :tangle kde-utils.sh + kde-osd-message() { + qdbus org.freedesktop.Notifications /org/kde/osdService org.kde.osdService.showText alert $1 + } +#+end_src + #+begin_src sh source ~/scripts/kde-utils.sh #+end_src