nixos-config/modules/workspace/i3blocks/scripts/emacs.nix

5 lines
163 B
Nix
Raw Normal View History

2020-02-17 17:00:59 +04:00
{...}: ''
[[ $BLOCK_BUTTON -eq 2 ]] && emacsclient --eval "(org-clock-out)" > /dev/null
emacsclient --eval "org-mode-line-string" | head -1 | cut -d\" -f 2
''