2020-07-27 01:16:19 +04:00
|
|
|
{ config, ... }:
|
|
|
|
let ec = "${config.home-manager.users.balsoft.programs.emacs.finalPackage}/bin/emacsclient";
|
|
|
|
in
|
|
|
|
''
|
|
|
|
[[ $BLOCK_BUTTON -eq 2 ]] && ${ec} --eval "(org-clock-out)" > /dev/null
|
|
|
|
${ec} --eval "org-mode-line-string" | head -1 | cut -d\" -f 2
|
2020-02-17 17:00:59 +04:00
|
|
|
''
|