aboutsummaryrefslogtreecommitdiff
path: root/fvwm/.fvwm/fvwmscript/org-clock
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2024-08-17 17:10:21 -0400
committerBardofSprites <[email protected]>2024-08-17 17:10:21 -0400
commit4d0ef156bdb0cd0f890608ea73bbf92dde1b2c12 (patch)
tree97c32deb5759827994b0df67f65de9b16e88edcc /fvwm/.fvwm/fvwmscript/org-clock
parent8c41059b88c04b2f15e95004e356ad1bfbe39730 (diff)
org clock status bar
also added changes to prevent moving around the bars
Diffstat (limited to 'fvwm/.fvwm/fvwmscript/org-clock')
-rw-r--r--fvwm/.fvwm/fvwmscript/org-clock33
1 files changed, 33 insertions, 0 deletions
diff --git a/fvwm/.fvwm/fvwmscript/org-clock b/fvwm/.fvwm/fvwmscript/org-clock
new file mode 100644
index 0000000..72bc571
--- /dev/null
+++ b/fvwm/.fvwm/fvwmscript/org-clock
@@ -0,0 +1,33 @@
+WindowTitle {Org-Clock}
+WindowSize 1000 30
+Font "xft:Iosevka Comfy: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:size=20"
+ Type ItemDraw
+ Flags NoReliefString
+ Title {}
+Main
+ Case message of
+ SingleClic :
+ Begin
+ End
+End \ No newline at end of file