Changeset 8655 in project


Ignore:
Timestamp:
02/23/08 12:18:15 (12 years ago)
Author:
sjamaan
Message:

Use enscript on the bigger examples

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/wmiirc

    r8653 r8655  
    188188
    189189Example:
     190<enscript highlight=scheme>
    190191  (wmii:colrules-set! '(("www" . (20 80))
    191192                        ("email" . (10 20 70))
    192193                        ("graphics" . 100) ;; can also be (100)
    193194                        (".*" . (30 50 20))))
     195</enscript>
    194196
    195197You can request the current column rules with the following procedure:
     
    210212which are taken to be tagnames. Example:
    211213
    212 (wmii:tagrules-set! `(("XMMS.*" . ("music" "~"))
    213                       ("display.*" . ("graphics" "~"))
    214                       ("Gimp.*" . ("graphics" "~"))
    215                       ("xjump.*" . ("games" "~"))
    216                       ("MPlayer.*" . "~")
    217                       ("VICE.*" . ("games" "~"))
    218                       (".*" . "sel") ;; Default to current tag
    219                       (".*" . "1"))) ;; If no tag exists yet, start with '1'
     214<enscript highlight=scheme>
     215  (wmii:tagrules-set! `(("XMMS.*" . ("music" "~"))
     216                        ("display.*" . ("graphics" "~"))
     217                        ("Gimp.*" . ("graphics" "~"))
     218                        ("xjump.*" . ("games" "~"))
     219                        ("MPlayer.*" . "~")
     220                        ("VICE.*" . ("games" "~"))
     221                        (".*" . "sel") ;; Default to current tag
     222                        (".*" . "1"))) ;; If no tag exists yet, start with '1'
     223</enscript>
    220224
    221225Just like colrules, tagrules can be listed:
Note: See TracChangeset for help on using the changeset viewer.