10 lines
224 B
Plaintext
10 lines
224 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
ORGDIR="/run/user/1000/org"
|
||
|
|
||
|
# Make sure the directory exists
|
||
|
mkdir -p "${ORGDIR}"
|
||
|
|
||
|
# Trim the resulting quotes from emacs eval response
|
||
|
em -e "(sway-org-clock-indicator)" | tr -d '"' > "${ORGDIR}/current-task"
|