Remove one script
This commit is contained in:
parent
b20cb55579
commit
e3fba965d1
@ -550,27 +550,6 @@ The sed piece just removes the colon from the provided prompt: =rofi -p= already
|
||||
buku -p -f 3 | sed 's/\t/ /g' | dmenu -i -l 20 | cut -d ' ' -f 1 | xargs --no-run-if-empty buku -o
|
||||
#+END_SRC
|
||||
|
||||
* notifToggle
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/bin/notifToggle
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||
:END:
|
||||
|
||||
#+begin_src bash
|
||||
tmpfile="/tmp/dunststatus";
|
||||
|
||||
if [ -f $tmpfile ]; then
|
||||
if grep -q "on" $tmpfile; then
|
||||
killall -SIGUSR1 dunst && echo "off" > $tmpfile;
|
||||
elif grep -q "off" $tmpfile; then
|
||||
killall -SIGUSR2 dunst && echo "on" > $tmpfile;
|
||||
fi
|
||||
else
|
||||
killall -SIGUSR1 dunst && echo "off" > $tmpfile;
|
||||
fi
|
||||
#+end_src
|
||||
|
||||
* Take Screenshot
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/bin/screenshot
|
||||
|
Loading…
Reference in New Issue
Block a user