guest@dotshare [~/groups/wms/subtle] $ ls Classy-Touch/ | cat

Classy Touch (scrot, raw, dl) (+6 likes)

Graawr Jun 16, 2013 (wms/subtle)

SCROT

  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
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
# == Subtle Config {{{

    # == General options {{{
    
    set :step,              10 
    set :border_snap,       10

    set :gravity,           :ct66
    set :tiling,            false
    set :honor_size_hints,  false
    set :urgent,            false
    set :urgent_dialogs,    false

    set :click_to_focus,    false
    set :skip_pointer_warp, false
    set :skip_urgent_warp,  false 

    #}}}


    # == Panels {{{

    screen 1 do
      top     [ :views, :separator, :title, :spacer, :mpd, :clock2 ]
      bottom  [ ]
     
    end

    #}}}


    # == Addons {{{

    begin
        require "#{ENV["HOME"]}/.local/share/subtle/addons/selector.rb" 
        Subtle::Contrib::Selector.font = "xft:Ohsnap:pixelsize=80"
    rescue LoadError => error
        puts error
    end

    begin
        require "#{ENV["HOME"]}/.local/share/subtle/addons/positioner.rb" 
        Subtle::Contrib::Positioner.font = "xft:Ohsnap:pixelsize=80" 
    rescue LoadError => error
        puts error
    end

    # }}}

    
    # == Colors {{{

    background_1 =   "#151515"
    background_2 =   "#353535"    

    color_above =    "#ebebeb"
    color_light =    "#C3143B"
    color_medium =   "#545454"
    color_dark =     "#303030"

    #}}}


    # == Styles {{{
    
    style :all do
      padding      2, 2, 2, 2
      margin       0, 0, 0, 0
      icon         color_light
      font         "xft:Ohsnap:pixelsize=8:antialias=false"
    end

    style :subtle do
      padding      0, 0, 0, 0
      margin       0, 0, 0, 0 
      panel_top    background_1
      panel_bottom background_1
    end

    style :clients do
      padding      0, 0, 0, 0
      margin       4, 4, 4, 4
      active       color_above, 1
      inactive     background_2, 1
      width        75
    end
     
    style :title do
      padding      1, 4, 2, 4
      margin       0, 0, 0, 0 
      foreground   color_above
      background   background_1
      font         "xft:Ohsnap:pixelsize=8:antialias=false"
    end
    
    style :sublets do
      padding      1, 4, 2, 4
      margin       0, 0, 0, 0
      foreground   color_medium
      background   background_1
      icon         color_light
      font         "xft:Ohsnap:pixelsize=8:antialias=false"
    end

    style :separator do
      padding      1, 2, 2, 2
      margin       0, 0, 0, 0
      foreground   color_light
      background   background_1
      separator    "||"
      font         "xft:Ohsnap:pixelsize=8:antialias=false"
    end
     
    style :views do
      padding      1, 5, 2, 5
      margin       0, 0, 0, 0
      foreground   color_medium
      background   background_1
      icon         color_dark
      font         "xft:Ohsnap:pixelsize=6:antialias=false"

        style :urgent do
          padding       1, 5, 2, 5
          margin        0, 0, 0, 0
          foreground    color_above
          background    background_1
          icon          color_above
          font          "xft:Ohsnap:pixelsize=8:antialias=false"
        end
         
        style :occupied do
          padding       1, 5, 2, 5
          margin        0, 0, 0, 0
          foreground    color_above
          background    background_1
          icon          color_medium
          font          "xft:Ohsnap:pixelsize=6:antialias=false"
        end
    
        style :focus do
          padding       1, 5, 2, 5
          margin        0, 0, 0, 0
          foreground    color_above
          background    color_light
          icon          color_light
          font          "xft:Ohsnap:pixelsize=6:antialias=false"
        end
    end     

    # }}}

    
    # == Gravities {{{
     
    # Top left
    gravity :tl_a1,     [   0,   0,  33,  33 ]
    gravity :tl_a2,     [   0,   0,  50,  33 ]
    gravity :tl_a3,     [   0,   0,  67,  33 ]
     
    gravity :tl_b1,     [   0,   0,  33,  50 ]
    gravity :tl_b2,     [   0,   0,  50,  50 ]
    gravity :tl_b3,     [   0,   0,  67,  50 ]
     
    gravity :tl_c1,     [   0,   0,  33,  67 ]
    gravity :tl_c2,     [   0,   0,  50,  67 ]
    gravity :tl_c3,     [   0,   0,  67,  67 ]
     
    # Top center
    gravity :tc_a1,     [   0,   0, 100,  50 ]
    gravity :tc_a2,     [   0,   0, 100,  67 ]
    gravity :tc_a3,     [   0,   0, 100,  33 ]
     
    gravity :tc_b1,     [  33,   0,  34,  33 ]
    gravity :tc_b2,     [  33,   0,  34,  50 ]
    gravity :tc_b3,     [  33,   0,  34,  67 ]
     
    # Top right
    gravity :tr_a1,     [  67,   0,  33,  33 ]
    gravity :tr_a2,     [  50,   0,  50,  33 ]
    gravity :tr_a3,     [  33,   0,  67,  33 ]
     
    gravity :tr_b1,     [  67,   0,  33,  50 ]
    gravity :tr_b2,     [  50,   0,  50,  50 ]
    gravity :tr_b3,     [  33,   0,  67,  50 ]
     
    gravity :tr_c1,     [  67,   0,  33,  67 ]
    gravity :tr_c2,     [  50,   0,  50,  67 ]
    gravity :tr_c3,     [  33,   0,  67,  67 ]
     
    # Left
    gravity :l_a1,      [   0,  33,  33,  34 ]
    gravity :l_a2,      [   0,  33,  50,  34 ]
    gravity :l_a3,      [   0,  33,  67,  34 ]
     
    gravity :l_b1,      [   0,   0,  33, 100 ]
    gravity :l_b2,      [   0,   0,  50, 100 ]
    gravity :l_b3,      [   0,   0,  67, 100 ]
     
    # Center
    gravity :ct,        [   0,   0, 100, 100 ]
    gravity :ct33,      [  33,  33,  34,  34 ] 
    gravity :ct66,      [  25,  25,  50,  50 ], :vert
    gravity :ct40,      [  0,  33,  100,  34 ]
 
    # Right
    gravity :r_a1,      [  67,  33,  33,  34 ]
    gravity :r_a2,      [  50,  33,  50,  34 ]
    gravity :r_a3,      [  33,  33,  67,  34 ]
     
    gravity :r_b1,      [  67,   0,  33, 100 ]
    gravity :r_b2,      [  50,   0,  50, 100 ]
    gravity :r_b3,      [  33,   0,  67, 100 ]
     
    # Bottom left
    gravity :bl_a1,     [   0,  67,  33,  33 ]
    gravity :bl_a2,     [   0,  67,  50,  33 ]
    gravity :bl_a3,     [   0,  67,  67,  33 ]
     
    gravity :bl_b1,     [   0,  50,  33,  50 ]
    gravity :bl_b2,     [   0,  50,  50,  50 ]
    gravity :bl_b3,     [   0,  50,  67,  50 ]
     
    gravity :bl_c1,     [   0,  33,  33,  67 ]
    gravity :bl_c2,     [   0,  33,  50,  67 ]
    gravity :bl_c3,     [   0,  33,  67,  67 ]
     
    # Bottom center
    gravity :bc_a1,     [   0,  50, 100,  50 ]
    gravity :bc_a2,     [   0,  33, 100,  67 ]
    gravity :bc_a3,     [   0,  67, 100,  33 ]

    gravity :bc_b1,     [  33,  67,  34,  33 ]
    gravity :bc_b2,     [  33,  50,  34,  50 ]
    gravity :bc_b3,     [  33,  33,  34,  67 ]
     
    # Bottom right
    gravity :br_a1,     [  67,  67,  33,  33 ]
    gravity :br_a2,     [  50,  67,  50,  33 ]
    gravity :br_a3,     [  33,  67,  67,  33 ]
     
    gravity :br_b1,     [  67,  50,  33,  50 ]
    gravity :br_b2,     [  50,  50,  50,  50 ]
    gravity :br_b3,     [  33,  50,  67,  50 ]
     
    gravity :br_c1,     [  67,  33,  33,  67 ]
    gravity :br_c2,     [  50,  33,  50,  67 ]
    gravity :br_c3,     [  33,  33,  67,  67 ]

    # Special
    gravity :sp_br,     [  70,  85,  30,  15 ]
    gravity :sp_bl,     [   0,  85,  30,  15 ]
    gravity :sp_tr,     [  70,   0,  30,  15 ]
    gravity :sp_tl,     [   0,   0,  30,  15 ]

    # Gimp
    gravity :gimp_i,    [  10,   0,  80, 100 ]
    gravity :gimp_t,    [   0,   0,  10, 100 ]
    gravity :gimp_d,    [  90,   0,  10, 100 ]
     
    # }}}
     
     
    # == Grabs {{{

    # Cycle between given gravities
    grab "W-KP_9",      [ :tr_a1, :tr_a2, :tr_a3, :tr_b1, :tr_b2, :tr_b3, :tr_c1, :tr_c2, :tr_c3 ]
    grab "W-KP_8",      [ :tc_b1, :tc_b2, :tc_b3, :tc_a3, :tc_a1, :tc_a2                         ]
    grab "W-KP_7",      [ :tl_a1, :tl_a2, :tl_a3, :tl_b1, :tl_b2, :tl_b3, :tl_c1, :tl_c2, :tl_c3 ]
     
    grab "W-KP_6",      [ :r_a1,  :r_a2,  :r_a3,  :r_b1,  :r_b2,  :r_b3                          ]
    grab "W-KP_5",      [ :ct33,  :ct66,  :ct,    :ct40                                          ]
    grab "W-KP_4",      [ :l_a1,  :l_a2,  :l_a3,  :l_b1,  :l_b2,  :l_b3                          ]
     
    grab "W-KP_3",      [ :br_a1, :br_a2, :br_a3, :br_b1, :br_b2, :br_b3, :br_c1, :br_c2, :br_c3 ]
    grab "W-KP_2",      [ :bc_b1, :bc_b2, :bc_b3, :bc_a3, :bc_a1, :bc_a2                         ]
    grab "W-KP_1",      [ :bl_a1, :bl_a2, :bl_a3, :bl_b1, :bl_b2, :bl_b3, :bl_c1, :bl_c2, :bl_c3 ]
     
    grab "W-KP_0",      [ :sp_br, :sp_bl, :sp_tr, :sp_tl                                         ]

    # Naviguate through clients 
    grab "A-F9" do  ## Mouse extra button shortcut
        clients = Subtlext::Client.visible
        clients.last.instance_eval do
            focus
            raise
        end
    end
    grab "A-Tab" do
        clients = Subtlext::Client.visible
        clients.last.instance_eval do
            focus
            raise
        end
    end

    # Scratchpad
    grab "W-Tab" do
       if (c = Subtlext::Client.first("scratchpad"))
         c.toggle_stick
         c.focus
         c.raise
         c.toggle_float
       elsif (c = Subtlext::Subtle.spawn("urxvtc_mod -name scratchpad -e tmux attach"))
         c.tags  = []
         c.flags = [ :stick ]
       end
    end

    # Manually initialize scratchpad
    grab "W-A-Tab" do
      c = Subtlext::Subtle.spawn("urxvtc_mod -name scratchpad -e tmux attach")
         c.tags  = []
         c.flags = [ :stick ]
    end

    # Scratchstack
    scratch_stack   = []
    scratch_current = 0
 
        # Add window to stack
         grab "W-colon" do |c|
            unless scratch_stack.include?(c.win)
                scratch_stack << c.win
                c.tags = []
                c.toggle_stick if c.is_stick?
             end
         end
 
        # Remove window from stack
        grab "W-ugrave" do |c|
            if scratch_stack.include?(c.win)
                c.retag
                scratch_stack.delete(c.win)
            end
        end
 
        # Cycle through stacked windows
        grab "W-exclam" do
            if 0 < scratch_current
                cur_idx = scratch_stack.index(scratch_current)
                cur_client = Subtlext::Client[scratch_current]
                cur_client.toggle_stick
                if cur_idx == scratch_stack.size - 1
                    scratch_current = 0
                    return
                end
                idx = cur_idx + 1
            else
                idx = 0
            end 
            cur = Subtlext::Client[scratch_stack[idx]] 
            scratch_current = cur.win
            cur.toggle_stick
            cur.focus
            cur.raise
        end

    # Go to next non-empty view
    grab "W-KP_Add" do
        vArr = Subtlext::View[:all];
        cindx = vArr.index(Subtlext::View.current);
        for i in 1..vArr.size do
            cV = vArr[(i + cindx) % vArr.size];
            if (!cV.clients.empty? && Subtlext::View.visible.index(cV) == nil) then
                cV.jump;
                break;
            end
        end
    end
 
    # Go to previous non-empty view
    grab "W-KP_Subtract" do
        vArr = Subtlext::View[:all].reverse;
        cindx = vArr.index(Subtlext::View.current);
        for i in 1..vArr.size do
            cV = vArr[(i + cindx) % vArr.size];
            if (!cV.clients.empty? && Subtlext::View.visible.index(cV) == nil) then
                cV.jump;
                break;
            end
        end
    end
    
    # Launch Selector
    grab "W-comma" do
        Subtle::Contrib::Selector.run
    end

    # Launch Positionner 
    grab "W-semicolon" do
        Subtle::Contrib::Positioner.run
    end

    # Subtle actions 
    grab "W-C-r",       :SubtleReload
    grab "W-A-r",       :SubtleRestart
    grab "W-C-q",       :SubtleQuit
     
    # View naviguation
    grab "W-1",         :ViewSwitch1
    grab "W-2",         :ViewSwitch2
    grab "W-3",         :ViewSwitch3
    grab "W-4",         :ViewSwitch4
    grab "KP_Add",      :ViewNext
    grab "KP_Subtract", :ViewPrev
     
    # Window actions
    grab "W-B1",        :WindowMove
    grab "W-Up",        :WindowMoveUp
    grab "W-Right",     :WindowMoveRight
    grab "W-Down",      :WindowMoveDown
    grab "W-Left",      :WindowMoveLeft

    grab "W-B3",        :WindowResize
    grab "W-C-Up",      :WindowResizeUp
    grab "W-C-Right",   :WindowResizeRight
    grab "W-C-Down",    :WindowResizeDown
    grab "W-C-Left",    :WindowResizeLeft

    grab "W-h",         :WindowLeft
    grab "W-j",         :WindowDown
    grab "W-k",         :WindowUp
    grab "W-l",         :WindowRight

    grab "W-r",         :WindowRaise
    grab "W-s",         :WindowLower
    grab "W-q",         :WindowKill
    grab "W-S-f",       :WindowFloat
    grab "W-S-d",       :WindowFull
    grab "W-S-s",       :WindowStick
     
    # Shortcuts
    grab "W-Return",             "urxvtc_mod"
    grab "W-C-Return",           "urxvtc_mod -e tmux"
    grab "W-space",              'dmenu_run -nb "#151515" -nf "#545454" -sb "#C3143B" -sf "#DDE2D8" -p "run:" -i'
    grab "W-S-Tab",              "pkill tmux"
    grab "W-w",                  "iceweasel"
    grab "W-c",                  "urxvtc_mod -name wcalc -e wcalc"
    grab "W-f",                  "urxvtc_mod -name ranger -e ranger"
    grab "W-t",                  "urxvtc_mod -name newsbeuter -e newsbeuter"
    grab "W-n",                  "urxvtc_mod -name ncmpcpp -e ncmpcpp"
    grab "W-v",                  "urxvtc_mod -name weechat -e weechat-curses"
    grab "W-b",                  "urxvtc_mod -name rtorrent -e rtorrent"
    grab "W-m",                  "urxvtc_mod -name mutt -e mutt"
    grab "W-g",                  "magnet"
    grab "W-a",                  "urxvtc_mod -name htop -e htop"
    grab "W-x",                  "i3lock -ubi /home/logan/images/accueil.png"
    grab "W-C-f",                "thunar"
    grab "W-C-w",                "chromium"
    grab "W-S-w",                "midori"

    grab "XF86Tools",            "mpd"
    grab "XF86AudioPlay",        "ncmpcpp toggle"
    grab "XF86AudioPrev",        "ncmpcpp prev"
    grab "XF86AudioNext",        "ncmpcpp next"
    grab "XF86AudioMute",        "volume-controle.rb toggle"
    grab "XF86AudioLowerVolume", "volume-controle.rb down"
    grab "XF86AudioRaiseVolume", "volume-controle.rb up"

    grab "XF86HomePage",         "iceweasel /home/logan/.config/infoconf.html"
    grab "XF86Mail",             "icedove"
    grab "XF86Search",           "iceweasel https://www.duckduckgo.com/"
    grab "XF86Calculator",       "speedcrunch"
    grab "XF86Eject",            "toggleeject"

    grab "Print",                "scrotd 0"
    grab "C-Print",              "scrotd 5"
    grab "Menu",                 ""
    grab "Pause",                "urgentkey"
    grab "Scroll_Lock",          ""


    # == Tags {{{
     
    # Simple tags
    tag "terminal", "urxvt|urxvtc|xterm|terminator"
    tag "web",      "luakit|dwb|iceweasel|midori|chromium|icedove|hotot|pidgin"
    tag "media",    "easytag|sonata|comix|inkscape|VLC|gnome-mplayer|libreoffice|zathura|epdfview|audacity" 
    tag "systeme",  "thunar|gtk2fontsel|lxappearance|geany|nitrogen|virtualbox|file-roller|gparted|feh|display|bleachbit"

    # Placement
    tag "web_full" do
      match "luakit|dwb|icedove|iceweasel|chromium|midori"
      gravity :ct
    end

    tag "media_full" do
      match "comix|inkscape|libreoffice|zathura|audacity|easytag" 
      gravity :ct
    end

    # Apps definition
    tag "calc" do
      match :instance => "wcalc"
      gravity :br_a1
      stick true
      urgent true
    end

    tag "scratchpad" do
      match :instance => "scratchpad|htop"
      gravity :ct33
      stick true
      urgent true
    end

    tag "terms" do
      match "urxvtc"
#      exclude :instance => "scratchpad|htop|cli_browser|newsbeuter|mutt|wcalc|ranger|weechat|ncmpcpp|rtorrent"
    end

    tag "cli_browser" do
      match :instance => "lynx|elinks|w3m"
      gravity :ct
    end

    tag "torrent" do
      match :instance => "rtorrent"
      gravity :bl_a1
    end

    tag "mails" do
      match :instance => "newsbeuter|mutt" 
     end

    tag "music" do
      match :instance => "ncmpcpp"
      gravity :ct33
    end

    tag "chat" do
      match :instance => "weechat|irssi"
      gravity :ct33
    end

    tag "files" do
      match :instance => "ranger"
    end

    tag "flash" do
      match "<unknown>|plugin-container|exe|operapluginwrapper|npviewer.bin"
    end

    # Modes
    tag "stick" do
      match "mplayer|vlc"
      stick true
    end
     
    tag "float" do
      match "mplayer|nitrogen|file-roller|display|feh"
      float true
    end

    tag "fixed" do
      match "display|feh|gimp_*"
      fixed true
    end

    tag "borderless" do
      match "display|evince|epdfview"
      type :desktop
      borderless true
    end

    tag "urgent" do
      match "feh|display|file-roller"
      urgent true
    end

    tag "full" do
      match "epdfview|vlc"
      full true
    end

    tag "resize" do
      match "vlc|mplayer|virtualbox"
      resize true
    end

    # Gimp
    tag "gimp_image" do
      match   :role => "gimp-image-window"
      gravity :gimp_i
    end
     
    tag "gimp_toolbox" do
      match   :role => "gimp-toolbox$"
      gravity :gimp_t
    end
     
    tag "gimp_dock" do
      match   :role => "gimp-dock"
      gravity :gimp_d
    end

    tag "gimp_scum" do
      match   :role => "gimp-.*|screenshot"
    end

    #}}}


    # == Views {{{
     
    view "term" do
      match "terms|gimp_*|default"
    end
     
    view "web" do
      match "web|mail|cli_browser|torrent|flash"
    end
     
    view "media" do
      match "media|music|chat"
    end
     
    view "syst" do
      match "systeme|files"  
    end

     #}}}
     

    # == Sublets {{{
     
    sublet :mpd do
      format_string    "%artist% %title%"
      show_icons       false
      show_colors      true
      show_pause       true
      artist_color     color_medium
      title_color      color_light
      pause_color      color_medium
      stop_color       color_medium
      stop_text        "Stop"
      pause_text       "Pause"
      not_running_text "N/A"
    end
      
    sublet :clock2 do
      interval         30
      time_format      "%H:%M"
      time_color       color_above
      date_format      ""
    end

    # }}}
     

    # == Hooks {{{

    # Autostart
    on :start do
      Subtlext::Subtle.spawn "sh ~/.fehbg"
      Subtlext::Subtle.spawn "mpd"
      Subtlext::Subtle.spawn "sleep 2s && subtler -r"
      Subtlext::Subtle.spawn "numlockx" 
      Subtlext::Subtle.spawn "compton -CGbc -t -8 -l -9 -r 6 -o 0.7 -m 1.0"
      Subtlext::Subtle.spawn "xautolock -time 15 -locker 'i3lock -ubi /home/logan/images/accueil.png'" 
      Subtlext::Subtle.spawn "gnome-keyring-daemon --start --components=pkcs11"
    end

    # Pre-load scratchpad
    on :start do
      c = Subtlext::Subtle.spawn("urxvtc_mod -name scratchpad -e tmux")
         c.tags  = []
         c.flags = [ :stick ]
    end

    # Client autofocus
    on :client_create do |c|
      c.views.first.jump
      c.focus
      c.raise
    end

    #}}}

    
#}}}

CLICK TO VIEW

x

Notes

Don’t hesitate to ask me anything :)
Whole suit progressively available on dotshare.

Last update: 18 July 2013.

Comments

jonyamo said about 3 years ago

This is beautiful. I have been using Openbox with a solarized colorscheme for the longest time and have been looking for a change. This screenshot has inspired me to give subtle a try as well as rewrite my Xresources, dir_colors, and vimrc!

Graawr said about 3 years ago

Thanks :)

randalltux said about 3 years ago

Is that dzen2 ? On top

Graawr said about 3 years ago

No, it’s the built-in Subtle top panel.