guest@dotshare [~/groups/wms/subtle] $ ls subStrange/ | cat

subStrange (scrot)

szorfein Feb 22, 2014 (wms/subtle)

subtle.rb(raw, dl)

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
# -*- encoding: utf-8 -*-
#
# Author::  Christoph Kappel <unexist@subforge.org>
# Version:: $Id: data/subtle.rb,v 3182 2012/02/04 16:39:33 unexist $
# License:: GNU GPLv2
#
#
set :increase_step, 10
set :border_snap, 10
#set :default_gravity, :center_1
set :default_gravity, :ct66
set :urgent_dialogs, false
set :honor_size_hints, false
set :gravity_tiling, false
set :click_to_focus, false
set :skip_pointer_warp, false
set :skip_urgent_warp, false
#set :wmname, "LG3D"

screen 1 do
  top    [ :title, :center, :views, :center, :spacer, :separator, :tray, :spacer, :clock ]
  bottom [ ]
end

style :all do
  background  "#000000"
  icon        "#c80069"
  border      "#59002f", 1
  padding     0, 7
  font        "xft:DejaVu Sans Mono-10:antialias=true"
end
style :views do
  padding 1, 4, 1, 4
  foreground  "#ffc863"
  background  "#000000"
  style :focus do
    foreground  "#ffda95"
    padding     1, 4, 1, 4
    background  "#111111"
    border_bottom "#aa2222", 2
  end
  style :urgent do
    padding     1, 3, 0, 3
    foreground  "#dbdcdc"
    background  "#ffffff"
  end
  style :occupied do
    padding     1, 4, 1, 4
    foreground  "#f3005d"
    background  "#191919"
  end
end
style :sublets do
    padding   1, 1, 1, 1
    border    "#191919", 2
  foreground  "#757575"
  background  "#191919"
end
style :separator do
  foreground  "#dadada"
  background  "#260014"
  separator   " <<< "
end
style :title do
  padding     1, 1, 1, 1
  foreground  "#994166"
  background  "#111111"
end
style :clients do
  active    "#303030", 2
  inactive  "#202020", 2
  margin    1
  width     50
end
style :subtle do
  margin      0, 0, 0, 0
  padding     0, 0, 0, 0
  panel       "#111111"
  background  "#222222"
  stipple     "#757575"
end

col_red     = Subtlext::Color.new("#b94b64")
col_blue    = Subtlext::Color.new("#4e89b0")
coffee      = Subtlext::Color.new("#c0ffee")
yellow      = Subtlext::Color.new("#fdc3c1")

sublet :clock do
  interval 1
  format_string "#{yellow}%a %b %d, %H:%M:%S"
  show_icons false
end

gravity :center_1,       [   0,   0,  100,  88 ]
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 ]
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 ]
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 ]
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 ]
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 ]
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 ]
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 ]
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 ]
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 ]
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 ]

gravity :gimp_i,    [  10,   0,  80, 100 ]
gravity :gimp_t,    [   0,   0,  10, 100 ]
gravity :gimp_d,    [  90,   0,  10, 100 ]

grab "W-S-1", :ViewJump1
grab "W-S-2", :ViewJump2
grab "W-S-3", :ViewJump3
grab "W-S-4", :ViewJump4
grab "W-1", :ViewSwitch1
grab "W-2", :ViewSwitch2
grab "W-3", :ViewSwitch3
grab "W-4", :ViewSwitch4
grab "KP_Add",      :ViewNext
grab "KP_Subtract", :ViewPrev
grab "W-A-1", :ScreenJump1
grab "W-A-2", :ScreenJump2
grab "W-A-3", :ScreenJump3
grab "W-A-4", :ScreenJump4
grab "W-C-r", :SubtleReload
grab "W-C-S-r", :SubtleRestart
grab "W-C-q", :SubtleQuit
grab "W-B1", :WindowMove
grab "W-B3", :WindowResize
grab "W-f", :WindowFloat
grab "W-space", :WindowFull
grab "W-s", :WindowStick
grab "W-equal", :WindowZaphod
grab "W-r", :WindowRaise
grab "W-l", :WindowLower
grab "W-Left",  :WindowLeft
grab "W-Down",  :WindowDown
grab "W-Up",    :WindowUp
grab "W-Right", :WindowRight
grab "W-q", :WindowKill
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          ]
grab "W-Return", "urxvtc"
grab "W-p", "dmenu_run -b -fn '-*-inconsolata-*-*-*-*-*-*-*-*-*-*-*-*' -nb 'rgb:18/20/22' -nf 'rgb:ef/ef/ef' -sb 'rgb:aa/00/5f' -sf 'rgb:ff/da/95'"
grab "W-S-r", "urxvtc -name ranger -e ranger"
grab "W-S-m", "urxvtc -name ncmpcpp -e ncmpcpp"
grab "W-w", "chromium"
grab "S-F2" do |c|
  puts c.name
end
grab "S-F3" do
  puts Subtlext::VERSION
end

tag "media_full" do
  match "libreoffice|zathura|klavaro"
  gravity :ct
end
tag "terms" do
  match "urxvtc"
end
tag "music" do
  match :instance => "ncmpcpp"
  gravity :ct33
end
tag "chat" do
  match :instance => "irssi"
end
tag "fixed" do
  match   "display"
  fixed true
end
tag "browser" do
  match   "chromium|navigator"
  gravity :center_1
end
tag "editor" do
  match  "[g]?vim"
  resize true
end
tag "resize" do
  match  "sakura|gvim"
  resize true
end
tag "gravity" do
  gravity :center
end
tag "stick" do
  match "mplayer|geeqie|sxiv"
  float true
  stick false
end
tag "float" do
  match "nitrogen|display"
  float true
end
tag "gimp_image" do
  match   :role => "gimp-image-window"
  gravity :gimp_image
end
tag "gimp_toolbox" do
  match   :role => "gimp-toolbox$"
  gravity :gimp_toolbox
end
tag "gimp_dock" do
  match   :role => "gimp-dock"
  gravity :gimp_dock
end
tag "gimp_scum" do
  match :role => "gimp-.*|screenshot"
end
tag "files" do
  match :instance => "ranger"
end
tag "flash" do
  match "<unknown>|plugin-container|exe|operapluginwrapper|npviewer.bin"
end

view "terms" do
  match "terms|files|default"
end
view "www" do
  match "browser"
end
view "media" do
    match "media|stick|music|chat"
end
view "reader" do
    match "media_full"
end

# Autostart
on :start do
end

CLICK TO VIEW

x

compton.conf(raw, dl)

 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
# Shadow
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = true;
shadow-radius = 6;
shadow-offset-x = -9;
shadow-offset-y = -8;
shadow-opacity = 0.7;
shadow-red = 0.8;
# shadow-green = 0.0;
#shadow-blue = 1.0;
shadow-exclude = [ "! name ~= ''", "name = 'Notification'", "n:e:Plank", "class_g = 'Conky'", "name *= 'Chromium'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'" ];
# shadow-exclude = "n:e:Notification";
shadow-ignore-shaped = false;
# shadow-exclude-reg = "x10+0+0";
# xinerama-shadow-crop = true;

# Opacity
menu-opacity = 0.8;
inactive-opacity = 0.8;
active-opacity = 0.9;
frame-opacity = 0.7;
inactive-opacity-override = false;
alpha-step = 0.06;
# inactive-dim = 0.2;
# inactive-dim-fixed = true;
# blur-background = true;
# blur-background-frame = true;
blur-kern = "3x3box"
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
blur-background-fixed = false;
blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
opacity-rule = [ 
"94:class_g = 'URxvt'",
"91:class_g = 'Chromium'"
];

# Fading
fading = false;
# fade-delta = 30;
fade-in-step = 0.03;
fade-out-step = 0.03;
# no-fading-openclose = true;
fade-exclude = [ ];

# Other
backend = "glx"
mark-wmwin-focused = true;
mark-ovredir-focused = true;
# use-ewmh-active-win = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = "none";
dbe = false;
paint-on-overlay = true;
# sw-opti = true;
# unredir-if-possible = true;
# unredir-if-possible-delay = 5000;
# unredir-if-possible-exclude = [ ];
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
# resize-damage = 1;

# GLX backend
# glx-no-stencil = true;
glx-copy-from-front = false;
# glx-use-copysubbuffermesa = true;
# glx-no-rebind-pixmap = true;
glx-swap-method = "undefined";
# glx-use-gpushader4 = true;

# Window type settings
wintypes:
{
  tooltip = { fade = false; shadow = false; opacity = 0.75; focus = true; };
};
 

x

conkyrc(raw, dl)

 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
use_xft yes
background no
xftfont Tamsyn:pixelsize=12
xftalpha 0.6
update_interval 1.0
total_run_times 0
own_window no
draw_shades yes
draw_borders no
draw_graph_borders yes
default_color f1f1f1
draw_outline no
gap_y 10
no_buffers yes
cpu_avg_samples 2
net_avg_samples 2
uppercase no
use_spacer none
own_window yes
own_window_class conky
own_window_type override
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 255
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
text_buffer_size 1024
alignment bottom_left

TEXT
${image ~/.conky/icons/Television-Alt.png -s 32x32} ${image ~/.conky/icons/Task-Manager.png -p 201 -s 32x32}    ${image ~/.conky/icons/Memory.png -p 340 -s 32x32}  ${image ~/.conky/icons/Hard-Drive.png -p 556 -s 32x32}              ${image ~/.conky/icons/Connectiions.png -p 830 -s 32x32}                                        ${image ~/.conky/icons/Media-Player.png -p 1110 -s 32x32}
${goto 39}Host :    ${nodename}                     ${goto 240}CPU :     ${hwmon temp 1}C                        ${goto 379}RAM : ${membar 4,100} $memperc%          ${goto 595}Root : ${fs_bar 4,120 /}  ${fs_free /}                  ${goto 869}IP addr : ${if_up wlp2s0}${addr wlp2s0}${else}${color red}down${endif}${color}       ${goto 1149}${mpd_smart}
${goto 39}Kernel :  ${kernel}                       ${goto 240}Mobo :    ${hwmon temp 2}C                        ${goto 379}Proc : $processes                        ${goto 595}Home : ${fs_bar 4,120 /home}  ${fs_free /home}          ${goto 869}Tx Rate : ${upspeed wlp2s0}                                                          ${goto 1149}${mpd_album}
${goto 39}Arch :    ${machine}                      ${goto 240}FAN :     ${hwmon fan  1}RPM                                                                          ${goto 595}Srv :  ${fs_bar 4,120 /srv/http} ${fs_free /srv/http}   ${goto 869}Rx Rate : ${downspeed wlp2s0}                                                        ${goto 1149}${mpd_bar 4,250}
                                                         ${goto 869}Rx Total : ${totaldown wlp2s0}                                                       ${goto 1149}${mpd_status} ${mpd_elapsed}/${mpd_length}

${font JackInput:size=16}${goto 39}${cpugraph cpu1 20,250 ffff00 ff0066 -t} ${color 1994d1}${goto 350}${time %H:%M:%S, %A %d %b}${color fea63c}${goto 690}Uptime: ${uptime_short} ${color cd5c5c} ${goto 910}Vol: ${mixer}% ${color 86c113} ${goto 1030}Mail: ${new_mails /home/zaknafein/mail/inbox} ${color}${goto 1150}${cpugraph cpu2 20,250 ffff00 ff0066 -t}${font}
 

x