Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added awesome configuration.

  • Loading branch information...
commit fb9b3297cd04aa48ab460fbcbe0bde976c46bce5 1 parent 6ada262
@TheMarex authored
Showing with 5,660 additions and 0 deletions.
  1. +1 −0  .config/awesome/.git_old/COMMIT_EDITMSG
  2. +1 −0  .config/awesome/.git_old/HEAD
  3. +1 −0  .config/awesome/.git_old/ORIG_HEAD
  4. +5 −0 .config/awesome/.git_old/config
  5. +1 −0  .config/awesome/.git_old/description
  6. +15 −0 .config/awesome/.git_old/hooks/applypatch-msg.sample
  7. +24 −0 .config/awesome/.git_old/hooks/commit-msg.sample
  8. +8 −0 .config/awesome/.git_old/hooks/post-update.sample
  9. +14 −0 .config/awesome/.git_old/hooks/pre-applypatch.sample
  10. +50 −0 .config/awesome/.git_old/hooks/pre-commit.sample
  11. +169 −0 .config/awesome/.git_old/hooks/pre-rebase.sample
  12. +36 −0 .config/awesome/.git_old/hooks/prepare-commit-msg.sample
  13. +128 −0 .config/awesome/.git_old/hooks/update.sample
  14. BIN  .config/awesome/.git_old/index
  15. +6 −0 .config/awesome/.git_old/info/exclude
  16. +11 −0 .config/awesome/.git_old/logs/HEAD
  17. +8 −0 .config/awesome/.git_old/logs/refs/heads/master
  18. +2 −0  .config/awesome/.git_old/logs/refs/heads/next
  19. BIN  .config/awesome/.git_old/objects/03/d559115434700dd99476d9912dda9546a5517c
  20. BIN  .config/awesome/.git_old/objects/04/14dff6fdce94af4f32984fe6ddbbe5d0dc9b9b
  21. BIN  .config/awesome/.git_old/objects/04/e17df1344ee22b9fbecb37e6b88076052f066f
  22. BIN  .config/awesome/.git_old/objects/0d/2ce7ca1b81f70c654f6e34a52b1b2ed26c09f0
  23. BIN  .config/awesome/.git_old/objects/10/2f9da212d377c8bcd799d849ccbb375371fdc4
  24. BIN  .config/awesome/.git_old/objects/11/b33493941efeef035a0e78784d0e2831dd5898
  25. +3 −0  .config/awesome/.git_old/objects/14/928c5f6b30d66f3e1ec96c8555969f8b7f8748
  26. BIN  .config/awesome/.git_old/objects/15/11b4a163845f1769b820c74df7e63199c08b61
  27. BIN  .config/awesome/.git_old/objects/15/b0372fffdfb9d574a90a8d8da56e69087491b4
  28. +5 −0 .config/awesome/.git_old/objects/19/12cce44c711b9fbc21f5a9d90e2b6bb9413493
  29. BIN  .config/awesome/.git_old/objects/1a/306cf51ab1ab5836a9d092b26c9d6b80ac3090
  30. BIN  .config/awesome/.git_old/objects/1b/f88e785447442408077c7a9ae3227bf2bcd3e7
  31. BIN  .config/awesome/.git_old/objects/1d/0529970b9b1f9b50bf5fd5c0a053da0c580049
  32. BIN  .config/awesome/.git_old/objects/20/ee0146ffa070d4fe8c4bee34c3199416801322
  33. BIN  .config/awesome/.git_old/objects/21/88da38025b42e0aa949eb0308f3248f280e443
  34. BIN  .config/awesome/.git_old/objects/22/ab86f93641cfc24540867dd93fa0e86924df73
  35. BIN  .config/awesome/.git_old/objects/23/1fdab4114756c47be0743a23498a846b2ae76b
  36. BIN  .config/awesome/.git_old/objects/25/4963def9d2a59f2347c367071260ec55cb230b
  37. BIN  .config/awesome/.git_old/objects/26/384f0cf458ed9fc9f35ee2d7bdb0f44f6cee3d
  38. BIN  .config/awesome/.git_old/objects/27/a2631ad49def6e84355968f5f46406b3d9b095
  39. BIN  .config/awesome/.git_old/objects/28/21863abd84cbf5af138aacdc01f85acbc789b6
  40. BIN  .config/awesome/.git_old/objects/2d/d29b4a1937964cabc96db7f79c4139e6385db4
  41. BIN  .config/awesome/.git_old/objects/31/fc7d5ffd478dea49d5b53394ca5b3a5c80eac4
  42. BIN  .config/awesome/.git_old/objects/33/5202fedd283708d84dcc097b1d2245876990be
  43. BIN  .config/awesome/.git_old/objects/34/190cf09df819cdf32b162c9251c1824fdd91b7
  44. BIN  .config/awesome/.git_old/objects/35/7437d3e3cdfdba522d49b21726eea81f9c3c97
  45. BIN  .config/awesome/.git_old/objects/35/7813ec80371f8d8b9214c7dc5d2687a9e0a209
  46. BIN  .config/awesome/.git_old/objects/3d/c8c3a9f7bfab1b287e9351dfac1f1b69be4cec
  47. BIN  .config/awesome/.git_old/objects/3d/d904309c62a70edac072743424fd3fbdcd798f
  48. +6 −0 .config/awesome/.git_old/objects/3d/e2814bc1b03fcf953aa38a21d0abe49ef5d804
  49. BIN  .config/awesome/.git_old/objects/3e/a2a4e8da4f06faccfaa87be575cb66dfd3aede
  50. +1 −0  .config/awesome/.git_old/objects/3f/2f0070440a55d142a0b313d2e81dafce607716
  51. BIN  .config/awesome/.git_old/objects/41/b310bf24f141c1d9d027e33a76dad0ec7dfa0d
  52. BIN  .config/awesome/.git_old/objects/45/499e9cc263abd321ac691f59fbabe519f50c9b
  53. BIN  .config/awesome/.git_old/objects/45/5e37a4b9fa561c8bfa3da75df6c6ad0d767a8d
  54. BIN  .config/awesome/.git_old/objects/47/df651d69ad815d2f4d01f546d6ae8f00e6e571
  55. BIN  .config/awesome/.git_old/objects/48/51f5ccccdc44cfbfd9917f71588d346a933f69
  56. BIN  .config/awesome/.git_old/objects/4a/ca6968894e3bd693284490bd8cebdf34b375cf
  57. BIN  .config/awesome/.git_old/objects/4b/1b2a3b7f8ef029fbf4dea55c18ca32aab1bcd4
  58. BIN  .config/awesome/.git_old/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904
  59. BIN  .config/awesome/.git_old/objects/4c/b9bf35a5c30b9674b9490858b732a3aaac282f
  60. BIN  .config/awesome/.git_old/objects/4f/1990a86fc2c1db03c6f1fa5e6f34c46996070a
  61. BIN  .config/awesome/.git_old/objects/52/a116304ece75f16896152bd96df1a9238d25bd
  62. BIN  .config/awesome/.git_old/objects/52/e48c540ab1e64463895d1d5ebfa8a8dcdcc6a2
  63. BIN  .config/awesome/.git_old/objects/58/4b71cce220a2ccf26b15076638a827a461e423
  64. BIN  .config/awesome/.git_old/objects/59/a8d69b12eb18411f6ad6e662b2e2616da967ff
  65. BIN  .config/awesome/.git_old/objects/5a/8b2038a626359360c2f46a17b6680f14dc2756
  66. BIN  .config/awesome/.git_old/objects/5d/13054b60118225af7fa99ccd80ebc54e986ca1
  67. BIN  .config/awesome/.git_old/objects/5d/a34d699673c7b0fa4da6fcd72a2326afbc02fc
  68. BIN  .config/awesome/.git_old/objects/5f/607a6abe96ab809d414d08ee07a089eb76e25e
  69. BIN  .config/awesome/.git_old/objects/60/1bc810fc16cb1d98a32c464073b0f4fc67031f
  70. BIN  .config/awesome/.git_old/objects/61/09134bf76a7bb9a09971a87b4dc9a4d88c4440
  71. BIN  .config/awesome/.git_old/objects/63/1534345dce85d42f413d6338341799dea1d77f
  72. BIN  .config/awesome/.git_old/objects/63/c42cc496bedec292a0f66c87b75314fbff9b30
  73. BIN  .config/awesome/.git_old/objects/65/0c180d02b734de78fab07eda6468ffbbfb72a3
  74. BIN  .config/awesome/.git_old/objects/67/7543aff61f038f6b2009691e8f4ad7d467caa2
  75. BIN  .config/awesome/.git_old/objects/6a/0c1d016a00f7cde1052b302de236d299233762
  76. BIN  .config/awesome/.git_old/objects/6c/4d11c826170989f0f676b21be13dd6dcc6b7dd
  77. +3 −0  .config/awesome/.git_old/objects/6d/1e2549d900ce79693c16f6ac42c8d2c04eeace
  78. BIN  .config/awesome/.git_old/objects/6e/78f806579a4b1b7084d36d4e0f804304ab19f8
  79. BIN  .config/awesome/.git_old/objects/70/25444cf976caa4db490d6abccecad007367672
  80. BIN  .config/awesome/.git_old/objects/71/8702adc26ce7e4899f48e91a0e2b10a4bf2d12
  81. +3 −0  .config/awesome/.git_old/objects/74/5452a9c82c8166f88de9ac8b67d119b664529f
  82. BIN  .config/awesome/.git_old/objects/74/6bd125e2f63f4ceb2d50111d5d704691433f7a
  83. BIN  .config/awesome/.git_old/objects/74/9804bc00b533e24e9df07bb9e012155d75445a
  84. BIN  .config/awesome/.git_old/objects/76/3ab58f50ce33f905cc648506c4a5f635f6e3ed
  85. BIN  .config/awesome/.git_old/objects/7b/2e1fb7cdc098937c35fc5b8ad8fa238cab9735
  86. +1 −0  .config/awesome/.git_old/objects/7b/5eaa83f12bfad0912deb0478bda54af4009fc5
  87. BIN  .config/awesome/.git_old/objects/80/0187483a97292e9021ea74d97d24e73e17fda2
  88. BIN  .config/awesome/.git_old/objects/80/2363f7c059d67cf459f08fd95ba7b58a46b08e
  89. BIN  .config/awesome/.git_old/objects/84/63f08423fd349307b00bfd559eba56bab83a33
  90. BIN  .config/awesome/.git_old/objects/87/26940cbb0d81ded5968dbf2d9b19e9d28b4dc8
  91. BIN  .config/awesome/.git_old/objects/87/d0e33d2cfd83ca99dc14928fd800841ba80845
  92. BIN  .config/awesome/.git_old/objects/8a/bbc52a64bddeb1a508b392cdb72b9f0d588008
  93. BIN  .config/awesome/.git_old/objects/8b/9b5d30f580d4bddbd9c79057fbf05ba0ea1883
  94. BIN  .config/awesome/.git_old/objects/8c/05f52acfc61fc72abafb6ce3eaa8cdb6794651
  95. BIN  .config/awesome/.git_old/objects/8f/47f581cb82e35e2f78041f4115ad42fa76d5c7
  96. BIN  .config/awesome/.git_old/objects/91/7d3a0b4e1c495766b2b8a3cd898880a7f9220c
  97. BIN  .config/awesome/.git_old/objects/92/46dd22969055ea2238937db5a69791fafb3e4b
  98. BIN  .config/awesome/.git_old/objects/93/7c6e69940474b3eca2e227fbec50ed7a61c7e5
  99. BIN  .config/awesome/.git_old/objects/95/810099d1dc8d5c2dd75045c773cf5b63587f4b
  100. BIN  .config/awesome/.git_old/objects/96/a6e92442681e6f2ab6a1a5ccda34f38d2be558
  101. BIN  .config/awesome/.git_old/objects/9a/54ae9d4c49a187bbe16bcdc24f0228db8d3bb7
  102. BIN  .config/awesome/.git_old/objects/9c/1448a1ff2018b4088de425ac3ada8c22f3432a
  103. +3 −0  .config/awesome/.git_old/objects/9d/16826b737c01789defddcab013a6205ddbb900
  104. BIN  .config/awesome/.git_old/objects/9e/90dd38513669e743eadbc70ca87578cad37a25
  105. BIN  .config/awesome/.git_old/objects/a8/a80ab345adc61fac248243861edfebfab351c7
  106. BIN  .config/awesome/.git_old/objects/ad/c3aa10dfad3e527ac575b82f2ef1a3818a0fae
  107. BIN  .config/awesome/.git_old/objects/ae/f96ade93ecfa921759f0a0d073dd36e36ff380
  108. BIN  .config/awesome/.git_old/objects/af/5dff0d26c09b1d9edfcd7c35254f56a54ff9b2
  109. BIN  .config/awesome/.git_old/objects/b2/c14d92925f117569e5d1dc95f327578bda8821
  110. BIN  .config/awesome/.git_old/objects/b3/49153891693bed9301d72fad93a28733d7ce55
  111. BIN  .config/awesome/.git_old/objects/b7/01ea1fcf05d693adca6586c8a1589f4d50ac3c
  112. BIN  .config/awesome/.git_old/objects/b8/514a9d14a1e7ad6f2b9c60a9fba623f8a23cc2
  113. BIN  .config/awesome/.git_old/objects/bb/7b6336096cd28385e36b172e9285ff4efac0be
  114. BIN  .config/awesome/.git_old/objects/be/c7bff34d9e29869b148ceaf1461d633ec3307b
  115. BIN  .config/awesome/.git_old/objects/bf/9c72d3c69d6892e058ad2948894a916976f825
  116. BIN  .config/awesome/.git_old/objects/bf/fc784479dc5c9c12b29afd7aa9e02e20904966
  117. BIN  .config/awesome/.git_old/objects/c1/f6b766438d3a1a727a26585f70682e8cc3697f
  118. BIN  .config/awesome/.git_old/objects/c3/6f1ead0f56ebac51e926e7ad77c6ca73061920
  119. BIN  .config/awesome/.git_old/objects/c4/899bb5fe855ec564f9242d071f517b82d286bc
  120. BIN  .config/awesome/.git_old/objects/c9/7821a5cf817bdfd94d2fce0c775ccb1083734f
  121. BIN  .config/awesome/.git_old/objects/ca/a95d54c4c5559dc2554d19df4fe816d59c593c
  122. BIN  .config/awesome/.git_old/objects/cb/c91f2859cab00894bbc2d66b2fd24af0ab97df
  123. BIN  .config/awesome/.git_old/objects/ce/e1676e5cd46774ab4ada6d0ce6899bb857ab70
  124. BIN  .config/awesome/.git_old/objects/ce/edfee54dfd95da3e808957d3e2aa14b2d27274
  125. +4 −0 .config/awesome/.git_old/objects/d0/93c83624204b120993a7284bd37bcce91428b7
  126. BIN  .config/awesome/.git_old/objects/d1/2ece106f8d3ad41dabc29f02b7e8fca84c15d3
  127. BIN  .config/awesome/.git_old/objects/d2/02c860e0f1b037012fcbd793de7183e7a6c139
  128. BIN  .config/awesome/.git_old/objects/d4/69f8a21c43f72952a0e62120bab1818905af78
  129. BIN  .config/awesome/.git_old/objects/d6/80ce3a8e5fe58253ae01c8ad7ec2158295fa88
  130. BIN  .config/awesome/.git_old/objects/d8/b0f639dc4cee43ca157f5d7bd0d95afd8137e8
  131. BIN  .config/awesome/.git_old/objects/d9/936dadb92fd28baba497e7956e2efd9ae2eefa
  132. BIN  .config/awesome/.git_old/objects/d9/b4f7b46aef2a20115aefc6252da2ae5a6df6c3
  133. BIN  .config/awesome/.git_old/objects/df/907c907c6f9f088bdd269e37e44689a73999d0
  134. +3 −0  .config/awesome/.git_old/objects/e7/f294e0903612b393b948dd0c1ca9f1128562ae
  135. BIN  .config/awesome/.git_old/objects/e9/d5e5c0f9f29e0647fbf46ef1b03d383a951603
  136. BIN  .config/awesome/.git_old/objects/ec/7b004fabf021f9a801094ec106934e66d91491
  137. BIN  .config/awesome/.git_old/objects/fa/4c348b602ed847faa4376e38892c2ec544991b
  138. BIN  .config/awesome/.git_old/objects/fa/edffef1aeadcaa04ff0b1baca9429347573618
  139. BIN  .config/awesome/.git_old/objects/fb/a46375d540ef7acac2de151880ef9d03a940cd
  140. BIN  .config/awesome/.git_old/objects/ff/7a03a70e735d1b1f8e70f844de4fdc9133e6b4
  141. +1 −0  .config/awesome/.git_old/refs/heads/master
  142. +1 −0  .config/awesome/.git_old/refs/heads/next
  143. +135 −0 .config/awesome/apps.lua
  144. +19 −0 .config/awesome/colors.lua
  145. +264 −0 .config/awesome/delightful/utils.lua
  146. +235 −0 .config/awesome/delightful/widgets/battery.lua
  147. +177 −0 .config/awesome/delightful/widgets/cpu.lua
  148. +45 −0 .config/awesome/delightful/widgets/datetime.lua
  149. +563 −0 .config/awesome/delightful/widgets/imap.lua
  150. +224 −0 .config/awesome/delightful/widgets/memory.lua
  151. +272 −0 .config/awesome/delightful/widgets/network.lua
  152. +518 −0 .config/awesome/delightful/widgets/pulseaudio.lua
  153. +1,322 −0 .config/awesome/delightful/widgets/weather.lua
  154. +126 −0 .config/awesome/freedesktop/desktop.lua
  155. +87 −0 .config/awesome/freedesktop/menu.lua
  156. +237 −0 .config/awesome/freedesktop/utils.lua
  157. +159 −0 .config/awesome/keys.lua
  158. +57 −0 .config/awesome/rc.lua
  159. +145 −0 .config/awesome/screens.lua
  160. BIN  .config/awesome/themes/elegant-blue/awesome-icon.png
  161. BIN  .config/awesome/themes/elegant-blue/layouts/dwindle.png
  162. BIN  .config/awesome/themes/elegant-blue/layouts/fairh.png
  163. BIN  .config/awesome/themes/elegant-blue/layouts/fairv.png
  164. BIN  .config/awesome/themes/elegant-blue/layouts/floating.png
  165. BIN  .config/awesome/themes/elegant-blue/layouts/fullscreen.png
  166. BIN  .config/awesome/themes/elegant-blue/layouts/magnifier.png
  167. BIN  .config/awesome/themes/elegant-blue/layouts/max.png
  168. BIN  .config/awesome/themes/elegant-blue/layouts/spiral.png
  169. BIN  .config/awesome/themes/elegant-blue/layouts/tile.png
  170. BIN  .config/awesome/themes/elegant-blue/layouts/tilebottom.png
  171. BIN  .config/awesome/themes/elegant-blue/layouts/tileleft.png
  172. BIN  .config/awesome/themes/elegant-blue/layouts/tiletop.png
  173. BIN  .config/awesome/themes/elegant-blue/taglist/squarefz.png
  174. BIN  .config/awesome/themes/elegant-blue/taglist/squarez.png
  175. +133 −0 .config/awesome/themes/elegant-blue/theme.lua
  176. BIN  .config/awesome/themes/elegant-blue/titlebar/close_focus.png
  177. BIN  .config/awesome/themes/elegant-blue/titlebar/close_normal.png
  178. BIN  .config/awesome/themes/elegant-blue/titlebar/floating_focus_active.png
  179. BIN  .config/awesome/themes/elegant-blue/titlebar/floating_focus_inactive.png
  180. BIN  .config/awesome/themes/elegant-blue/titlebar/floating_normal_active.png
  181. BIN  .config/awesome/themes/elegant-blue/titlebar/floating_normal_inactive.png
  182. BIN  .config/awesome/themes/elegant-blue/titlebar/maximized_focus_active.png
  183. BIN  .config/awesome/themes/elegant-blue/titlebar/maximized_focus_inactive.png
  184. BIN  .config/awesome/themes/elegant-blue/titlebar/maximized_normal_active.png
  185. BIN  .config/awesome/themes/elegant-blue/titlebar/maximized_normal_inactive.png
  186. BIN  .config/awesome/themes/elegant-blue/titlebar/ontop_focus_active.png
  187. BIN  .config/awesome/themes/elegant-blue/titlebar/ontop_focus_inactive.png
  188. BIN  .config/awesome/themes/elegant-blue/titlebar/ontop_normal_active.png
  189. BIN  .config/awesome/themes/elegant-blue/titlebar/ontop_normal_inactive.png
  190. BIN  .config/awesome/themes/elegant-blue/titlebar/sticky_focus_active.png
  191. BIN  .config/awesome/themes/elegant-blue/titlebar/sticky_focus_inactive.png
  192. BIN  .config/awesome/themes/elegant-blue/titlebar/sticky_normal_active.png
  193. BIN  .config/awesome/themes/elegant-blue/titlebar/sticky_normal_inactive.png
  194. BIN  .config/awesome/themes/elegant-blue/zenburn-background.png
  195. BIN  .config/awesome/themes/simpledark/icons/battery/ac.png
  196. BIN  .config/awesome/themes/simpledark/icons/battery/full.png
  197. BIN  .config/awesome/themes/simpledark/icons/battery/low.png
  198. BIN  .config/awesome/themes/simpledark/icons/battery/medium.png
  199. BIN  .config/awesome/themes/simpledark/icons/seperator/arrow_left.png
  200. BIN  .config/awesome/themes/simpledark/icons/seperator/arrow_right.png
  201. BIN  .config/awesome/themes/simpledark/icons/seperator/line.png
  202. BIN  .config/awesome/themes/simpledark/icons/seperator/raute.png
  203. BIN  .config/awesome/themes/simpledark/icons/volume/max.png
  204. BIN  .config/awesome/themes/simpledark/icons/volume/medium.png
  205. BIN  .config/awesome/themes/simpledark/icons/volume/min.png
  206. BIN  .config/awesome/themes/simpledark/icons/volume/mute.png
  207. BIN  .config/awesome/themes/simpledark/icons/volume/zero.png
  208. BIN  .config/awesome/themes/simpledark/layouts/dwindle.png
  209. BIN  .config/awesome/themes/simpledark/layouts/fairh.png
  210. BIN  .config/awesome/themes/simpledark/layouts/fairv.png
  211. BIN  .config/awesome/themes/simpledark/layouts/floating.png
  212. BIN  .config/awesome/themes/simpledark/layouts/fullscreen.png
  213. BIN  .config/awesome/themes/simpledark/layouts/magnifier.png
  214. BIN  .config/awesome/themes/simpledark/layouts/max.png
  215. BIN  .config/awesome/themes/simpledark/layouts/spiral.png
  216. BIN  .config/awesome/themes/simpledark/layouts/tile.png
  217. BIN  .config/awesome/themes/simpledark/layouts/tilebottom.png
  218. BIN  .config/awesome/themes/simpledark/layouts/tileleft.png
  219. BIN  .config/awesome/themes/simpledark/layouts/tiletop.png
  220. BIN  .config/awesome/themes/simpledark/spacer.png
  221. BIN  .config/awesome/themes/simpledark/submenu.png
  222. BIN  .config/awesome/themes/simpledark/taglist/squarefw.png
  223. BIN  .config/awesome/themes/simpledark/taglist/squarew.png
  224. BIN  .config/awesome/themes/simpledark/tasklist/floatingw.png
  225. +86 −0 .config/awesome/themes/simpledark/theme.lua
  226. +20 −0 .config/awesome/themes/simpledark/worldmap.vim
  227. +322 −0 .config/awesome/widgets.lua
View
1  .config/awesome/.git_old/COMMIT_EDITMSG
@@ -0,0 +1 @@
+Changed screen layout and editor
View
1  .config/awesome/.git_old/HEAD
@@ -0,0 +1 @@
+ref: refs/heads/master
View
1  .config/awesome/.git_old/ORIG_HEAD
@@ -0,0 +1 @@
+caa95d54c4c5559dc2554d19df4fe816d59c593c
View
5 .config/awesome/.git_old/config
@@ -0,0 +1,5 @@
+[core]
+ repositoryformatversion = 0
+ filemode = true
+ bare = false
+ logallrefupdates = true
View
1  .config/awesome/.git_old/description
@@ -0,0 +1 @@
+Unnamed repository; edit this file 'description' to name the repository.
View
15 .config/awesome/.git_old/hooks/applypatch-msg.sample
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# An example hook script to check the commit log message taken by
+# applypatch from an e-mail message.
+#
+# The hook should exit with non-zero status after issuing an
+# appropriate message if it wants to stop the commit. The hook is
+# allowed to edit the commit message file.
+#
+# To enable this hook, rename this file to "applypatch-msg".
+
+. git-sh-setup
+test -x "$GIT_DIR/hooks/commit-msg" &&
+ exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"}
+:
View
24 .config/awesome/.git_old/hooks/commit-msg.sample
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# An example hook script to check the commit log message.
+# Called by "git commit" with one argument, the name of the file
+# that has the commit message. The hook should exit with non-zero
+# status after issuing an appropriate message if it wants to stop the
+# commit. The hook is allowed to edit the commit message file.
+#
+# To enable this hook, rename this file to "commit-msg".
+
+# Uncomment the below to add a Signed-off-by line to the message.
+# Doing this in a hook is a bad idea in general, but the prepare-commit-msg
+# hook is more suited to it.
+#
+# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
+# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
+
+# This example catches duplicate Signed-off-by lines.
+
+test "" = "$(grep '^Signed-off-by: ' "$1" |
+ sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {
+ echo >&2 Duplicate Signed-off-by lines.
+ exit 1
+}
View
8 .config/awesome/.git_old/hooks/post-update.sample
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# An example hook script to prepare a packed repository for use over
+# dumb transports.
+#
+# To enable this hook, rename this file to "post-update".
+
+exec git update-server-info
View
14 .config/awesome/.git_old/hooks/pre-applypatch.sample
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# An example hook script to verify what is about to be committed
+# by applypatch from an e-mail message.
+#
+# The hook should exit with non-zero status after issuing an
+# appropriate message if it wants to stop the commit.
+#
+# To enable this hook, rename this file to "pre-applypatch".
+
+. git-sh-setup
+test -x "$GIT_DIR/hooks/pre-commit" &&
+ exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"}
+:
View
50 .config/awesome/.git_old/hooks/pre-commit.sample
@@ -0,0 +1,50 @@
+#!/bin/sh
+#
+# An example hook script to verify what is about to be committed.
+# Called by "git commit" with no arguments. The hook should
+# exit with non-zero status after issuing an appropriate message if
+# it wants to stop the commit.
+#
+# To enable this hook, rename this file to "pre-commit".
+
+if git rev-parse --verify HEAD >/dev/null 2>&1
+then
+ against=HEAD
+else
+ # Initial commit: diff against an empty tree object
+ against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
+fi
+
+# If you want to allow non-ascii filenames set this variable to true.
+allownonascii=$(git config hooks.allownonascii)
+
+# Redirect output to stderr.
+exec 1>&2
+
+# Cross platform projects tend to avoid non-ascii filenames; prevent
+# them from being added to the repository. We exploit the fact that the
+# printable range starts at the space character and ends with tilde.
+if [ "$allownonascii" != "true" ] &&
+ # Note that the use of brackets around a tr range is ok here, (it's
+ # even required, for portability to Solaris 10's /usr/bin/tr), since
+ # the square bracket bytes happen to fall in the designated range.
+ test $(git diff --cached --name-only --diff-filter=A -z $against |
+ LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
+then
+ echo "Error: Attempt to add a non-ascii file name."
+ echo
+ echo "This can cause problems if you want to work"
+ echo "with people on other platforms."
+ echo
+ echo "To be portable it is advisable to rename the file ..."
+ echo
+ echo "If you know what you are doing you can disable this"
+ echo "check using:"
+ echo
+ echo " git config hooks.allownonascii true"
+ echo
+ exit 1
+fi
+
+# If there are whitespace errors, print the offending file names and fail.
+exec git diff-index --check --cached $against --
View
169 .config/awesome/.git_old/hooks/pre-rebase.sample
@@ -0,0 +1,169 @@
+#!/bin/sh
+#
+# Copyright (c) 2006, 2008 Junio C Hamano
+#
+# The "pre-rebase" hook is run just before "git rebase" starts doing
+# its job, and can prevent the command from running by exiting with
+# non-zero status.
+#
+# The hook is called with the following parameters:
+#
+# $1 -- the upstream the series was forked from.
+# $2 -- the branch being rebased (or empty when rebasing the current branch).
+#
+# This sample shows how to prevent topic branches that are already
+# merged to 'next' branch from getting rebased, because allowing it
+# would result in rebasing already published history.
+
+publish=next
+basebranch="$1"
+if test "$#" = 2
+then
+ topic="refs/heads/$2"
+else
+ topic=`git symbolic-ref HEAD` ||
+ exit 0 ;# we do not interrupt rebasing detached HEAD
+fi
+
+case "$topic" in
+refs/heads/??/*)
+ ;;
+*)
+ exit 0 ;# we do not interrupt others.
+ ;;
+esac
+
+# Now we are dealing with a topic branch being rebased
+# on top of master. Is it OK to rebase it?
+
+# Does the topic really exist?
+git show-ref -q "$topic" || {
+ echo >&2 "No such branch $topic"
+ exit 1
+}
+
+# Is topic fully merged to master?
+not_in_master=`git rev-list --pretty=oneline ^master "$topic"`
+if test -z "$not_in_master"
+then
+ echo >&2 "$topic is fully merged to master; better remove it."
+ exit 1 ;# we could allow it, but there is no point.
+fi
+
+# Is topic ever merged to next? If so you should not be rebasing it.
+only_next_1=`git rev-list ^master "^$topic" ${publish} | sort`
+only_next_2=`git rev-list ^master ${publish} | sort`
+if test "$only_next_1" = "$only_next_2"
+then
+ not_in_topic=`git rev-list "^$topic" master`
+ if test -z "$not_in_topic"
+ then
+ echo >&2 "$topic is already up-to-date with master"
+ exit 1 ;# we could allow it, but there is no point.
+ else
+ exit 0
+ fi
+else
+ not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"`
+ /usr/bin/perl -e '
+ my $topic = $ARGV[0];
+ my $msg = "* $topic has commits already merged to public branch:\n";
+ my (%not_in_next) = map {
+ /^([0-9a-f]+) /;
+ ($1 => 1);
+ } split(/\n/, $ARGV[1]);
+ for my $elem (map {
+ /^([0-9a-f]+) (.*)$/;
+ [$1 => $2];
+ } split(/\n/, $ARGV[2])) {
+ if (!exists $not_in_next{$elem->[0]}) {
+ if ($msg) {
+ print STDERR $msg;
+ undef $msg;
+ }
+ print STDERR " $elem->[1]\n";
+ }
+ }
+ ' "$topic" "$not_in_next" "$not_in_master"
+ exit 1
+fi
+
+exit 0
+
+################################################################
+
+This sample hook safeguards topic branches that have been
+published from being rewound.
+
+The workflow assumed here is:
+
+ * Once a topic branch forks from "master", "master" is never
+ merged into it again (either directly or indirectly).
+
+ * Once a topic branch is fully cooked and merged into "master",
+ it is deleted. If you need to build on top of it to correct
+ earlier mistakes, a new topic branch is created by forking at
+ the tip of the "master". This is not strictly necessary, but
+ it makes it easier to keep your history simple.
+
+ * Whenever you need to test or publish your changes to topic
+ branches, merge them into "next" branch.
+
+The script, being an example, hardcodes the publish branch name
+to be "next", but it is trivial to make it configurable via
+$GIT_DIR/config mechanism.
+
+With this workflow, you would want to know:
+
+(1) ... if a topic branch has ever been merged to "next". Young
+ topic branches can have stupid mistakes you would rather
+ clean up before publishing, and things that have not been
+ merged into other branches can be easily rebased without
+ affecting other people. But once it is published, you would
+ not want to rewind it.
+
+(2) ... if a topic branch has been fully merged to "master".
+ Then you can delete it. More importantly, you should not
+ build on top of it -- other people may already want to
+ change things related to the topic as patches against your
+ "master", so if you need further changes, it is better to
+ fork the topic (perhaps with the same name) afresh from the
+ tip of "master".
+
+Let's look at this example:
+
+ o---o---o---o---o---o---o---o---o---o "next"
+ / / / /
+ / a---a---b A / /
+ / / / /
+ / / c---c---c---c B /
+ / / / \ /
+ / / / b---b C \ /
+ / / / / \ /
+ ---o---o---o---o---o---o---o---o---o---o---o "master"
+
+
+A, B and C are topic branches.
+
+ * A has one fix since it was merged up to "next".
+
+ * B has finished. It has been fully merged up to "master" and "next",
+ and is ready to be deleted.
+
+ * C has not merged to "next" at all.
+
+We would want to allow C to be rebased, refuse A, and encourage
+B to be deleted.
+
+To compute (1):
+
+ git rev-list ^master ^topic next
+ git rev-list ^master next
+
+ if these match, topic has not merged in next at all.
+
+To compute (2):
+
+ git rev-list master..topic
+
+ if this is empty, it is fully merged to "master".
View
36 .config/awesome/.git_old/hooks/prepare-commit-msg.sample
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# An example hook script to prepare the commit log message.
+# Called by "git commit" with the name of the file that has the
+# commit message, followed by the description of the commit
+# message's source. The hook's purpose is to edit the commit
+# message file. If the hook fails with a non-zero status,
+# the commit is aborted.
+#
+# To enable this hook, rename this file to "prepare-commit-msg".
+
+# This hook includes three examples. The first comments out the
+# "Conflicts:" part of a merge commit.
+#
+# The second includes the output of "git diff --name-status -r"
+# into the message, just before the "git status" output. It is
+# commented because it doesn't cope with --amend or with squashed
+# commits.
+#
+# The third example adds a Signed-off-by line to the message, that can
+# still be edited. This is rarely a good idea.
+
+case "$2,$3" in
+ merge,)
+ /usr/bin/perl -i.bak -ne 's/^/# /, s/^# #/#/ if /^Conflicts/ .. /#/; print' "$1" ;;
+
+# ,|template,)
+# /usr/bin/perl -i.bak -pe '
+# print "\n" . `git diff --cached --name-status -r`
+# if /^#/ && $first++ == 0' "$1" ;;
+
+ *) ;;
+esac
+
+# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
+# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
View
128 .config/awesome/.git_old/hooks/update.sample
@@ -0,0 +1,128 @@
+#!/bin/sh
+#
+# An example hook script to blocks unannotated tags from entering.
+# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
+#
+# To enable this hook, rename this file to "update".
+#
+# Config
+# ------
+# hooks.allowunannotated
+# This boolean sets whether unannotated tags will be allowed into the
+# repository. By default they won't be.
+# hooks.allowdeletetag
+# This boolean sets whether deleting tags will be allowed in the
+# repository. By default they won't be.
+# hooks.allowmodifytag
+# This boolean sets whether a tag may be modified after creation. By default
+# it won't be.
+# hooks.allowdeletebranch
+# This boolean sets whether deleting branches will be allowed in the
+# repository. By default they won't be.
+# hooks.denycreatebranch
+# This boolean sets whether remotely creating branches will be denied
+# in the repository. By default this is allowed.
+#
+
+# --- Command line
+refname="$1"
+oldrev="$2"
+newrev="$3"
+
+# --- Safety check
+if [ -z "$GIT_DIR" ]; then
+ echo "Don't run this script from the command line." >&2
+ echo " (if you want, you could supply GIT_DIR then run" >&2
+ echo " $0 <ref> <oldrev> <newrev>)" >&2
+ exit 1
+fi
+
+if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
+ echo "Usage: $0 <ref> <oldrev> <newrev>" >&2
+ exit 1
+fi
+
+# --- Config
+allowunannotated=$(git config --bool hooks.allowunannotated)
+allowdeletebranch=$(git config --bool hooks.allowdeletebranch)
+denycreatebranch=$(git config --bool hooks.denycreatebranch)
+allowdeletetag=$(git config --bool hooks.allowdeletetag)
+allowmodifytag=$(git config --bool hooks.allowmodifytag)
+
+# check for no description
+projectdesc=$(sed -e '1q' "$GIT_DIR/description")
+case "$projectdesc" in
+"Unnamed repository"* | "")
+ echo "*** Project description file hasn't been set" >&2
+ exit 1
+ ;;
+esac
+
+# --- Check types
+# if $newrev is 0000...0000, it's a commit to delete a ref.
+zero="0000000000000000000000000000000000000000"
+if [ "$newrev" = "$zero" ]; then
+ newrev_type=delete
+else
+ newrev_type=$(git cat-file -t $newrev)
+fi
+
+case "$refname","$newrev_type" in
+ refs/tags/*,commit)
+ # un-annotated tag
+ short_refname=${refname##refs/tags/}
+ if [ "$allowunannotated" != "true" ]; then
+ echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2
+ echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2
+ exit 1
+ fi
+ ;;
+ refs/tags/*,delete)
+ # delete tag
+ if [ "$allowdeletetag" != "true" ]; then
+ echo "*** Deleting a tag is not allowed in this repository" >&2
+ exit 1
+ fi
+ ;;
+ refs/tags/*,tag)
+ # annotated tag
+ if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1
+ then
+ echo "*** Tag '$refname' already exists." >&2
+ echo "*** Modifying a tag is not allowed in this repository." >&2
+ exit 1
+ fi
+ ;;
+ refs/heads/*,commit)
+ # branch
+ if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
+ echo "*** Creating a branch is not allowed in this repository" >&2
+ exit 1
+ fi
+ ;;
+ refs/heads/*,delete)
+ # delete branch
+ if [ "$allowdeletebranch" != "true" ]; then
+ echo "*** Deleting a branch is not allowed in this repository" >&2
+ exit 1
+ fi
+ ;;
+ refs/remotes/*,commit)
+ # tracking branch
+ ;;
+ refs/remotes/*,delete)
+ # delete tracking branch
+ if [ "$allowdeletebranch" != "true" ]; then
+ echo "*** Deleting a tracking branch is not allowed in this repository" >&2
+ exit 1
+ fi
+ ;;
+ *)
+ # Anything else (is there anything else?)
+ echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2
+ exit 1
+ ;;
+esac
+
+# --- Finished
+exit 0
View
BIN  .config/awesome/.git_old/index
Binary file not shown
View
6 .config/awesome/.git_old/info/exclude
@@ -0,0 +1,6 @@
+# git ls-files --others --exclude-from=.git/info/exclude
+# Lines that start with '#' are comments.
+# For a project mostly in C, the following would be a good set of
+# exclude patterns (uncomment them if you want to use them):
+# *.[oa]
+# *~
View
11 .config/awesome/.git_old/logs/HEAD
@@ -0,0 +1,11 @@
+0000000000000000000000000000000000000000 745452a9c82c8166f88de9ac8b67d119b664529f Patrick Niklaus <marex@compiz-fusion.org> 1345636897 +0200 commit (initial): Current config.
+745452a9c82c8166f88de9ac8b67d119b664529f 3f2f0070440a55d142a0b313d2e81dafce607716 Patrick Niklaus <marex@compiz-fusion.org> 1345636959 +0200 commit: Update for awesome-giz
+3f2f0070440a55d142a0b313d2e81dafce607716 745452a9c82c8166f88de9ac8b67d119b664529f Patrick Niklaus <marex@compiz-fusion.org> 1345636965 +0200 reset: moving to HEAD^
+745452a9c82c8166f88de9ac8b67d119b664529f caa95d54c4c5559dc2554d19df4fe816d59c593c Patrick Niklaus <marex@compiz-fusion.org> 1345636972 +0200 commit: Update for awesome-git
+caa95d54c4c5559dc2554d19df4fe816d59c593c 745452a9c82c8166f88de9ac8b67d119b664529f Patrick Niklaus <marex@compiz-fusion.org> 1345671699 +0200 reset: moving to HEAD^
+745452a9c82c8166f88de9ac8b67d119b664529f 745452a9c82c8166f88de9ac8b67d119b664529f Patrick Niklaus <marex@compiz-fusion.org> 1345671718 +0200 checkout: moving from master to next
+745452a9c82c8166f88de9ac8b67d119b664529f 9d16826b737c01789defddcab013a6205ddbb900 Patrick Niklaus <marex@compiz-fusion.org> 1345671741 +0200 commit: Update for awesome current git head
+9d16826b737c01789defddcab013a6205ddbb900 745452a9c82c8166f88de9ac8b67d119b664529f Patrick Niklaus <marex@compiz-fusion.org> 1345671747 +0200 checkout: moving from next to master
+745452a9c82c8166f88de9ac8b67d119b664529f 9c1448a1ff2018b4088de425ac3ada8c22f3432a Patrick Niklaus <marex@compiz-fusion.org> 1346237668 +0200 commit: Added battery, network and temperature widgets
+9c1448a1ff2018b4088de425ac3ada8c22f3432a 1a306cf51ab1ab5836a9d092b26c9d6b80ac3090 Patrick Niklaus <marex@compiz-fusion.org> 1346237735 +0200 commit: Added icons.
+1a306cf51ab1ab5836a9d092b26c9d6b80ac3090 41b310bf24f141c1d9d027e33a76dad0ec7dfa0d Patrick Niklaus <marex@compiz-fusion.org> 1348697095 +0200 commit: Changed screen layout and editor
View
8 .config/awesome/.git_old/logs/refs/heads/master
@@ -0,0 +1,8 @@
+0000000000000000000000000000000000000000 745452a9c82c8166f88de9ac8b67d119b664529f Patrick Niklaus <marex@compiz-fusion.org> 1345636897 +0200 commit (initial): Current config.
+745452a9c82c8166f88de9ac8b67d119b664529f 3f2f0070440a55d142a0b313d2e81dafce607716 Patrick Niklaus <marex@compiz-fusion.org> 1345636959 +0200 commit: Update for awesome-giz
+3f2f0070440a55d142a0b313d2e81dafce607716 745452a9c82c8166f88de9ac8b67d119b664529f Patrick Niklaus <marex@compiz-fusion.org> 1345636965 +0200 reset: moving to HEAD^
+745452a9c82c8166f88de9ac8b67d119b664529f caa95d54c4c5559dc2554d19df4fe816d59c593c Patrick Niklaus <marex@compiz-fusion.org> 1345636972 +0200 commit: Update for awesome-git
+caa95d54c4c5559dc2554d19df4fe816d59c593c 745452a9c82c8166f88de9ac8b67d119b664529f Patrick Niklaus <marex@compiz-fusion.org> 1345671699 +0200 reset: moving to HEAD^
+745452a9c82c8166f88de9ac8b67d119b664529f 9c1448a1ff2018b4088de425ac3ada8c22f3432a Patrick Niklaus <marex@compiz-fusion.org> 1346237668 +0200 commit: Added battery, network and temperature widgets
+9c1448a1ff2018b4088de425ac3ada8c22f3432a 1a306cf51ab1ab5836a9d092b26c9d6b80ac3090 Patrick Niklaus <marex@compiz-fusion.org> 1346237735 +0200 commit: Added icons.
+1a306cf51ab1ab5836a9d092b26c9d6b80ac3090 41b310bf24f141c1d9d027e33a76dad0ec7dfa0d Patrick Niklaus <marex@compiz-fusion.org> 1348697095 +0200 commit: Changed screen layout and editor
View
2  .config/awesome/.git_old/logs/refs/heads/next
@@ -0,0 +1,2 @@
+0000000000000000000000000000000000000000 745452a9c82c8166f88de9ac8b67d119b664529f Patrick Niklaus <marex@compiz-fusion.org> 1345671715 +0200 branch: Created from master
+745452a9c82c8166f88de9ac8b67d119b664529f 9d16826b737c01789defddcab013a6205ddbb900 Patrick Niklaus <marex@compiz-fusion.org> 1345671741 +0200 commit: Update for awesome current git head
View
BIN  .config/awesome/.git_old/objects/03/d559115434700dd99476d9912dda9546a5517c
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/04/14dff6fdce94af4f32984fe6ddbbe5d0dc9b9b
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/04/e17df1344ee22b9fbecb37e6b88076052f066f
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/0d/2ce7ca1b81f70c654f6e34a52b1b2ed26c09f0
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/10/2f9da212d377c8bcd799d849ccbb375371fdc4
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/11/b33493941efeef035a0e78784d0e2831dd5898
Binary file not shown
View
3  .config/awesome/.git_old/objects/14/928c5f6b30d66f3e1ec96c8555969f8b7f8748
@@ -0,0 +1,3 @@
+x}S�n�0�_A�b��(P @=�[�kAI+ia�����n���a;na�ș���-������Oۭ�n�Š+
+ ��A�)e�&;�#��a]L@�0�f�&W9�'�)J�%��q:�"���G� �\7��v|��� y�
+�:��\nv6���H3`�'�g�$]�$�Q��A���2�-�v����]� A@M���q�j8@����K`�P/ԓ.�1��a�~�k|�m�@*4��BRb��Go���(vy��.b�ߙ�_vv�4�6���A-�fd SL��Vq���#[��=\~�5חzJ2{ v��bY3�B���Q�x�E��v ���QO�+�_��o���u�=Rfy6��z��rS���$�FS���r2�t�Y�V�}} edyK�;�q��]AI���J��[|c1��LGQ`�nɼ=ܡ���KU�Um��v�z�>U�y�V�gZ]&ke��j�L�H�<a�m�0��?.�5u�(O#��~���6~s
View
BIN  .config/awesome/.git_old/objects/15/11b4a163845f1769b820c74df7e63199c08b61
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/15/b0372fffdfb9d574a90a8d8da56e69087491b4
Binary file not shown
View
5 .config/awesome/.git_old/objects/19/12cce44c711b9fbc21f5a9d90e2b6bb9413493
@@ -0,0 +1,5 @@
+x�TMo1����hS)�4��P��J ĩ�'YS���GC������8p�ee���{of����ū��g��]�lF?x�S�h��o����P1��3�n} \�V�����[���/��!�J�;#6�����G�\z�0 �4Z28q?�X-��\
+�Y��AT�,r�W#84����O_�&�/�� ��++��eqT�:�VF������e-l�(���� ·5�.s��E����Y���<���ќ)��5� �`P9h�"�(eʅ<p���^�b�b���H);��r�
+��}HO*����^۷Xzm��K�s/)���J�j��������x�Y]h��oŵ��RM�����W$�*�r���84FGaM�6P����X�eB���hf�"T�{!q��P��[�Q��%T<��w����0X����%��7FS��w��+ˤ&��k/��p
+o�08ɻ�"ڝ&p��;A���pN���/���{�u&%�S� ��0G �"��,��$�(���D����-q�^Ua�@j�'��(j�j(�C�E�eE���0
+��w��=��s�\>�y6��C������FP�h�w�GB'�mi�.==��7L�?���<���)���z� 5�i�˂q�J�u��N�Mӡ��d�l�y��B��{��VD�U"�4:��
View
BIN  .config/awesome/.git_old/objects/1a/306cf51ab1ab5836a9d092b26c9d6b80ac3090
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/1b/f88e785447442408077c7a9ae3227bf2bcd3e7
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/1d/0529970b9b1f9b50bf5fd5c0a053da0c580049
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/20/ee0146ffa070d4fe8c4bee34c3199416801322
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/21/88da38025b42e0aa949eb0308f3248f280e443
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/22/ab86f93641cfc24540867dd93fa0e86924df73
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/23/1fdab4114756c47be0743a23498a846b2ae76b
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/25/4963def9d2a59f2347c367071260ec55cb230b
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/26/384f0cf458ed9fc9f35ee2d7bdb0f44f6cee3d
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/27/a2631ad49def6e84355968f5f46406b3d9b095
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/28/21863abd84cbf5af138aacdc01f85acbc789b6
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/2d/d29b4a1937964cabc96db7f79c4139e6385db4
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/31/fc7d5ffd478dea49d5b53394ca5b3a5c80eac4
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/33/5202fedd283708d84dcc097b1d2245876990be
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/34/190cf09df819cdf32b162c9251c1824fdd91b7
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/35/7437d3e3cdfdba522d49b21726eea81f9c3c97
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/35/7813ec80371f8d8b9214c7dc5d2687a9e0a209
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/3d/c8c3a9f7bfab1b287e9351dfac1f1b69be4cec
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/3d/d904309c62a70edac072743424fd3fbdcd798f
Binary file not shown
View
6 .config/awesome/.git_old/objects/3d/e2814bc1b03fcf953aa38a21d0abe49ef5d804
@@ -0,0 +1,6 @@
+x�WM��0�_a� ]��^rA+$�]�B+7���\;�m���NB'���R��z�<3�7~c�(_���|�b6CwY��k��'�����L��ak
+H4�*���R�q���W(M��`ҟؐB>i!+�:1��EF��C�% ��#0��� �
+E�f-��D
+����V�������F��/E�R=�U}����/�l��nb|�>�J��pğ��`ߺ�c�]���� �ii��
+�չI�<���Plì�Q�ha �K���d���ڄ��ں2(�/yi��u_BN��0 ʱ�)0�F3 �q���Nʾ� fZi;_)z�quϫ
+� �x��U�A�����nu�d7�4��3d��HX{��9e�Z�X�<1�>g5kZ�U��=k��2u �7=f��c�13z�x!w#и�@8��r� 1E�l��&?��Q�Γ�0#�-�!|lz����껄��W�� @l��x~f�eb�|��\S���4�S)g�;�x�yԁ�� t�/W�~V��w�����<H�-XQi^*����/"w�卆}n��2+��߾1—��!ނc�,w �g�C�m�J�
View
BIN  .config/awesome/.git_old/objects/3e/a2a4e8da4f06faccfaa87be575cb66dfd3aede
Binary file not shown
View
1  .config/awesome/.git_old/objects/3f/2f0070440a55d142a0b313d2e81dafce607716
@@ -0,0 +1 @@
+x��Kn� E3f�#W� ReU']�3����`a�V^}�C�����XKɝ+�O�!rLDHR�H,r����lg�g+4|w>k����^:G�' ���$eX�{ {�ƿ����3?_�o�R���kY�1Ѿ�����~�R� 6�PB��Ԏ����5A?G ��V N�|�?��S7
View
BIN  .config/awesome/.git_old/objects/41/b310bf24f141c1d9d027e33a76dad0ec7dfa0d
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/45/499e9cc263abd321ac691f59fbabe519f50c9b
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/45/5e37a4b9fa561c8bfa3da75df6c6ad0d767a8d
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/47/df651d69ad815d2f4d01f546d6ae8f00e6e571
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/48/51f5ccccdc44cfbfd9917f71588d346a933f69
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/4a/ca6968894e3bd693284490bd8cebdf34b375cf
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/4b/1b2a3b7f8ef029fbf4dea55c18ca32aab1bcd4
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/4c/b9bf35a5c30b9674b9490858b732a3aaac282f
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/4f/1990a86fc2c1db03c6f1fa5e6f34c46996070a
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/52/a116304ece75f16896152bd96df1a9238d25bd
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/52/e48c540ab1e64463895d1d5ebfa8a8dcdcc6a2
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/58/4b71cce220a2ccf26b15076638a827a461e423
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/59/a8d69b12eb18411f6ad6e662b2e2616da967ff
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/5a/8b2038a626359360c2f46a17b6680f14dc2756
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/5d/13054b60118225af7fa99ccd80ebc54e986ca1
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/5d/a34d699673c7b0fa4da6fcd72a2326afbc02fc
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/5f/607a6abe96ab809d414d08ee07a089eb76e25e
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/60/1bc810fc16cb1d98a32c464073b0f4fc67031f
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/61/09134bf76a7bb9a09971a87b4dc9a4d88c4440
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/63/1534345dce85d42f413d6338341799dea1d77f
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/63/c42cc496bedec292a0f66c87b75314fbff9b30
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/65/0c180d02b734de78fab07eda6468ffbbfb72a3
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/67/7543aff61f038f6b2009691e8f4ad7d467caa2
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/6a/0c1d016a00f7cde1052b302de236d299233762
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/6c/4d11c826170989f0f676b21be13dd6dcc6b7dd
Binary file not shown
View
3  .config/awesome/.git_old/objects/6d/1e2549d900ce79693c16f6ac42c8d2c04eeace
@@ -0,0 +1,3 @@
+x]�A� D���wm�����/`mLhM���(v�?��a��ifiL{)
+�4�~���<�Rʛ��v�|&�Me*C
+�8ը2�X�tv� JѶ�dRF�H<�!�&ZǚD�v�Ԧ�lI|�sG�m'�>f?��h�2�@Z��_���-���Y����齳q�'�;�H܏���<����XL
View
BIN  .config/awesome/.git_old/objects/6e/78f806579a4b1b7084d36d4e0f804304ab19f8
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/70/25444cf976caa4db490d6abccecad007367672
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/71/8702adc26ce7e4899f48e91a0e2b10a4bf2d12
Binary file not shown
View
3  .config/awesome/.git_old/objects/74/5452a9c82c8166f88de9ac8b67d119b664529f
@@ -0,0 +1,3 @@
+x���
+� ��}�s 7�S���^A�q�R�L!z����|�/)�
+�чJ� ���(��D�feĠ�4��ڣ���NL�̶�,[)��q}ٶ�9Y��՗��Sh[,�+�\�rTBi3�������Bحa��Kq��9�Ba
View
BIN  .config/awesome/.git_old/objects/74/6bd125e2f63f4ceb2d50111d5d704691433f7a
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/74/9804bc00b533e24e9df07bb9e012155d75445a
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/76/3ab58f50ce33f905cc648506c4a5f635f6e3ed
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/7b/2e1fb7cdc098937c35fc5b8ad8fa238cab9735
Binary file not shown
View
1  .config/awesome/.git_old/objects/7b/5eaa83f12bfad0912deb0478bda54af4009fc5
@@ -0,0 +1 @@
+x�UK��0��_aE��EM$vO���j�=�rv�q:����U�;v�6 I��KM�����\�\_߼}��d~ ��UA�` ׆вȨC�lT�� r�͘V�,�-�@�'$���d:�ǝ��O�%z9Ms��,�d�?X�����wk{�h8Z��'䵼��H{��Ur��c~Y��̩��s� o�����#��� 8��N��^l��#I�Q�Px;�W�CA��]�����.�Y���~&�F:�hiB6$Z��,�Rʍ�_� �����E��(���o�������Fpi��a�Sَp4�PQ W��h���?�W�_jJ���iZRb8-ڄ[���j�=L����P�0�dC�u`N�o��<�VN��/ )�6�2�z&+4�S��<��u�Z�u-���=_�� I�TѢ'~��+�qw�m�X+M�?� ]C袕�Ӿ'�60M�c"L�[�� g���_C|�pI�r-�΅AL�O܋,6���\@�K��GP��R��̞ws�fN�W,�Z2cW� �*������P�0�"��WM���I�~�m4`v �����+({��~��������X.��f^��k v����W��n2� ���
View
BIN  .config/awesome/.git_old/objects/80/0187483a97292e9021ea74d97d24e73e17fda2
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/80/2363f7c059d67cf459f08fd95ba7b58a46b08e
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/84/63f08423fd349307b00bfd559eba56bab83a33
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/87/26940cbb0d81ded5968dbf2d9b19e9d28b4dc8
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/87/d0e33d2cfd83ca99dc14928fd800841ba80845
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/8a/bbc52a64bddeb1a508b392cdb72b9f0d588008
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/8b/9b5d30f580d4bddbd9c79057fbf05ba0ea1883
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/8c/05f52acfc61fc72abafb6ce3eaa8cdb6794651
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/8f/47f581cb82e35e2f78041f4115ad42fa76d5c7
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/91/7d3a0b4e1c495766b2b8a3cd898880a7f9220c
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/92/46dd22969055ea2238937db5a69791fafb3e4b
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/93/7c6e69940474b3eca2e227fbec50ed7a61c7e5
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/95/810099d1dc8d5c2dd75045c773cf5b63587f4b
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/96/a6e92442681e6f2ab6a1a5ccda34f38d2be558
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/9a/54ae9d4c49a187bbe16bcdc24f0228db8d3bb7
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/9c/1448a1ff2018b4088de425ac3ada8c22f3432a
Binary file not shown
View
3  .config/awesome/.git_old/objects/9d/16826b737c01789defddcab013a6205ddbb900
@@ -0,0 +1,3 @@
+x��AND!D]s
+�F 4�� ��4� �a�������*/��zkuJ�0�T�{B��.^8[�O�I:�HŢĆ��Sz�3)
+���9"�>k��cx�K��t���z�c�/mq�ߨ���<�c������U�u൷Z>*��X��:�_�e�,�r�/�{cI���r^G\�� RV�
View
BIN  .config/awesome/.git_old/objects/9e/90dd38513669e743eadbc70ca87578cad37a25
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/a8/a80ab345adc61fac248243861edfebfab351c7
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/ad/c3aa10dfad3e527ac575b82f2ef1a3818a0fae
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/ae/f96ade93ecfa921759f0a0d073dd36e36ff380
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/af/5dff0d26c09b1d9edfcd7c35254f56a54ff9b2
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/b2/c14d92925f117569e5d1dc95f327578bda8821
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/b3/49153891693bed9301d72fad93a28733d7ce55
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/b7/01ea1fcf05d693adca6586c8a1589f4d50ac3c
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/b8/514a9d14a1e7ad6f2b9c60a9fba623f8a23cc2
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/bb/7b6336096cd28385e36b172e9285ff4efac0be
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/be/c7bff34d9e29869b148ceaf1461d633ec3307b
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/bf/9c72d3c69d6892e058ad2948894a916976f825
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/bf/fc784479dc5c9c12b29afd7aa9e02e20904966
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/c1/f6b766438d3a1a727a26585f70682e8cc3697f
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/c3/6f1ead0f56ebac51e926e7ad77c6ca73061920
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/c4/899bb5fe855ec564f9242d071f517b82d286bc
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/c9/7821a5cf817bdfd94d2fce0c775ccb1083734f
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/ca/a95d54c4c5559dc2554d19df4fe816d59c593c
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/cb/c91f2859cab00894bbc2d66b2fd24af0ab97df
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/ce/e1676e5cd46774ab4ada6d0ce6899bb857ab70
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/ce/edfee54dfd95da3e808957d3e2aa14b2d27274
Binary file not shown
View
4 .config/awesome/.git_old/objects/d0/93c83624204b120993a7284bd37bcce91428b7
@@ -0,0 +1,4 @@
+x}Sˎ�0 �Y_!�,+-��{�ǽ��M�D$ѕ�uҢ�^�Mv��fό9C��U���/��R��~�tM��N��@0�"��a[رͮxx��Z�s��*��G��x�
+6w=����c;#/X#够�k���7�PJ���逓�K�� �p�*'^�uU�: �N{Is�A���Zk��p�Z o��!B�R_u��є �������F��qh1 #�����_��^�(�=y��[��7˘�v�4�6���A#�d
+S�]|�9[�Nڑm�����乽�I(��1X7Y��L�PU�1A�^�<f_�`�<58�}�����cnM���2��H��E��(�͋aN��;M��[�d��'�WI���,�t���-�T�L���i�ŷ�=����������
+�TG�p[�ln�_ϲ����*7Kʹ����Û��2D���2l;��e�i}>S�&��|uه����m�
View
BIN  .config/awesome/.git_old/objects/d1/2ece106f8d3ad41dabc29f02b7e8fca84c15d3
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/d2/02c860e0f1b037012fcbd793de7183e7a6c139
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/d4/69f8a21c43f72952a0e62120bab1818905af78
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/d6/80ce3a8e5fe58253ae01c8ad7ec2158295fa88
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/d8/b0f639dc4cee43ca157f5d7bd0d95afd8137e8
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/d9/936dadb92fd28baba497e7956e2efd9ae2eefa
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/d9/b4f7b46aef2a20115aefc6252da2ae5a6df6c3
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/df/907c907c6f9f088bdd269e37e44689a73999d0
Binary file not shown
View
3  .config/awesome/.git_old/objects/e7/f294e0903612b393b948dd0c1ca9f1128562ae
@@ -0,0 +1,3 @@
+x�SM��0�Y�B�,�
+�B���z�[����"i\i�޴�w�Mv!ٛ��Ӽ�|T�*}8�|*KU���b�5�;ݢ���;c�ma�6���`lfj��險@`|�6w=��u��vF��F�I?�W���7�PBH\3b�'3d�ĬA�@�G��T�e�8�8$'/�R� T��0t;�m<&�=�
+ jju���V� �j�x[| ��� m��d=l��6���C�)$%�=�,�R�bߓ���"�ǽY:��#� ��i���mA�d���j�ֹ�vd�)o�Af��^�$)��c�n�^�L�PU�1A�^�<f_�`�<5G8�}�����c��T��e���LسDQ>7ϔY8ɤ�i���~nC2���Q�U�탔���vw8�廂���ߕ0 ���b�Ǚ�"����ݒy�r�22�.� �Vu[�ۉH�Y�T�,�f��6����axs_�L$jYUös�Xf���'I�� ��<L��,l�?
View
BIN  .config/awesome/.git_old/objects/e9/d5e5c0f9f29e0647fbf46ef1b03d383a951603
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/ec/7b004fabf021f9a801094ec106934e66d91491
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/fa/4c348b602ed847faa4376e38892c2ec544991b
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/fa/edffef1aeadcaa04ff0b1baca9429347573618
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/fb/a46375d540ef7acac2de151880ef9d03a940cd
Binary file not shown
View
BIN  .config/awesome/.git_old/objects/ff/7a03a70e735d1b1f8e70f844de4fdc9133e6b4
Binary file not shown
View
1  .config/awesome/.git_old/refs/heads/master
@@ -0,0 +1 @@
+41b310bf24f141c1d9d027e33a76dad0ec7dfa0d
View
1  .config/awesome/.git_old/refs/heads/next
@@ -0,0 +1 @@
+9d16826b737c01789defddcab013a6205ddbb900
View
135 .config/awesome/apps.lua
@@ -0,0 +1,135 @@
+--
+-- Matching rules for applications
+--
+shifty.config.apps = {
+ {
+ match = {
+ class = {
+ "Chromium%-browser",
+ "Firefox",
+ }
+ },
+ tag = "Web",
+ },
+ {
+ match = {
+ class = {
+ "Pidgin"
+ }
+ },
+ tag = "IM",
+ },
+ {
+ match = {
+ "banshee"
+ },
+ tag = "Music",
+ },
+ {
+ match = {
+ "LibreOffice.*"
+ },
+ float = false,
+ tag = "Office",
+ },
+ {
+ match = {
+ "Nautilus"
+ },
+ tag = "Files",
+ },
+ {
+ match = {
+ "Vlc",
+ "Totem",
+ },
+ tag = "Media",
+ },
+ {
+ match = {
+ "Transmission",
+ },
+ tag = "Torrent",
+ },
+ {
+ match = {
+ "MPlayer",
+ "Vlc",
+ "Totem",
+ "Gimp.*"
+ },
+ float = true,
+ titlebar = true,
+ },
+ {
+ match = {
+ "Gimp.*"
+ },
+ tag = "Image",
+ float = false,
+ },
+ {
+ match = {
+ "inkscape"
+ },
+ tag = "Image",
+ float = false,
+ },
+ {
+ match = {
+ "gnome%-panel",
+ },
+ intrusive = true,
+ float = true,
+ honorsizehints = true,
+ },
+ {
+ match = {
+ "clock%-applet",
+ "hamster%-applet",
+ "Do",
+ },
+ float = true,
+ intrusive = true,
+ ontop = true,
+ },
+ {
+ match = {
+ class = {
+ "VirtualBox",
+ },
+ },
+ tag = "VM",
+ },
+ {
+ match = {
+ "update%-manager",
+ "Update%-manager",
+ },
+ tag = "Update",
+ },
+ {
+ match = {
+ type = {
+ "dialog",
+ },
+ },
+ intrusive = true,
+ },
+ --
+ -- Defaults
+ --
+ {
+ match = {""},
+ buttons = awful.util.table.join(
+ awful.button({}, 1, function (c) client.focus = c; c:raise() end),
+ awful.button({modkey}, 1, function(c)
+ client.focus = c
+ c:raise()
+ awful.mouse.client.move(c)
+ end),
+ awful.button({modkey}, 3, awful.mouse.client.resize)
+ )
+ },
+}
+
View
19 .config/awesome/colors.lua
@@ -0,0 +1,19 @@
+-- dark colors
+blk = "#262626"
+red = "#b23535"
+gre = "#60801f"
+yel = "#be6e00"
+blu = "#1f6080"
+mag = "#8f46b2"
+cya = "#73afb4"
+whi = "#b2b2b2"
+brblk = "#333333"
+brred = "#ff4b4b"
+brgre = "#9bcd32"
+bryel = "#d79b1e"
+brblu = "#329bcd"
+brmag = "#cd64ff"
+brcya = "#9bcdff"
+brwhi = "#ffffff"
+trblk = "#0d0d0d"
+trwhi = "#ffffff"
View
264 .config/awesome/delightful/utils.lua
@@ -0,0 +1,264 @@
+-------------------------------------------------------------------------------
+--
+-- Common utility routines for Delightful widgets for Awesome 3.4
+-- Copyright (C) 2011 Tuomas Jormola <tj@solitudo.net>
+--
+-- Licensed under the terms of GNU General Public License Version 2.0.
+--
+-------------------------------------------------------------------------------
+
+local awful_util = require('awful.util')
+local beautiful = require('beautiful')
+
+local freedesktop_utils = require('freedesktop.utils')
+
+local pairs = pairs
+local print = print
+local string = { format = string.format }
+local table = { insert = table.insert }
+local tostring = tostring
+local type = type
+
+module('delightful.utils')
+
+-- get configuration with defaults applied
+function get_empty_config(config_description)
+ local empty_config = {}
+ for config_id, config_description_entry in pairs(config_description) do
+ local config_key = config_description_entry.name
+ empty_config[config_key] =
+ evaluate_config_value(config_description_entry.default,
+ empty_config, config_description_entry.coerce)
+ end
+ return empty_config
+end
+
+-- fully evaluate given configuration against description
+function normalize_config(config_data, config_description)
+ for config_id, config_description_entry in pairs(config_description) do
+ local config_key = config_description_entry.name
+ local config_value
+ if config_data[config_key] == nil then
+ config_value = config_description_entry.default
+ else
+ config_value = config_data[config_key]
+ end
+ config_data[config_key] =
+ evaluate_config_value(config_value,
+ config_data,
+ config_description_entry.coerce)
+ end
+ return config_data
+end
+
+-- evaluate a configuration value
+function evaluate_config_value(value, data, coerce)
+ if type(value) == 'function' then
+ value = value(data)
+ end
+ if coerce then
+ value = coerce(value)
+ end
+ if value ~= nil and type(value) == 'string' and #value < 1 then
+ value = nil
+ elseif value ~= nil and type(value) == 'table' then
+ local elemnum = 0
+ for _ in pairs(value) do
+ elemnum = elemnum + 1
+ end
+ if elemnum == 0 then
+ value = nil
+ end
+ end
+ return value
+end
+
+-- validate configuration against description
+function validate_config(config_data, config_description)
+ local validation_errors = {}
+ -- check required options
+ for config_id, config_description_entry in pairs(config_description) do
+ local config_key = config_description_entry.name
+ if config_description_entry.required and config_data[config_key] == nil then
+ table.insert(validation_errors,
+ string.format('Required configuration option missing or empty: %s', config_key))
+ end
+ end
+
+ -- validate options
+ for config_id, config_description_entry in pairs(config_description) do
+ local config_key = config_description_entry.name
+ if config_description_entry.validate and config_data[config_key] ~= nil then
+ local is_valid, error_string = config_description_entry.validate(config_data[config_key])
+ if not is_valid then
+ table.insert(validation_errors,
+ string.format('Invalid configuration option "%s": %s', config_key, error_string))
+ end
+ end
+ end
+
+ -- check unknown options
+ for config_key, config_value in pairs(config_data) do
+ local description_found = false
+ for config_id, config_description_entry in pairs(config_description) do
+ if config_key == config_description_entry.name then
+ description_found = true
+ break
+ end
+ end
+ if not description_found then
+ table.insert(validation_errors,
+ string.format('Unknown configuration option: %s', config_key))
+ end
+ end
+
+ return #validation_errors > 0 and validation_errors
+end
+
+-- return a string from validation errors
+function format_validation_errors(validation_errors)
+ local error_string = ''
+ for error_index, error_entry in pairs(validation_errors) do
+ error_string = string.format('%s%s', error_string, error_entry)
+ if error_index < #validation_errors then
+ error_string = string.format('%s\n', error_string)
+ end
+ end
+ return error_string
+end
+
+-- configuration validators
+function config_string(value)
+ if type(value) ~= 'string' then
+ return false, 'must be a string'
+ end
+ return true
+end
+function config_table(value)
+ if type(value) ~= 'table' then
+ return false, 'must be a table'
+ end
+ return true
+end
+function config_int(value)
+ if type(value) ~= 'number' then
+ return false, 'must be an integer'
+ end
+ if not tostring(value):find('^-?%d+$') then
+ return false, 'must be an integer'
+ end
+ return true
+end
+function config_number(value)
+ if type(value) ~= 'number' then
+ return false, 'must be a number'
+ end
+ if not tostring(value):find('^-?%d+\.?%d*$') then
+ return false, 'must be a number'
+ end
+ return true
+end
+function config_boolean(value)
+ if type(value) ~= 'boolean' then
+ return false, 'must be true or false'
+ end
+ return true
+end
+function config_file(value)
+ if type(value) ~= 'string' then
+ return false, 'invalid file name'
+ end
+ if not awful_util.file_readable(value) then
+ return false, 'file not readable'
+ end
+ return true
+end
+
+-- type coersions
+function coerce_table(value)
+ if value == nil or type(value) == 'table' then
+ return value
+ else
+ return { value }
+ end
+end
+
+-- return the full paths to icon files using the description
+function find_icon_files(icon_description)
+ if not icon_description then
+ return
+ end
+ -- Ensure GNOME icon theme is available
+ local previous_icon_theme = freedesktop_utils.icon_theme
+ local have_gnome_icon_theme = false
+ if freedesktop_utils.icon_theme then
+ have_gnome_icon_theme = freedesktop_utils.icon_theme == 'gnome'
+ end
+ if not have_gnome_icon_theme then
+ freedesktop_utils.icon_theme = 'gnome'
+ end
+ -- Load icons
+ local icon_files = {}
+ for name, info in pairs(icon_description) do
+ -- try icon defined in the Awesome theme
+ if beautiful[info.beautiful_name] then
+ icon_files[name] = beautiful[info.beautiful_name]
+ end
+ -- if no icon in the theme, try default
+ if not icon_files[name] and info.default_icon then
+ local default_icon
+ if type(info.default_icon) == 'function' then
+ default_icon = info.default_icon()
+ else
+ default_icon = info.default_icon
+ end
+ icon_files[name] = freedesktop_utils.lookup_icon({ icon = default_icon })
+ end
+ end
+ if not have_gnome_icon_theme then
+ freedesktop_utils.icon_theme = previous_icon_theme
+ end
+ return icon_files
+end
+
+-- check if the given colors are defined in the Awesome theme
+function find_theme_color(colors)
+ if type(colors) ~= 'table' then
+ colors = { colors }
+ end
+ for _, theme_color_key in pairs(colors) do
+ if beautiful[theme_color_key] then
+ return beautiful[theme_color_key]
+ end
+ end
+ return
+end
+
+-- pad a string with spaces
+function pad_string_with_spaces(s, width)
+ if not width then
+ return s
+ end
+ if not s then
+ s = ''
+ end
+ local s_head = s:sub(1, width)
+ local space = ' '
+ return string.format('%s%s', awful_util.escape(s_head), space:rep(width - #s_head))
+end
+
+-- print an error message
+function print_error(ident, error_string)
+ if not ident then
+ return
+ end
+ if not error_string then
+ error_string = ident
+ ident = nil
+ end
+ local text = ''
+ if ident then
+ text = string.format('[%s] ', ident)
+ end
+ print(string.format('%s%s', text, error_string))
+end
View
235 .config/awesome/delightful/widgets/battery.lua
@@ -0,0 +1,235 @@
+-------------------------------------------------------------------------------
+--
+-- Battery widget for Awesome 3.4
+-- Copyright (C) 2011 Tuomas Jormola <tj@solitudo.net>
+--
+-- Licensed under the terms of GNU General Public License Version 2.0.
+--
+-- Description:
+--
+-- Shows a battery status indicator. Battery level is indicated as
+-- a vertical progress bar and an icon indicator is shown next to it.
+-- Clicking the icon launches an external application (if configured).
+--
+-- Widget extends vicious.widgets.bat from Vicious widget framework.
+--
+-- Widget tries to use icons from the package gnome-icon-theme
+-- if available.
+--
+--
+-- Configuration:
+--
+-- The load() function can be supplied with configuration.
+-- Format of the configuration is as follows.
+-- {
+-- -- Name of the battery. Matches a file under the directory
+-- -- /sys/class/power_supply/ and typically is "BATn" where n
+-- -- is a number, most likely 1. 'BAT1' by default.
+-- battery = 'BAT2',
+-- -- Command to execute when left-clicking the widget icon.
+-- -- Empty by default.
+-- command = 'gnome-power-preferences',
+-- -- Don't try to display any icons. Default is false (i.e. display icons).
+-- no_icon = true,
+-- -- How often update the widget data. Default is 20 seconds.
+-- update_interval = 30
+-- }
+--
+--
+-- Theme:
+--
+-- The widget uses following colors and icons if available in
+-- the Awesome theme.
+--
+-- theme.bg_widget - widget background color
+-- theme.fg_widget - widget foreground color
+-- theme.fg_center_widget - widget gradient color, middle
+-- theme.fg_end_widget - widget gradient color, end
+-- theme.delightful_battery_ac - icon shown when the machine is connected to AC adapter
+-- theme.delightful_battery_full - icon shown when battery has 50%-99% charge
+-- theme.delightful_battery_medium - icon shown when battery has 15%-49% charge
+-- theme.delightful_battery_low - icon shown when battery has less than 15% charge
+-- theme.delightful_not_found - icon shown when battery status is unknown
+-- theme.delightful_error - icon shown when critical error has occurred
+--
+-------------------------------------------------------------------------------
+
+local awful_button = require('awful.button')
+local awful_tooltip = require('awful.tooltip')
+local awful_util = require('awful.util')
+local awful_widget = require('awful.widget')
+local image = require('image')
+local widget = require('widget')
+
+local delightful_utils = require('delightful.utils')
+local vicious = require('vicious')
+
+local pairs = pairs
+local string = { format = string.format }
+
+module('delightful.widgets.battery')
+
+local battery_config
+local fatal_error
+local icon_tooltip
+local icon_files = {}
+local icon
+local prev_icon
+
+local config_description = {
+ {
+ name = 'battery',
+ required = true,
+ default = 'BAT1',
+ validate = function(value)
+ local status, errors = delightful_utils.config_string(value)
+ if not status then
+ return status, errors
+ end
+ local battery_path = string.format('/sys/class/power_supply/%s/status', value)
+ if not awful_util.file_readable(battery_path) then
+ return false, string.format('Battery not found: %s', value)
+ end
+ return true
+ end
+ },
+ {
+ name = 'command',
+ default = 'gnome-power-preferences',
+ validate = function(value) return delightful_utils.config_string(value) end
+ },
+ {
+ name = 'no_icon',
+ validate = function(value) return delightful_utils.config_boolean(value) end
+ },
+ {
+ name = 'update_interval',
+ required = true,
+ default = 20,
+ validate = function(value) return delightful_utils.config_int(value) end
+ },
+}
+
+local icon_description = {
+ battery_ac = { beautiful_name = 'delightful_battery_ac', default_icon = function() return 'gtk-about' end },
+ battery_full = { beautiful_name = 'delightful_battery_full', default_icon = function() return 'battery' end },
+ battery_medium = { beautiful_name = 'delightful_battery_medium', default_icon = function() return 'battery-low' end },
+ battery_low = { beautiful_name = 'delightful_battery_low', default_icon = function() return 'battery-caution' end },
+ not_found = { beautiful_name = 'delightful_not_found', default_icon = function() return 'dialog-question' end },
+ error = { beautiful_name = 'delightful_error', default_icon = function() return 'error' end },
+}
+
+-- Configuration handler
+function handle_config(user_config)
+ local empty_config = delightful_utils.get_empty_config(config_description)
+ if not user_config then
+ user_config = empty_config
+ end
+ local config_data = delightful_utils.normalize_config(user_config, config_description)
+ local validation_errors = delightful_utils.validate_config(config_data, config_description)
+ if validation_errors then
+ fatal_error = 'Configuration errors: \n'
+ for error_index, error_entry in pairs(validation_errors) do
+ fatal_error = string.format('%s %s', fatal_error, error_entry)
+ if error_index < #validation_errors then
+ fatal_error = string.format('%s \n', fatal_error)
+ end
+ end
+ battery_config = empty_config
+ return
+ end
+ battery_config = config_data
+end
+
+-- Initalization
+function load(self, config)
+ handle_config(config)
+ if fatal_error then
+ delightful_utils.print_error('battery', fatal_error)
+ return nil, nil
+ end
+ if not battery_config.no_icon then
+ icon_files = delightful_utils.find_icon_files(icon_description)
+ end
+ if icon_files.battery_ac and icon_files.battery_full and icon_files.battery_medium and icon_files.battery_low and icon_files.not_found and icon_files.error then
+ local buttons = awful_button({}, 1, function()
+ if not fatal_error and battery_config.command then
+ awful_util.spawn(battery_config.command, true)
+ end
+ end)
+ icon = widget({ type = 'imagebox', name = 'battery' })
+ icon:buttons(buttons)
+ icon_tooltip = awful_tooltip({ objects = { icon } })
+ end
+
+ local bg_color = delightful_utils.find_theme_color({ 'bg_widget', 'bg_normal' })
+ local fg_color = delightful_utils.find_theme_color({ 'fg_widget', 'fg_normal' })
+ local fg_center_color = delightful_utils.find_theme_color({ 'fg_center_widget', 'fg_widget', 'fg_normal' })
+ local fg_end_color = delightful_utils.find_theme_color({ 'fg_end_widget', 'fg_widget', 'fg_normal' })
+
+ local battery_widget = awful_widget.progressbar({ layout = awful_widget.layout.horizontal.rightleft })
+ if bg_color then
+ battery_widget:set_border_color(bg_color)
+ battery_widget:set_background_color(bg_color)
+ end
+ if fg_color then
+ battery_widget:set_color(fg_color)
+ end
+ if fg_color and fg_center_color and fg_end_color then
+ battery_widget:set_gradient_colors({ fg_color, fg_center_color, fg_end_color })
+ end
+ battery_widget:set_width(8)
+ battery_widget:set_height(19)
+ battery_widget:set_vertical(true)
+ vicious.register(battery_widget, vicious.widgets.bat, vicious_formatter, battery_config.update_interval, battery_config.battery)
+
+ return { battery_widget }, { icon }
+end
+
+-- Vicious display formatter, also update widget tooltip and icon
+function vicious_formatter(widget, data)
+ -- update tooltip
+ local unknown = false
+ if icon_tooltip then
+ local tooltip_text
+ if fatal_error then
+ tooltip_text = fatal_error
+ elseif data[1] == '' then
+ tooltip_text = 'Battery is charged'
+ elseif data[1] == '+' then
+ tooltip_text = string.format('Battery charge %d%% \n On AC power, %s until charged', data[2], data[3])
+ elseif data[1] == '-' then
+ tooltip_text = string.format('Battery charge %d%% \n On battery power, %s left', data[2], data[3])
+ else
+ tooltip_text = 'Battery status is unknown'
+ unknown = true
+ end
+ icon_tooltip:set_text(string.format(' %s ', tooltip_text))
+ end
+ -- update icon
+ if icon then
+ local icon_file
+ if fatal_error then
+ icon_file = icon_files.error
+ elseif unknown then
+ icon_file = icon_files.not_found
+ elseif data[1] == '+' then
+ icon_file = icon_files.battery_ac
+ elseif data[2] >= 50 and data[2] <= 100 then
+ icon_file = icon_files.battery_full
+ elseif data[2] >= 15 and data[2] < 50 then
+ icon_file = icon_files.battery_medium
+ elseif data[2] >= 0 and data[2] < 15 then
+ icon_file = icon_files.battery_low
+ end
+ if icon_file and (not prev_icon or prev_icon ~= icon_file) then
+ prev_icon = icon_file
+ icon.image = image(icon_file)
+ end
+ end
+ if fatal_error then
+ return 0
+ else
+ return data[2]
+ end
+end
View
177 .config/awesome/delightful/widgets/cpu.lua
@@ -0,0 +1,177 @@
+-------------------------------------------------------------------------------
+--
+-- CPU widget for Awesome 3.4
+-- Copyright (C) 2011 Tuomas Jormola <tj@solitudo.net>
+--
+-- Licensed under the terms of GNU General Public License Version 2.0.
+--
+-- Description:
+--
+-- Displays horizontal usage trend graph of all the CPUs combined.
+-- Also displays a CPU icon next to the graph. Clicking the icon
+-- launches an external application (if configured).
+--
+-- Widget extends vicious.widgets.cpu from Vicious widget framework.
+--
+-- Widget tries to use an icon from the package sensors-applet
+-- if available.
+--
+--
+-- Configuration:
+--
+-- The load() function can be supplied with configuration.
+-- Format of the configuration is as follows.
+-- {
+-- -- Width of the graph in pixels. Default is 20.
+-- graph_width = 50,
+-- -- Command to execute when left-clicking the widget icon.
+-- -- Empty by default.
+-- command = 'gnome-system-monitor',
+-- -- Don't try to display any icons. Default is false (i.e. display icons).
+-- no_icon = true,
+-- -- How often update the widget data. Default is 1 second.
+-- update_interval = 2
+-- }
+--
+--
+-- Theme:
+--
+-- The widget uses following colors and icons if available in
+-- the Awesome theme.
+--
+-- theme.bg_widget - widget background color
+-- theme.fg_widget - widget foreground color
+-- theme.fg_center_widget - widget gradient color, middle
+-- theme.fg_end_widget - widget gradient color, end
+-- theme.delightful_cpu - icon shown next to the CPU graph
+---
+-------------------------------------------------------------------------------
+
+local awful_button = require('awful.button')
+local awful_tooltip = require('awful.tooltip')
+local awful_util = require('awful.util')
+local awful_widget = require('awful.widget')
+local image = require('image')
+local widget = require('widget')
+
+local delightful_utils = require('delightful.utils')
+local vicious = require('vicious')
+
+local pairs = pairs
+local string = { format = string.format }
+
+module('delightful.widgets.cpu')
+
+local cpu_config
+local fatal_error
+local icon_tooltip
+
+local config_description = {
+ {
+ name = 'graph_width',
+ required = true,
+ default = 20,
+ validate = function(value) return delightful_utils.config_int(value) end
+ },
+ {
+ name = 'command',
+ validate = function(value) return delightful_utils.config_string(value) end
+ },
+ {
+ name = 'no_icon',
+ validate = function(value) return delightful_utils.config_boolean(value) end
+ },
+ {
+ name = 'update_interval',
+ required = true,
+ default = 1,
+ validate = function(value) return delightful_utils.config_int(value) end
+ },
+}
+
+local icon_description = {
+ cpu = { beautiful_name = 'delightful_cpu', default_icon = function() return 'sensors-applet-cpu' end },
+}
+
+-- Configuration handler
+function handle_config(user_config)
+ local empty_config = delightful_utils.get_empty_config(config_description)
+ if not user_config then
+ user_config = empty_config
+ end
+ local config_data = delightful_utils.normalize_config(user_config, config_description)
+ local validation_errors = delightful_utils.validate_config(config_data, config_description)
+ if validation_errors then
+ fatal_error = 'Configuration errors: \n'
+ for error_index, error_entry in pairs(validation_errors) do
+ fatal_error = string.format('%s %s', fatal_error, error_entry)
+ if error_index < #validation_errors then
+ fatal_error = string.format('%s \n', fatal_error)
+ end
+ end
+ cpu_config = empty_config
+ return
+ end
+ cpu_config = config_data
+end
+
+-- Initalization
+function load(self, config)
+ handle_config(config)
+ if fatal_error then
+ delightful_utils.print_error('cpu', fatal_error)
+ return nil, nil
+ end
+ local icon
+ local icon_files
+ if not cpu_config.no_icon then
+ icon_files = delightful_utils.find_icon_files(icon_description)
+ end
+ local icon_file = icon_files and icon_files.cpu
+ if icon_file then
+ local icon_data = image(icon_file);
+ if icon_data then
+ local buttons = awful_button({}, 1, function()
+ if not fatal_error and cpu_config.command then
+ awful_util.spawn(cpu_config.command, true)
+ end
+ end)
+ icon = widget({ type = 'imagebox', name = 'cpu' })
+ icon:buttons(buttons)
+ icon.image = icon_data
+ icon_tooltip = awful_tooltip({ objects = { icon } })
+ end
+ end
+
+ local bg_color = delightful_utils.find_theme_color({ 'bg_widget', 'bg_normal' })
+ local fg_color = delightful_utils.find_theme_color({ 'fg_widget', 'fg_normal' })
+ local fg_center_color = delightful_utils.find_theme_color({ 'fg_center_widget', 'fg_widget', 'fg_normal' })
+ local fg_end_color = delightful_utils.find_theme_color({ 'fg_end_widget', 'fg_widget', 'fg_normal' })
+
+ local cpu_widget = awful_widget.graph({ layout = awful_widget.layout.horizontal.rightleft })
+ if bg_color then
+ cpu_widget:set_background_color(bg_color)
+ cpu_widget:set_border_color(bg_color)
+ end
+ if fg_color then
+ cpu_widget:set_color(fg_color)
+ end
+ if fg_color and fg_center_color and fg_end_color then
+ cpu_widget:set_gradient_colors({ fg_color, fg_center_color, fg_end_color })
+ end
+ cpu_widget:set_width(cpu_config.graph_width)
+ cpu_widget:set_height(19)
+ cpu_widget:set_gradient_angle(180)
+ vicious.register(cpu_widget, vicious.widgets.cpu, vicious_formatter, cpu_config.update_interval)
+
+ return { cpu_widget }, { icon }
+end
+
+-- Vicious display formatter, also update widget tooltip
+function vicious_formatter(widget, data)
+ if icon_tooltip then
+ local tooltip_text = string.format(' CPU usage trend graph of all the CPUs in the system \n Current CPU usage: %d%% ', data[1])
+ icon_tooltip:set_text(tooltip_text)
+ end
+ return data[1]
+end
View
45 .config/awesome/delightful/widgets/datetime.lua
@@ -0,0 +1,45 @@
+-------------------------------------------------------------------------------
+--
+-- Date and time widget with calendar popup display for Awesome 3.4
+-- Copyright (C) 2011 Tuomas Jormola <tj@solitudo.net>
+--
+-- Licensed under the terms of GNU General Public License Version 2.0.
+--
+-- Description:
+--
+-- This widget displays date and time and when the mouse cursor
+-- hovers over the widget, a calendar for current month is displayed.
+-- You can navigate between months by using mouse scroll wheel.
+--
+-- Widget uses calendar2 module by Bzed.
+-- http://awesome.naquadah.org/wiki/Calendar_widget#Module_for_3.4
+--
+--
+-- Theme:
+--
+-- The widget uses following colors if available in the Awesome theme.
+--
+-- theme.fg_focus - text color of the current date in calendar
+-- theme.bg_focus - background color of the current date in calendar
+--
+-------------------------------------------------------------------------------
+
+local awful_widget = require('awful.widget')
+local beautiful = require('beautiful')
+
+local calendar2 = require('calendar2')
+
+local string = { format = string.format }
+
+module('delightful.widgets.datetime')
+
+function load()
+ local widget = awful_widget.textclock({ align = 'right' })
+ local calendar_format = '%s'
+ if beautiful.fg_focus and beautiful.bg_focus then
+ calendar_format = string.format('<span color="%s" background="%s">%%s</span>',
+ beautiful.fg_focus, beautiful.bg_focus)
+ end
+ calendar2.addCalendarToWidget(widget, calendar_format)
+ return { widget } -- no icon
+end
View
563 .config/awesome/delightful/widgets/imap.lua
@@ -0,0 +1,563 @@
+-------------------------------------------------------------------------------
+--
+-- IMAP widget for Awesome 3.4
+-- Copyright (C) 2011 Tuomas Jormola <tj@solitudo.net>
+--
+-- Licensed under the terms of GNU General Public License Version 2.0.
+--
+-- Description:
+--
+-- Displays status of IMAP mailboxes by showing the amount of unread mails
+-- in each configured mailbox. When the mouse cursor is hovering over
+-- the widget, summary of unread mails in each mailbox is displayed
+-- (sender and subject). When new unread mails are discovered,
+-- a notification is displayed with summary of the new messages.
+-- Also displays an icon indicating whether there are unread messages
+-- in one of the monitored mailboxes. Clicking the icon launches
+-- an external application (if configured).
+--
+-- Widget uses Vicious widget framework to gather widget data.
+--
+-- This widget uses imap.lua by David Maus <dmaus@ictsoc.de>
+-- http://github.com/dmj/misc/tree/master/lua/imap.lua/
+--
+-- Widget tries to use icons from the package gnome-icon-theme
+-- if available.
+--
+--
+-- Configuration:
+--
+-- The load() function expects to get the IMAP server configuration as
+-- the 1st argument. You can specify as many IMAP server as you wish
+-- with each polling arbitrary amount of folders.
+--
+-- Format of the configuration is as follows.
+-- {
+-- -- User name of the IMAP account, mandatory
+-- user = 'exampleuser1',
+-- -- Password of the IMAP account, mandatory
+-- password = 'examplepassword1',
+-- -- Host name or IP address of the IMAP server, mandatory
+-- host = 'mail1.example.com',
+-- -- Port of the IMAP server. 143 by default if SSL disabled,
+-- -- 993 if SSL enabled.
+-- port = 993,
+-- -- Enable SSL for the IMAP connection.
+-- -- Note that only IMAPS is supported, not IMAP with STARTTLS.
+-- ssl = true,
+-- -- Mailboxes to poll. INBOX is used by default.
+-- mailboxes = { 'INBOX', 'folder1', 'folder2' },
+-- -- Show summary for this many unread mails per mailbox in the summary
+-- -- popup, default is 5
+-- show_mail_coun = 3,
+-- -- Program that is launched when the user clicks on the widget area.
+-- -- Empty by default.
+-- command = 'evolution -c mail',
+-- -- Don't try to display any icons. Default is false (i.e. display icons).
+-- no_icon = true,
+-- -- Poll interval in seconds, 5 minutes by default
+-- update_interval = 3600,
+-- -- How long to show notifications in seconds, 10 seconds by default
+-- notification_delay = 5,
+-- },
+-- -- Another example, minimal configuration using exampleuser2 as user,
+-- -- examplepassword2 as password, mail2.example.com as IMAP server,
+-- -- 143 as port, no SSL, polling INBOX, no program is run when clicking
+-- -- the widget, 5 minutes polling interval, show notifications for 10
+-- -- seconds and show 5 unread mails per mailbox in the summary
+-- {
+-- user = 'exampleuser2',
+-- password = 'examplepassword2',
+-- host = 'mail1.example.com,
+-- }
+--
+--
+-- Theme:
+--
+-- The widget uses following icons and fonts if available in the Awesome theme.
+--
+-- theme.delightful_imap_mail_read - icon shown when mail in a mailbox is read
+-- theme.delightful_imap_mail_unread - icon shown when unread mail in a mailbox
+-- theme.delightful_error - icon shown when critical error has occurred
+-- theme.monospace_font - font for status text and notifications
+--
+-------------------------------------------------------------------------------
+
+local awful_button = require('awful.button')
+local awful_util = require('awful.util')
+local beautiful = require('beautiful')
+local image = require('image')
+local naughty = require('naughty')
+local widget = require('widget')
+
+local delightful_utils = require('delightful.utils')
+local vicious = require('vicious')
+
+local imap = require('imap')
+
+local capi = { mouse = mouse }
+
+local pairs = pairs
+local setmetatable = setmetatable
+local string = { format = string.format }
+local table = { insert = table.insert, remove = table.remove, sort = table.sort }
+local tostring = tostring
+local type = type
+
+module('delightful.widgets.imap')
+
+local widgets = {}
+local icons = {}
+local icon_files = {}
+local prev_icons = {}
+local imap_config = {}