[bin] Fix org-clock out for suspend-if-docked
This commit is contained in:
parent
6b79dcba1b
commit
0771d79dc5
|
@ -9,7 +9,6 @@ if thinkpad-is-docked; then
|
|||
if [[ $(emacsclient -n -e "(org-clocking-p)") == "t" ]]; then
|
||||
notify-send "OrgMode $(org-get-current-clock-task)" "Clocking out of current task because of inactivity."
|
||||
org-clock-out
|
||||
|
||||
doas /run/current-system/sw/bin/systemctl suspend;
|
||||
fi;
|
||||
doas /run/current-system/sw/bin/systemctl suspend;
|
||||
fi;
|
||||
|
|
Loading…
Reference in New Issue