Move kde utils to own source file

master
Jacopo De Simoi 3 years ago
parent fe8296d646
commit 2b93a188d5
  1. 8
      zshrc.org

@ -73,7 +73,9 @@ Define a number of KDE helpers.
The other two swap between build and src dirs on my local git checkout
#+begin_src sh
#+begin_src sh :tangle kde-utils.sh
#!/bin/zsh
kde-current-activity () {
qdbus >/dev/null && kactivities-cli --current-activity | awk {'print $2'}
}
@ -93,6 +95,10 @@ The other two swap between build and src dirs on my local git checkout
}
#+end_src
#+begin_src sh
source ~/scripts/kde-utils.sh
#+end_src
**** TODO See if we can use zsh expansion instead of sed
*** Android helpers :daily:

Loading…
Cancel
Save