aboutsummaryrefslogtreecommitdiff
path: root/fvwm/.fvwm/fvwmscript/org-clock
blob: 175d0bad0efa8ea71b8aadc2e51498d8d9ee972c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
WindowTitle {Org-Clock}
WindowSize  1000 30
Font "xft:Iosevka Comfy Motion:Thin:size=20"

Init
 Begin
  Set $task = (GetOutput {exec emacsclient --eval '(bard/org-clock-task-string)'} 1 -1)
  ChangeTitle 1 $task
End

PeriodicTasks
 Begin
  If (RemainderOfDiv (GetTime) 15)==0 Then
  Begin
   Set $task = (GetOutput {exec emacsclient --eval '(bard/org-clock-task-string)'} 1 -1)
   ChangeTitle 1 $task
  End
End

Widget 1
Property
 Position 0 0
 Size 1000 30
 Font "xft:Iosevka Comfy Motion:Thin:size=20"
 Type ItemDraw
 Flags NoReliefString
 Title {}
Main
 Case message of
  SingleClic :
  Begin
  End
End