diff options
Diffstat (limited to 'oni/home/services/rofi.scm')
-rw-r--r-- | oni/home/services/rofi.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/oni/home/services/rofi.scm b/oni/home/services/rofi.scm index 6cf3928..83a5598 100644 --- a/oni/home/services/rofi.scm +++ b/oni/home/services/rofi.scm @@ -67,8 +67,10 @@ (object->string val)) ((string? val) (let ((color-match (regexp-exec color-regexp val))) - (if (regexp-match? color-match) - val (string-append "\"" val "\"")))) + (if (or (string-prefix? "@" val) + (regexp-match? color-match)) + val + (string-append "\"" val "\"")))) (else val))) (define (format-rofi-config config) @@ -117,7 +119,7 @@ (home-rofi-configuration-config conf)) ;; Apply theme (if (not (eq? (home-rofi-configuration-theme conf) '())) - (list "\n@theme \"guix\"\n") '())))) + (list "\n@import \"guix\"\n") '())))) ("rofi/guix.rasi" ,(mixed-text-file "guix.rasi" |