summaryrefslogtreecommitdiffstats
path: root/mowedline
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-06-17 10:59:48 +0200
committerGravatar Tom Willemse2015-06-17 10:59:48 +0200
commit609a0e2ddb6d05c4ae815cc3caff7d66a267a378 (patch)
tree08acf5ead17758de85990103bc6bb67813c4d85e /mowedline
parenta12a5ed261a86adc13ec776feef679793567853a (diff)
downloaddotfiles-609a0e2ddb6d05c4ae815cc3caff7d66a267a378.tar.gz
dotfiles-609a0e2ddb6d05c4ae815cc3caff7d66a267a378.zip
Remove commented functions
Diffstat (limited to 'mowedline')
-rw-r--r--mowedline/.config/mowedline/init.scm36
1 files changed, 0 insertions, 36 deletions
diff --git a/mowedline/.config/mowedline/init.scm b/mowedline/.config/mowedline/init.scm
index 524f667..c742151 100644
--- a/mowedline/.config/mowedline/init.scm
+++ b/mowedline/.config/mowedline/init.scm
@@ -3,42 +3,6 @@
text
(string-append " " text)))
-;; (define (buttonize-workspaces text)
-;; (cons
-;; (if (string-prefix? "[" text) "" " ")
-;; (fold
-;; (lambda (token markup)
-;; (cons
-;; " "
-;; (cons
-;; (cond
-;; ((string-prefix? "#" token) ;; current owrkspace
-;; token)
-;; ((string-prefix? "!" token) ;; urgency notification
-;; (let ((ws (string-drop token 1)))
-;; `(button (lambda () (switch-to-desktop ,ws))
-;; (color (1 0 0 1) ,ws))))
-;; (else
-;; `(button (lambda () (switch-to-desktop ,token))
-;; ,token)))
-;; markup)))
-;; '()
-;; (reverse (string-tokenize text)))))
-
-;; (define (colorize-clock text)
-;; (list
-;; " "
-;; (let ((m (string-match
-;; '(: (submatch (* any))
-;; (submatch numeric numeric ":" numeric numeric)
-;; (submatch (* any)))
-;; text)))
-;; (cond
-;; (m (set! (third m) `(color (.73 .73 .81 1) ,(third m)))
-;; (cdr m))
-;; (else text)))
-;; " "))
-
(text-widget-font "Fantasque Sans Mono-10:bold")
(text-widget-color "#bfbfbf")
(text-widget-format string-maybe-pad-left)