Permalink
Browse files

editirano

  • Loading branch information...
1 parent 6a13c46 commit a20711387f65c7c4c4ae0a7800da01123edf0091 @simke committed Mar 18, 2012
Showing with 5,388 additions and 0 deletions.
  1. +26 −0 .config/awesome/calendar.lua
  2. +265 −0 .config/awesome/menu.lua
  3. +443 −0 .config/awesome/rc.lua
  4. +146 −0 .config/awesome/revelation.lua
  5. +74 −0 .config/awesome/runonce.lua
  6. +15 −0 .config/awesome/themes/peaksea/README
  7. BIN .config/awesome/themes/peaksea/awesome-icon.png
  8. BIN .config/awesome/themes/peaksea/layouts/dwindle.png
  9. BIN .config/awesome/themes/peaksea/layouts/fairh.png
  10. BIN .config/awesome/themes/peaksea/layouts/fairv.png
  11. BIN .config/awesome/themes/peaksea/layouts/floating.png
  12. BIN .config/awesome/themes/peaksea/layouts/fullscreen.png
  13. BIN .config/awesome/themes/peaksea/layouts/magnifier.png
  14. BIN .config/awesome/themes/peaksea/layouts/max.png
  15. BIN .config/awesome/themes/peaksea/layouts/spiral.png
  16. BIN .config/awesome/themes/peaksea/layouts/tile.png
  17. BIN .config/awesome/themes/peaksea/layouts/tilebottom.png
  18. BIN .config/awesome/themes/peaksea/layouts/tileleft.png
  19. BIN .config/awesome/themes/peaksea/layouts/tiletop.png
  20. BIN .config/awesome/themes/peaksea/peaksea-background-light.png
  21. BIN .config/awesome/themes/peaksea/peaksea-background.png
  22. BIN .config/awesome/themes/peaksea/taglist/squarefz.png
  23. BIN .config/awesome/themes/peaksea/taglist/squarez.png
  24. +128 −0 .config/awesome/themes/peaksea/theme.lua
  25. BIN .config/awesome/themes/peaksea/titlebar/close_focus.png
  26. BIN .config/awesome/themes/peaksea/titlebar/close_normal.png
  27. BIN .config/awesome/themes/peaksea/titlebar/floating_focus_active.png
  28. BIN .config/awesome/themes/peaksea/titlebar/floating_focus_inactive.png
  29. BIN .config/awesome/themes/peaksea/titlebar/floating_normal_active.png
  30. BIN .config/awesome/themes/peaksea/titlebar/floating_normal_inactive.png
  31. BIN .config/awesome/themes/peaksea/titlebar/maximized_focus_active.png
  32. BIN .config/awesome/themes/peaksea/titlebar/maximized_focus_inactive.png
  33. BIN .config/awesome/themes/peaksea/titlebar/maximized_normal_active.png
  34. BIN .config/awesome/themes/peaksea/titlebar/maximized_normal_inactive.png
  35. BIN .config/awesome/themes/peaksea/titlebar/ontop_focus_active.png
  36. BIN .config/awesome/themes/peaksea/titlebar/ontop_focus_inactive.png
  37. BIN .config/awesome/themes/peaksea/titlebar/ontop_normal_active.png
  38. BIN .config/awesome/themes/peaksea/titlebar/ontop_normal_inactive.png
  39. BIN .config/awesome/themes/peaksea/titlebar/sticky_focus_active.png
  40. BIN .config/awesome/themes/peaksea/titlebar/sticky_focus_inactive.png
  41. BIN .config/awesome/themes/peaksea/titlebar/sticky_normal_active.png
  42. BIN .config/awesome/themes/peaksea/titlebar/sticky_normal_inactive.png
  43. +126 −0 .config/awesome/themes/zenburn/theme.lua
  44. BIN .config/awesome/themes/zenburn/theme.lua.tar.bz2
  45. +283 −0 .config/awesome/vicious/CHANGES
  46. +339 −0 .config/awesome/vicious/LICENSE
  47. +516 −0 .config/awesome/vicious/README
  48. +35 −0 .config/awesome/vicious/TODO
  49. +87 −0 .config/awesome/vicious/contrib/README
  50. +51 −0 .config/awesome/vicious/contrib/batacpi.lua
  51. +78 −0 .config/awesome/vicious/contrib/batpmu.lua
  52. +85 −0 .config/awesome/vicious/contrib/batproc.lua
  53. +72 −0 .config/awesome/vicious/contrib/dio.lua
  54. +24 −0 .config/awesome/vicious/contrib/init.lua
  55. +47 −0 .config/awesome/vicious/contrib/mpc.lua
  56. +138 −0 .config/awesome/vicious/contrib/net.lua
  57. +34 −0 .config/awesome/vicious/contrib/netcfg.lua
  58. +53 −0 .config/awesome/vicious/contrib/ossvol.lua
  59. +54 −0 .config/awesome/vicious/contrib/pop.lua
  60. +111 −0 .config/awesome/vicious/contrib/pulse.lua
  61. +67 −0 .config/awesome/vicious/contrib/rss.lua
  62. +68 −0 .config/awesome/vicious/contrib/sensors.lua
  63. +140 −0 .config/awesome/vicious/helpers.lua
  64. +249 −0 .config/awesome/vicious/init.lua
  65. +85 −0 .config/awesome/vicious/widgets/bat.lua
  66. +75 −0 .config/awesome/vicious/widgets/cpu.lua
  67. +56 −0 .config/awesome/vicious/widgets/cpufreq.lua
  68. +43 −0 .config/awesome/vicious/widgets/cpuinf.lua
  69. +26 −0 .config/awesome/vicious/widgets/date.lua
  70. +72 −0 .config/awesome/vicious/widgets/dio.lua
  71. +51 −0 .config/awesome/vicious/widgets/fs.lua
  72. +82 −0 .config/awesome/vicious/widgets/gmail.lua
  73. +37 −0 .config/awesome/vicious/widgets/hddtemp.lua
  74. +36 −0 .config/awesome/vicious/widgets/init.lua
  75. +52 −0 .config/awesome/vicious/widgets/mbox.lua
  76. +57 −0 .config/awesome/vicious/widgets/mboxc.lua
  77. +40 −0 .config/awesome/vicious/widgets/mdir.lua
  78. +49 −0 .config/awesome/vicious/widgets/mem.lua
  79. +63 −0 .config/awesome/vicious/widgets/mpd.lua
  80. +79 −0 .config/awesome/vicious/widgets/net.lua
  81. +61 −0 .config/awesome/vicious/widgets/org.lua
  82. +72 −0 .config/awesome/vicious/widgets/os.lua
  83. +46 −0 .config/awesome/vicious/widgets/pkg.lua
  84. +57 −0 .config/awesome/vicious/widgets/raid.lua
  85. +45 −0 .config/awesome/vicious/widgets/thermal.lua
  86. +35 −0 .config/awesome/vicious/widgets/uptime.lua
  87. +52 −0 .config/awesome/vicious/widgets/volume.lua
  88. +85 −0 .config/awesome/vicious/widgets/weather.lua
  89. +80 −0 .config/awesome/vicious/widgets/wifi.lua
  90. +198 −0 .config/awesome/xdg-menu.lua
View
26 .config/awesome/calendar.lua
@@ -0,0 +1,26 @@
+ local calendar = nil
+ local offset = 0
+
+ function remove_calendar()
+ if calendar ~= nil then
+ naughty.destroy(calendar)
+ calendar = nil
+ offset = 0
+ end
+ end
+
+ function add_calendar(inc_offset)
+ local save_offset = offset
+ remove_calendar()
+ offset = save_offset + inc_offset
+ local datespec = os.date("*t")
+ datespec = datespec.year * 12 + datespec.month - 1 + offset
+ datespec = (datespec % 12 + 1) .. " " .. math.floor(datespec / 12)
+ local cal = awful.util.pread("cal -m " .. datespec)
+ cal = string.gsub(cal, "^%s*(.-)%s*$", "%1")
+ calendar = naughty.notify({
+ text = string.format('<span font_desc="%s">%s</span>', "profont", os.date("%a, %d %B %Y") .. "\n" .. cal),
+ timeout = 0, hover_timeout = 0.5,
+ width = 135,
+ })
+ end
View
265 .config/awesome/menu.lua
@@ -0,0 +1,265 @@
+ menu98edb85b00d9527ad5acebe451b3fae6 = { {"Application Finder", "xfce4-appfinder", "/usr/share//icons/hicolor/48x48/apps/xfce4-appfinder.png" },
+ {"Archive Manager", "file-roller ", "/usr/share//icons/hicolor/16x16/apps/file-roller.png" },
+ {"Catfish", "catfish", "/usr/share/pixmaps/catfish.svg" },
+ {"Cream", "cream", "/usr/local/share//icons/cream.png" },
+ {"Galculator", "galculator", "/usr/share/pixmaps/galculator.png" },
+ {"Guake Terminal", "guake", "///usr/share/pixmaps/guake/guake.png" },
+ {"Orage Globaltime", "globaltime", "/usr/share//icons/hicolor/48x48/apps/orage_globaltime.png" },
+ {"PacmanXG4", "/opt/pacmanxg4/pacmanxg", "///usr/share/pixmaps/pacmanxg.png" },
+ {"Root Terminal", "gksu -l gnome-terminal", "/usr/share/pixmaps/gksu-root-terminal.png" },
+ {"Screenshot", "xfce4-screenshooter", "/usr/share//icons/hicolor/48x48/apps/applets-screenshooter.png" },
+ {"Vi IMproved", "gvim -f ", "/usr/share/pixmaps/gvim.png" },
+ {"Yapan", "yapan", "///usr/share/yapan/yapan.svg" },
+ {"medit", "medit ", "/usr/share//icons/hicolor/48x48/apps/medit.png" },
+ }
+
+ menu78059f1898ed518c6ccd6a6392fa82c1 = { {"AUR", "xdg-open https://aur.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Bugs", "xdg-open https://bugs.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Developers", "xdg-open http://www.archlinux.org/developers/", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Documentation", "xdg-open https://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Donate", "xdg-open http://www.archlinux.org/donate/", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Forum", "xdg-open https://bbs.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Homepage", "xdg-open http://www.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"SVN", "xdg-open http://projects.archlinux.org/svntogit/", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Schwag", "xdg-open http://www.zazzle.com/archlinux/", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Wiki", "xdg-open https://wiki.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ }
+
+ menud334dfcea59127bedfcdbe0a3ee7f494 = { {"Mirage", "mirage ", "/usr/share/pixmaps/mirage.png" },
+ {"mtPaint", "mtpaint ", "/usr/share/pixmaps/mtpaint.png" },
+ }
+
+ menuc8205c7636e728d448c2774e6a4a944b = { {"Avahi SSH Server Browser", "/usr/bin/bssh", "/usr/share//icons/gnome/16x16/devices/network-wired.png" },
+ {"Avahi VNC Server Browser", "/usr/bin/bvnc", "/usr/share//icons/gnome/16x16/devices/network-wired.png" },
+ {"Dropbox", "/opt/dropbox/dropboxd", "/usr/share/pixmaps/dropbox.png" },
+ {"Firefox", "firefox ", "/usr/share//icons/hicolor/16x16/apps/firefox.png" },
+ {"Firefox Beta", "firefox-beta-bin ", "/usr/share/pixmaps/firefox-beta-bin-icon.png" },
+ {"Firefox Beta - Safe Mode", "firefox-beta-bin -safe-mode ", "/usr/share/pixmaps/firefox-beta-bin-icon.png" },
+ {"Luakit", "luakit ", "/usr/share/pixmaps/luakit.png" },
+ {"Skype", "skype", "/usr/share/pixmaps/skype.png" },
+ {"Sylpheed", "sylpheed", "/usr/share/pixmaps/sylpheed.png" },
+ {"Transmission", "transmission-gtk ", "/usr/share//icons/hicolor/16x16/apps/transmission.png" },
+ {"dwb", "dwb ", "/usr/share/pixmaps/dwb.png" },
+ }
+
+ menudf814135652a5a308fea15bff37ea284 = { {"AbiWord", "abiword", "/usr/share//icons/abiword_48.png" },
+ {"Gnumeric", "gnumeric ", "/usr/share//icons/hicolor/16x16/apps/gnumeric.png" },
+ {"Orage Calendar", "orage", "/usr/share//icons/hicolor/48x48/apps/xfcalendar.png" },
+ {"Orage Globaltime", "globaltime", "/usr/share//icons/hicolor/48x48/apps/orage_globaltime.png" },
+ }
+
+ menue6f43c40ab1c07cd29e4e83e4ef6bf85 = { {"Qt Assistant", "/usr/bin/assistant", "/usr/share//icons/hicolor/32x32/apps/assistant.png" },
+ {"Qt Designer", "/usr/bin/designer", "/usr/share//icons/hicolor/128x128/apps/designer.png" },
+ {"Qt Linguist", "/usr/bin/linguist", "/usr/share//icons/hicolor/16x16/apps/linguist.png" },
+ }
+
+ menu80d754c83abbbd4ef5d150904efcc86c = { {"Gnumeric", "gnumeric ", "/usr/share//icons/hicolor/16x16/apps/gnumeric.png" },
+ }
+
+ menu52dd1c847264a75f400961bfb4d1c849 = { {"Mixer", "xfce4-mixer", "/usr/share//icons/gnome/16x16/apps/multimedia-volume-control.png" },
+ {"QT V4L2 test Utility", "qv4l2", "/usr/share//icons/hicolor/16x16/apps/qv4l2.png" },
+ {"Qmmp", "qmmp ", "/usr/share//icons/hicolor/16x16/apps/qmmp.png" },
+ {"UMPlayer", "umplayer ", "/usr/share//icons/hicolor/16x16/apps/umplayer.png" },
+ {"Xfburn", "xfburn", "/usr/share//icons/gnome/16x16/devices/media-cdrom.png" },
+ }
+
+ menuee69799670a33f75d45c57d1d1cd0ab3 = { {"Avahi Zeroconf Browser", "/usr/bin/avahi-discover", "/usr/share//icons/gnome/16x16/devices/network-wired.png" },
+ {"BleachBit", "bleachbit", "/usr/share/pixmaps/bleachbit.png" },
+ {"Bulk Rename", "/usr/lib/Thunar/ThunarBulkRename ", "/usr/share//icons/hicolor/16x16/apps/Thunar.png" },
+ {"GParted", "gparted-pkexec", "/usr/share//icons/hicolor/16x16/apps/gparted.png" },
+ {"Htop", "xterm -e htop", "/usr/share/pixmaps/htop.png" },
+ {"Manage Printing", "/usr/bin/xdg-open http://localhost:631/", "/usr/share//icons/hicolor/16x16/apps/cups.png" },
+ {"PkgBrowser", "pkgbrowser", "/usr/share//icons/hicolor/48x48/apps/pkgbrowser.png" },
+ {"Task Manager", "xfce4-taskmanager", "/usr/share//icons/gnome/16x16/apps/utilities-system-monitor.png" },
+ {"Terminal", "Terminal", "/usr/share//icons/gnome/16x16/apps/utilities-terminal.png" },
+ {"Thunar File Manager", "Thunar ", "/usr/share//icons/hicolor/16x16/apps/Thunar.png" },
+ {"dconf Editor", "dconf-editor"},
+ }
+
+xdgmenu = { {"Accessories", menu98edb85b00d9527ad5acebe451b3fae6},
+ {"Archlinux", menu78059f1898ed518c6ccd6a6392fa82c1},
+ {"Graphics", menud334dfcea59127bedfcdbe0a3ee7f494},
+ {"Internet", menuc8205c7636e728d448c2774e6a4a944b},
+ {"Office", menudf814135652a5a308fea15bff37ea284},
+ {"Programming", menue6f43c40ab1c07cd29e4e83e4ef6bf85},
+ {"Science & Math", menu80d754c83abbbd4ef5d150904efcc86c},
+ {"Sound & Video", menu52dd1c847264a75f400961bfb4d1c849},
+ {"System Tools", menuee69799670a33f75d45c57d1d1cd0ab3},
+}
+
+ menu98edb85b00d9527ad5acebe451b3fae6 = { {"Application Finder", "xfce4-appfinder", "/usr/share//icons/hicolor/48x48/apps/xfce4-appfinder.png" },
+ {"Archive Manager", "file-roller ", "/usr/share//icons/hicolor/16x16/apps/file-roller.png" },
+ {"Catfish", "catfish", "/usr/share/pixmaps/catfish.svg" },
+ {"Cream", "cream", "/usr/local/share//icons/cream.png" },
+ {"Galculator", "galculator", "/usr/share/pixmaps/galculator.png" },
+ {"Guake Terminal", "guake", "///usr/share/pixmaps/guake/guake.png" },
+ {"Orage Globaltime", "globaltime", "/usr/share//icons/hicolor/48x48/apps/orage_globaltime.png" },
+ {"PacmanXG4", "/opt/pacmanxg4/pacmanxg", "///usr/share/pixmaps/pacmanxg.png" },
+ {"Root Terminal", "gksu -l gnome-terminal", "/usr/share/pixmaps/gksu-root-terminal.png" },
+ {"Screenshot", "xfce4-screenshooter", "/usr/share//icons/hicolor/48x48/apps/applets-screenshooter.png" },
+ {"Vi IMproved", "gvim -f ", "/usr/share/pixmaps/gvim.png" },
+ {"Yapan", "yapan", "///usr/share/yapan/yapan.svg" },
+ {"medit", "medit ", "/usr/share//icons/hicolor/48x48/apps/medit.png" },
+ }
+
+ menu78059f1898ed518c6ccd6a6392fa82c1 = { {"AUR", "xdg-open https://aur.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Bugs", "xdg-open https://bugs.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Developers", "xdg-open http://www.archlinux.org/developers/", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Documentation", "xdg-open https://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Donate", "xdg-open http://www.archlinux.org/donate/", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Forum", "xdg-open https://bbs.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Homepage", "xdg-open http://www.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"SVN", "xdg-open http://projects.archlinux.org/svntogit/", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Schwag", "xdg-open http://www.zazzle.com/archlinux/", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Wiki", "xdg-open https://wiki.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ }
+
+ menud334dfcea59127bedfcdbe0a3ee7f494 = { {"Mirage", "mirage ", "/usr/share/pixmaps/mirage.png" },
+ {"mtPaint", "mtpaint ", "/usr/share/pixmaps/mtpaint.png" },
+ }
+
+ menuc8205c7636e728d448c2774e6a4a944b = { {"Avahi SSH Server Browser", "/usr/bin/bssh", "/usr/share//icons/gnome/16x16/devices/network-wired.png" },
+ {"Avahi VNC Server Browser", "/usr/bin/bvnc", "/usr/share//icons/gnome/16x16/devices/network-wired.png" },
+ {"Dropbox", "/opt/dropbox/dropboxd", "/usr/share/pixmaps/dropbox.png" },
+ {"Firefox", "firefox ", "/usr/share//icons/hicolor/16x16/apps/firefox.png" },
+ {"Firefox Beta", "firefox-beta-bin ", "/usr/share/pixmaps/firefox-beta-bin-icon.png" },
+ {"Firefox Beta - Safe Mode", "firefox-beta-bin -safe-mode ", "/usr/share/pixmaps/firefox-beta-bin-icon.png" },
+ {"Luakit", "luakit ", "/usr/share/pixmaps/luakit.png" },
+ {"Skype", "skype", "/usr/share/pixmaps/skype.png" },
+ {"Sylpheed", "sylpheed", "/usr/share/pixmaps/sylpheed.png" },
+ {"Transmission", "transmission-gtk ", "/usr/share//icons/hicolor/16x16/apps/transmission.png" },
+ {"dwb", "dwb ", "/usr/share/pixmaps/dwb.png" },
+ }
+
+ menudf814135652a5a308fea15bff37ea284 = { {"AbiWord", "abiword", "/usr/share//icons/abiword_48.png" },
+ {"Gnumeric", "gnumeric ", "/usr/share//icons/hicolor/16x16/apps/gnumeric.png" },
+ {"Orage Calendar", "orage", "/usr/share//icons/hicolor/48x48/apps/xfcalendar.png" },
+ {"Orage Globaltime", "globaltime", "/usr/share//icons/hicolor/48x48/apps/orage_globaltime.png" },
+ }
+
+ menue6f43c40ab1c07cd29e4e83e4ef6bf85 = { {"Qt Assistant", "/usr/bin/assistant", "/usr/share//icons/hicolor/32x32/apps/assistant.png" },
+ {"Qt Designer", "/usr/bin/designer", "/usr/share//icons/hicolor/128x128/apps/designer.png" },
+ {"Qt Linguist", "/usr/bin/linguist", "/usr/share//icons/hicolor/16x16/apps/linguist.png" },
+ }
+
+ menu80d754c83abbbd4ef5d150904efcc86c = { {"Gnumeric", "gnumeric ", "/usr/share//icons/hicolor/16x16/apps/gnumeric.png" },
+ }
+
+ menu52dd1c847264a75f400961bfb4d1c849 = { {"Mixer", "xfce4-mixer", "/usr/share//icons/gnome/16x16/apps/multimedia-volume-control.png" },
+ {"QT V4L2 test Utility", "qv4l2", "/usr/share//icons/hicolor/16x16/apps/qv4l2.png" },
+ {"Qmmp", "qmmp ", "/usr/share//icons/hicolor/16x16/apps/qmmp.png" },
+ {"UMPlayer", "umplayer ", "/usr/share//icons/hicolor/16x16/apps/umplayer.png" },
+ {"Xfburn", "xfburn", "/usr/share//icons/gnome/16x16/devices/media-cdrom.png" },
+ }
+
+ menuee69799670a33f75d45c57d1d1cd0ab3 = { {"Avahi Zeroconf Browser", "/usr/bin/avahi-discover", "/usr/share//icons/gnome/16x16/devices/network-wired.png" },
+ {"BleachBit", "bleachbit", "/usr/share/pixmaps/bleachbit.png" },
+ {"Bulk Rename", "/usr/lib/Thunar/ThunarBulkRename ", "/usr/share//icons/hicolor/16x16/apps/Thunar.png" },
+ {"GParted", "gparted-pkexec", "/usr/share//icons/hicolor/16x16/apps/gparted.png" },
+ {"Htop", "xterm -e htop", "/usr/share/pixmaps/htop.png" },
+ {"Manage Printing", "/usr/bin/xdg-open http://localhost:631/", "/usr/share//icons/hicolor/16x16/apps/cups.png" },
+ {"PkgBrowser", "pkgbrowser", "/usr/share//icons/hicolor/48x48/apps/pkgbrowser.png" },
+ {"Task Manager", "xfce4-taskmanager", "/usr/share//icons/gnome/16x16/apps/utilities-system-monitor.png" },
+ {"Terminal", "Terminal", "/usr/share//icons/gnome/16x16/apps/utilities-terminal.png" },
+ {"Thunar File Manager", "Thunar ", "/usr/share//icons/hicolor/16x16/apps/Thunar.png" },
+ {"dconf Editor", "dconf-editor"},
+ }
+
+xdgmenu = { {"Accessories", menu98edb85b00d9527ad5acebe451b3fae6},
+ {"Archlinux", menu78059f1898ed518c6ccd6a6392fa82c1},
+ {"Graphics", menud334dfcea59127bedfcdbe0a3ee7f494},
+ {"Internet", menuc8205c7636e728d448c2774e6a4a944b},
+ {"Office", menudf814135652a5a308fea15bff37ea284},
+ {"Programming", menue6f43c40ab1c07cd29e4e83e4ef6bf85},
+ {"Science & Math", menu80d754c83abbbd4ef5d150904efcc86c},
+ {"Sound & Video", menu52dd1c847264a75f400961bfb4d1c849},
+ {"System Tools", menuee69799670a33f75d45c57d1d1cd0ab3},
+}
+
+ menu98edb85b00d9527ad5acebe451b3fae6 = { {"Application Finder", "xfce4-appfinder", "/usr/share//icons/hicolor/48x48/apps/xfce4-appfinder.png" },
+ {"Archive Manager", "file-roller ", "/usr/share//icons/hicolor/16x16/apps/file-roller.png" },
+ {"Catfish", "catfish", "/usr/share/pixmaps/catfish.svg" },
+ {"Cream", "cream", "/usr/local/share//icons/cream.png" },
+ {"Galculator", "galculator", "/usr/share/pixmaps/galculator.png" },
+ {"Guake Terminal", "guake", "///usr/share/pixmaps/guake/guake.png" },
+ {"Orage Globaltime", "globaltime", "/usr/share//icons/hicolor/48x48/apps/orage_globaltime.png" },
+ {"PacmanXG4", "/opt/pacmanxg4/pacmanxg", "///usr/share/pixmaps/pacmanxg.png" },
+ {"Root Terminal", "gksu -l gnome-terminal", "/usr/share/pixmaps/gksu-root-terminal.png" },
+ {"Screenshot", "xfce4-screenshooter", "/usr/share//icons/hicolor/48x48/apps/applets-screenshooter.png" },
+ {"Vi IMproved", "gvim -f ", "/usr/share/pixmaps/gvim.png" },
+ {"Yapan", "yapan", "///usr/share/yapan/yapan.svg" },
+ {"medit", "medit ", "/usr/share//icons/hicolor/48x48/apps/medit.png" },
+ }
+
+ menu78059f1898ed518c6ccd6a6392fa82c1 = { {"AUR", "xdg-open https://aur.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Bugs", "xdg-open https://bugs.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Developers", "xdg-open http://www.archlinux.org/developers/", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Documentation", "xdg-open https://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Donate", "xdg-open http://www.archlinux.org/donate/", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Forum", "xdg-open https://bbs.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Homepage", "xdg-open http://www.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"SVN", "xdg-open http://projects.archlinux.org/svntogit/", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Schwag", "xdg-open http://www.zazzle.com/archlinux/", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ {"Wiki", "xdg-open https://wiki.archlinux.org", "/usr/share//icons/hicolor/32x32/apps/arch-logo.png" },
+ }
+
+ menud334dfcea59127bedfcdbe0a3ee7f494 = { {"Mirage", "mirage ", "/usr/share/pixmaps/mirage.png" },
+ {"mtPaint", "mtpaint ", "/usr/share/pixmaps/mtpaint.png" },
+ }
+
+ menuc8205c7636e728d448c2774e6a4a944b = { {"Avahi SSH Server Browser", "/usr/bin/bssh", "/usr/share//icons/gnome/16x16/devices/network-wired.png" },
+ {"Avahi VNC Server Browser", "/usr/bin/bvnc", "/usr/share//icons/gnome/16x16/devices/network-wired.png" },
+ {"Dropbox", "/opt/dropbox/dropboxd", "/usr/share/pixmaps/dropbox.png" },
+ {"Firefox", "firefox ", "/usr/share//icons/hicolor/16x16/apps/firefox.png" },
+ {"Luakit", "luakit ", "/usr/share/pixmaps/luakit.png" },
+ {"Skype", "skype", "/usr/share/pixmaps/skype.png" },
+ {"Sylpheed", "sylpheed", "/usr/share/pixmaps/sylpheed.png" },
+ {"Transmission", "transmission-gtk ", "/usr/share//icons/hicolor/16x16/apps/transmission.png" },
+ {"dwb", "dwb ", "/usr/share/pixmaps/dwb.png" },
+ }
+
+ menudf814135652a5a308fea15bff37ea284 = { {"AbiWord", "abiword", "/usr/share//icons/abiword_48.png" },
+ {"Gnumeric", "gnumeric ", "/usr/share//icons/hicolor/16x16/apps/gnumeric.png" },
+ {"Orage Calendar", "orage", "/usr/share//icons/hicolor/48x48/apps/xfcalendar.png" },
+ {"Orage Globaltime", "globaltime", "/usr/share//icons/hicolor/48x48/apps/orage_globaltime.png" },
+ }
+
+ menue6f43c40ab1c07cd29e4e83e4ef6bf85 = { {"Qt Assistant", "/usr/bin/assistant", "/usr/share//icons/hicolor/32x32/apps/assistant.png" },
+ {"Qt Designer", "/usr/bin/designer", "/usr/share//icons/hicolor/128x128/apps/designer.png" },
+ {"Qt Linguist", "/usr/bin/linguist", "/usr/share//icons/hicolor/16x16/apps/linguist.png" },
+ }
+
+ menu80d754c83abbbd4ef5d150904efcc86c = { {"Gnumeric", "gnumeric ", "/usr/share//icons/hicolor/16x16/apps/gnumeric.png" },
+ }
+
+ menu52dd1c847264a75f400961bfb4d1c849 = { {"Mixer", "xfce4-mixer", "/usr/share//icons/gnome/16x16/apps/multimedia-volume-control.png" },
+ {"QT V4L2 test Utility", "qv4l2", "/usr/share//icons/hicolor/16x16/apps/qv4l2.png" },
+ {"Qmmp", "qmmp ", "/usr/share//icons/hicolor/16x16/apps/qmmp.png" },
+ {"UMPlayer", "umplayer ", "/usr/share//icons/hicolor/16x16/apps/umplayer.png" },
+ {"Xfburn", "xfburn", "/usr/share//icons/gnome/16x16/devices/media-cdrom.png" },
+ }
+
+ menuee69799670a33f75d45c57d1d1cd0ab3 = { {"Avahi Zeroconf Browser", "/usr/bin/avahi-discover", "/usr/share//icons/gnome/16x16/devices/network-wired.png" },
+ {"BleachBit", "bleachbit", "/usr/share/pixmaps/bleachbit.png" },
+ {"Bulk Rename", "/usr/lib/Thunar/ThunarBulkRename ", "/usr/share//icons/hicolor/16x16/apps/Thunar.png" },
+ {"GParted", "gparted-pkexec", "/usr/share//icons/hicolor/16x16/apps/gparted.png" },
+ {"Htop", "xterm -e htop", "/usr/share/pixmaps/htop.png" },
+ {"Manage Printing", "/usr/bin/xdg-open http://localhost:631/", "/usr/share//icons/hicolor/16x16/apps/cups.png" },
+ {"PkgBrowser", "pkgbrowser", "/usr/share//icons/hicolor/48x48/apps/pkgbrowser.png" },
+ {"Task Manager", "xfce4-taskmanager", "/usr/share//icons/gnome/16x16/apps/utilities-system-monitor.png" },
+ {"Terminal", "Terminal", "/usr/share//icons/gnome/16x16/apps/utilities-terminal.png" },
+ {"Thunar File Manager", "Thunar ", "/usr/share//icons/hicolor/16x16/apps/Thunar.png" },
+ {"dconf Editor", "dconf-editor"},
+ }
+
+xdgmenu = { {"Accessories", menu98edb85b00d9527ad5acebe451b3fae6},
+ {"Archlinux", menu78059f1898ed518c6ccd6a6392fa82c1},
+ {"Graphics", menud334dfcea59127bedfcdbe0a3ee7f494},
+ {"Internet", menuc8205c7636e728d448c2774e6a4a944b},
+ {"Office", menudf814135652a5a308fea15bff37ea284},
+ {"Programming", menue6f43c40ab1c07cd29e4e83e4ef6bf85},
+ {"Science & Math", menu80d754c83abbbd4ef5d150904efcc86c},
+ {"Sound & Video", menu52dd1c847264a75f400961bfb4d1c849},
+ {"System Tools", menuee69799670a33f75d45c57d1d1cd0ab3},
+}
+
View
443 .config/awesome/rc.lua
@@ -0,0 +1,443 @@
+-- Standard awesome library
+require("awful")
+require("awful.autofocus")
+require("awful.rules")
+-- Theme handling library
+require("beautiful")
+-- Notification library
+require("naughty")
+require("vicious")
+--
+require("revelation")
+require("xdg-menu")
+require("calendar")
+
+ require("menubar")
+ menubar.cache_entries = true
+ menubar.app_folders = { "/usr/share/applications/" }
+ menubar.show_categories = true -- Change to false if you want only programs to appear in the menu
+ menubar.set_icon_theme("theme name")
+
+
+
+-- {{{ Error handling
+-- Check if awesome encountered an error during startup and fell back to
+-- another config (This code will only ever execute for the fallback config)
+if awesome.startup_errors then
+ naughty.notify({ preset = naughty.config.presets.critical,
+ title = "Oops, there were errors during startup!",
+ text = awesome.startup_errors })
+end
+
+-- Handle runtime errors after startup
+do
+ local in_error = false
+ awesome.add_signal("debug::error", function (err)
+ -- Make sure we don't go into an endless error loop
+ if in_error then return end
+ in_error = true
+
+ naughty.notify({ preset = naughty.config.presets.critical,
+ title = "Oops, an error happened!",
+ text = err })
+ in_error = false
+ end)
+end
+-- }}}
+
+
+-- {{{ Variable definitions
+-- Themes define colours, icons, and wallpapers
+beautiful.init("/usr/share/awesome/themes/zenburn/theme.lua")
+
+-- This is used later as the default terminal and editor to run.
+terminal = "xterm"
+editor = os.getenv("EDITOR") or "nano"
+editor_cmd = terminal .. " -e " .. editor
+
+-- However, you can use another modifier like Mod1, but it may interact with others.
+modkey = "Mod4"
+
+-- Table of layouts to cover with awful.layout.inc, order matters.
+layouts =
+{
+ awful.layout.suit.floating,
+ awful.layout.suit.tile,
+ --awful.layout.suit.tile.left,
+ awful.layout.suit.tile.bottom,
+ -- awful.layout.suit.tile.top,
+ --awful.layout.suit.fair,
+ --awful.layout.suit.fair.horizontal,
+ --awful.layout.suit.spiral,
+ --awful.layout.suit.spiral.dwindle,
+ awful.layout.suit.max,
+ --awful.layout.suit.max.fullscreen,
+ --awful.layout.suit.magnifier
+}
+
+-- {{{ Tagse
+-- Define a tag table which hold all screen tags.
+tags = {}
+for s = 1, screen.count() do
+ -- Each screen has its own tag table.
+ tags[s] = awful.tag({"#w","#f","#e","#t","#s"}, s,
+ { layouts[4], layouts[3], layouts[3], layouts[2], layouts[1]
+ })
+end
+
+-- {{{ Menu
+-- Create a laucher widget and a main menu
+myawesomemenu = {
+ { "manual", terminal .. " -e man awesome" },
+ { "edit config", editor_cmd .. " " .. awful.util.getdir("config") .. "/rc.lua" },
+ { "restart", awesome.restart },
+ { "quit", awesome.quit }
+}
+
+utils = {
+ {"task man", "xfce4-taskmanager"},
+ {"edit rc.conf", "gksu medit /etc/rc.conf"},
+ {"arch wiki", "firefox /usr/share/doc/arch-wiki/html/index.html"},
+ }
+
+mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
+ {"xdg-menu", xdgmenu},
+ {"tools", utils},
+ {"log out", "oblogout"},
+ }
+ })
+mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon),
+ menu = mymainmenu })
+-- }}}
+
+-- {{{ Wibox
+-- Create a wibox for each screen and add it
+mywibox = {}
+bottombar = {}
+mypromptbox = {}
+mylayoutbox = {}
+mytaglist = {}
+mytaglist.buttons = awful.util.table.join(
+ awful.button({ }, 1, awful.tag.viewonly),
+ awful.button({ modkey }, 1, awful.client.movetotag),
+ awful.button({ }, 3, awful.tag.viewtoggle),
+ awful.button({ modkey }, 3, awful.client.toggletag),
+ awful.button({ }, 4, awful.tag.viewnext),
+ awful.button({ }, 5, awful.tag.viewprev)
+ )
+mytasklist = {}
+mytasklist.buttons = awful.util.table.join(
+ awful.button({ }, 1, function (c)
+ if c == client.focus then
+ c.minimized = true
+ else
+ if not c:isvisible() then
+ awful.tag.viewonly(c:tags()[1])
+ end
+ -- This will also un-minimize
+ -- the client, if needed
+ client.focus = c
+ c:raise()
+ end
+ end),
+ awful.button({ }, 3, function ()
+ if instance then
+ instance:hide()
+ instance = nil
+ else
+ instance = awful.menu.clients({ width=250 })
+ end
+ end),
+ awful.button({ }, 4, function ()
+ awful.client.focus.byidx(1)
+ if client.focus then client.focus:raise() end
+ end),
+ awful.button({ }, 5, function ()
+ awful.client.focus.byidx(-1)
+ if client.focus then client.focus:raise() end
+ end))
+
+for s = 1, screen.count() do
+ -- Create a promptbox for each screen
+ mypromptbox[s] = awful.widget.prompt({ layout = awful.widget.layout.horizontal.leftright })
+ -- Create an imagebox widget which will contains an icon indicating which layout we're using.
+ -- We need one layoutbox per screen.
+ mylayoutbox[s] = awful.widget.layoutbox(s)
+ mylayoutbox[s]:buttons(awful.util.table.join(
+ awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end),
+ awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end),
+ awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end),
+ awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end)))
+ -- Create a taglist widget
+ mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.label.all, mytaglist.buttons)
+
+ -- Create a tasklist widget
+ mytasklist[s] = awful.widget.tasklist(function(c)
+ return awful.widget.tasklist.label.currenttags(c, s)
+ end, mytasklist.buttons)
+-- Reusable separator
+ separator = widget({ type = "textbox" })
+ separator.text = "|"
+ separators = widget({ type = "textbox" })
+ separators.text = " "
+
+-- Create a systray
+mysystray = widget({ type = "systray" })
+-- cpu
+cpuwidget = widget({ type = "textbox" })
+vicious.register( cpuwidget, vicious.widgets.cpu, "<span color='#F0DFAF'>$1%</span>")
+-- net
+netwidget = widget({ type = "textbox" })
+vicious.register( netwidget, vicious.widgets.net, "<span color='#F0DFAF'>${wlan0 down_kb}/${wlan0 up_kb}</span>")
+-- mem
+memwidget = widget({ type = "textbox" })
+vicious.register(memwidget, vicious.widgets.mem, "<span color='#F0DFAF'>$1%</span>", 15)
+-- swap
+swapwidget = widget({ type = "textbox" })
+vicious.register(swapwidget, vicious.widgets.mem, "<span color='#F0DFAF'>$5%</span>", 15)
+-- clock
+mytextclock = widget({ type = "textbox" })
+vicious.register(mytextclock, vicious.widgets.date, "<span color='white'>%R</span>")
+
+-- change clockbox for your clock widget (e.g. mytextclock)
+ mytextclock:add_signal("mouse::enter", function()
+ add_calendar(0)
+ end)
+ mytextclock:add_signal("mouse::leave", remove_calendar)
+
+ mytextclock:buttons(awful.util.table.join{
+ awful.button({ }, 4, function() add_calendar(-1) end),
+ awful.button({ }, 5, function() add_calendar(1) end),
+ })
+
+-- Create the wibox
+ mywibox[s] = awful.wibox({ position = "bottom", screen = s })
+ mywibox[s].widgets = {
+ {
+ mylauncher,
+ mylayoutbox[s],
+ mytaglist[s],
+ mypromptbox[s],
+ layout = awful.widget.layout.horizontal.leftright
+ },
+ s == 1 and mysystray or nil,
+ separators,
+ mytextclock,
+ --separator,
+ separators,
+ swapwidget,
+ separators,
+ memwidget,
+ separators,
+ cpuwidget,
+ separators,
+ netwidget,
+ separators,
+ mytasklist[s],
+ layout = awful.widget.layout.horizontal.rightleft
+ }
+
+ end
+
+ -- {{{ Mouse bindings
+root.buttons(awful.util.table.join(
+ awful.button({ }, 3, function () mymainmenu:toggle() end),
+ awful.button({ }, 4, awful.tag.viewnext),
+ awful.button({ }, 5, awful.tag.viewprev)
+))
+
+-- {{{ Key bindings
+ globalkeys = awful.util.table.join(
+ awful.key({ modkey, }, "Left", awful.tag.viewprev ),
+ awful.key({ modkey, }, "Right", awful.tag.viewnext ),
+ awful.key({ modkey, }, "Escape", awful.tag.history.restore),
+
+ awful.key({ modkey, "Shift" }, "j",
+ function ()
+ awful.client.focus.byidx( 1)
+ if client.focus then client.focus:raise() end
+ end),
+ awful.key({ modkey, "Shift" }, "k",
+ function ()
+ awful.client.focus.byidx(-1)
+ if client.focus then client.focus:raise() end
+ end),
+ awful.key({ modkey, }, "q", function () mymainmenu:show({keygrabber=true}) end),
+ awful.key({ }, "Print", function () awful.util.spawn("scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/'") end),
+
+ -- require revelation
+ -- awful.key({ modkey }, "s", revelation.revelation),
+ awful.key({ modkey }, "s", function () menubar.show() end),
+
+ -- Layout manipulation
+ awful.key({ modkey, }, "j", function () awful.client.swap.byidx( 1) end),
+ awful.key({ modkey, }, "k", function () awful.client.swap.byidx( -1) end),
+ awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end),
+ awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end),
+ awful.key({ modkey, }, "u", awful.client.urgent.jumpto),
+ awful.key({ modkey, }, "Tab",
+ function ()
+ awful.client.focus.history.previous()
+ if client.focus then
+ client.focus:raise()
+ end
+ end),
+
+ -- Standard program
+ awful.key({ modkey, }, "Return", function () awful.util.spawn("terminal") end),
+ awful.key({ modkey, }, "w", function () awful.util.spawn("firefox") end),
+ awful.key({ modkey, }, "e", function () awful.util.spawn("medit") end),
+ awful.key({ modkey, }, "a", function () awful.util.spawn("thunar") end),
+ awful.key({ modkey, "Control" }, "r", awesome.restart),
+ awful.key({ modkey, "Shift" }, "q", awesome.quit),
+ awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end),
+ awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end),
+ awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1) end),
+ awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end),
+ awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end),
+ awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end),
+ awful.key({ modkey, }, "space", function () awful.layout.inc(layouts, 1) end),
+ awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
+ awful.key({modkey }, "y", function() awful.util.spawn_with_shell( "exe=`/home/simke/.scripts/dprog` && exec $exe") end),
+ awful.key({modkey }, "g", function() awful.util.spawn_with_shell( "exe=`/home/simke/.scripts/dgoogle` && exec $exe") end),
+ awful.key({modkey }, "d", function() awful.util.spawn_with_shell( "exe=`/home/simke/.scripts/drun` && exec $exe") end),
+
+ -- Prompt
+ awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
+
+ awful.key({ modkey }, "x",
+ function ()
+ awful.prompt.run({ prompt = "Run Lua code: " },
+ mypromptbox[mouse.screen].widget,
+ awful.util.eval, nil,
+ awful.util.getdir("cache") .. "/history_eval")
+ end)
+)
+
+clientkeys = awful.util.table.join(
+ awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
+ awful.key({ modkey, }, "c", function (c) c:kill() end),
+ awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ),
+ awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
+ awful.key({ modkey, }, "o", awful.client.movetoscreen ),
+ awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
+ awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
+ awful.key({ modkey, }, "n", function (c) c.minimized = not c.minimized end),
+ awful.key({ modkey, }, "m",
+ function (c)
+ c.maximized_horizontal = not c.maximized_horizontal
+ c.maximized_vertical = not c.maximized_vertical
+ end)
+)
+
+-- Compute the maximum number of digit we need, limited to 9
+keynumber = 0
+for s = 1, screen.count() do
+ keynumber = math.min(9, math.max(#tags[s], keynumber));
+end
+
+-- Bind all key numbers to tags.
+-- Be careful: we use keycodes to make it works on any keyboard layout.
+-- This should map on the top row of your keyboard, usually 1 to 9.
+for i = 1, keynumber do
+ globalkeys = awful.util.table.join(globalkeys,
+ awful.key({ modkey }, "#" .. i + 9,
+ function ()
+ local screen = mouse.screen
+ if tags[screen][i] then
+ awful.tag.viewonly(tags[screen][i])
+ end
+ end),
+ awful.key({ modkey, "Control" }, "#" .. i + 9,
+ function ()
+ local screen = mouse.screen
+ if tags[screen][i] then
+ awful.tag.viewtoggle(tags[screen][i])
+ end
+ end),
+ awful.key({ modkey, "Shift" }, "#" .. i + 9,
+ function ()
+ if client.focus and tags[client.focus.screen][i] then
+ awful.client.movetotag(tags[client.focus.screen][i])
+ end
+ end),
+ awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
+ function ()
+ if client.focus and tags[client.focus.screen][i] then
+ awful.client.toggletag(tags[client.focus.screen][i])
+ end
+ end))
+end
+
+clientbuttons = awful.util.table.join(
+ awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
+ awful.button({ modkey }, 1, awful.mouse.client.move),
+ awful.button({ modkey }, 3, awful.mouse.client.resize))
+
+-- Set keys
+root.keys(globalkeys)
+
+-- {{{ Rules
+awful.rules.rules = {
+ -- All clients will match this rule.
+ { rule = { },
+ properties = { border_width = beautiful.border_width,
+ border_color = beautiful.border_normal,
+ focus = true,
+ keys = clientkeys,
+ buttons = clientbuttons } },
+ { rule = { class = "MPlayer" },
+ properties = { floating = true } },
+ { rule = { class = "pinentry" },
+ properties = { floating = true } },
+ { rule = { class = "gimp" },
+ properties = { floating = true } },
+ -- Set Firefox to always map on tags number 2 of screen 1.
+ --{ rule = { class = "Firefox" },
+ --properties = { tag = tags[1][10] } },
+}
+
+-- {{{ Signals
+-- Signal function to execute when a new client appears.
+client.add_signal("manage", function (c, startup)
+ --Add a titlebar
+ --awful.titlebar.add(c, { modkey = modkey })
+
+ -- Enable sloppy focus
+ c:add_signal("mouse::enter", function(c)
+ if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
+ and awful.client.focus.filter(c) then
+ client.focus = c
+ end
+ end)
+
+ if not startup then
+ -- Set the windows at the slave,
+ -- i.e. put it at the end of others instead of setting it master.
+ -- awful.client.setslave(c)
+
+ -- Put windows in a smart way, only if they does not set an initial position.
+ if not c.size_hints.user_position and not c.size_hints.program_position then
+ awful.placement.no_overlap(c)
+ awful.placement.no_offscreen(c)
+ end
+ end
+end)
+
+client.add_signal("focus", function(c) c.border_color = beautiful.border_focus end)
+client.add_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
+
+-- start
+local r = require("runonce")
+-- r.run("wicd-client &")
+-- r.run("conky &")
+-- r.run("volumeicon &")
+-- r.run("parcellite &")
+-- r.run("xcompmgr &")
+-- r.run("nitrogen --restore &")
+--r.run("setxkbmap -layout hr &")
+
+--os.execute(terminal .. "devmon &")
+
+-- generate xdg-menu
+--os.execute("exe=`xdg_menu --format awesome --root-menu /etc/xdg/menus/applications.menu >~/.config/awesome/xdg-menu.lua` && exec $exe &")
View
146 .config/awesome/revelation.lua
@@ -0,0 +1,146 @@
+-- revelation.lua
+-- This is a modification of the original awesome library that implemented
+-- expose like behavior.
+--
+-- @author Perry Hargrave (aka bioe007)
+-- perry)dot(hargrave)at(gmail.com
+-- awesome v3.4-20-g8e02306 (Closing In)
+--
+-- original file information:
+-- @author Espen Wiborg &lt;espenhw@grumblesmurf.org&gt;
+-- @author Julien Danjou &lt;julien@danjou.info&gt;
+-- @copyright 2008 Espen Wiborg, Julien Danjou
+--
+-- USE:
+-- 1. save this file as $HOME/.config/awesome/revelation.lua
+-- 2. put near the top of your rc.lua
+-- require("revelation")
+-- 3. make a global keybinding for revelation in your rc.lua:
+-- awful.key({ modkey }, "e", revelation.revelation)
+-- 4. reload rc.lua and try the keybinding. It should bring all clients to the
+-- current tag and set the layout to fair. You can focus clients with
+-- cursor(arrow) or 'hjkl' keys then press <enter> to select or <escape> to
+-- abort
+--
+-- NOTES: I have dumbed this down to simply merge all clients to the current tag
+-- the class filter is of little use (to me?) but I could reimplement it
+-- if anyone is interested
+--
+local math = math
+local table = table
+local pairs = pairs
+local button = button
+local awful = awful
+local capi =
+{
+ tag = tag,
+ client = client,
+ keygrabber = keygrabber,
+ mouse = mouse,
+ screen = screen
+}
+local print = print
+--- Exposé implementation
+module("revelation")
+
+--{{{ clients
+-- a now unused filter to grab clients based on their class
+--
+-- @param class the class string to find
+-- @s the screen
+function clients(class, s)
+ local clients
+ if class then
+ clients = {}
+ for k, c in pairs(capi.client.get(s)) do
+ if c.class == class then
+ table.insert(clients, c)
+ end
+ end
+ else
+ clients = capi.client.get(s)
+ end
+ return clients
+end
+--}}}
+
+--{{{ selectfn
+-- executed when user selects a client from expose view
+--
+-- @param restore function to reset the current tags view
+function selectfn(restore)
+ return function(c)
+ restore()
+ -- Pop to client tag
+ awful.tag.viewonly(c:tags()[1], c.screen)
+ -- Focus and raise
+ capi.client.focus = c
+ c:raise()
+ end
+end
+--}}}
+
+--{{{ keyboardhandler
+-- Returns keyboardhandler.
+-- Arrow keys and 'hjkl' move focus, Return selects, Escape cancels. Ignores
+-- modifiers.
+--
+-- @param restore a function to call if the user presses escape
+function keyboardhandler (restore)
+ return function (mod, key, event)
+ if event ~= "press" then return true end
+ -- translate vim-style home keys to directions
+ if key == "j" or key == "k" or key == "h" or key == "l" then
+ if key == "j" then
+ key = "Down"
+ elseif key == "k" then
+ key = "Up"
+ elseif key == "h" then
+ key = "Left"
+ elseif key == "l" then
+ key = "Right"
+ end
+ end
+
+ --
+ if key == "Escape" then
+ restore()
+ return false
+ elseif key == "Return" then
+ selectfn(restore)(capi.client.focus)
+ return false
+ elseif key == "Left" or key == "Right" or
+ key == "Up" or key == "Down" then
+ awful.client.focus.bydirection(key:lower())
+ end
+ return true
+ end
+end
+--}}}
+
+--{{{ revelation
+-- Implement Exposé (from Mac OS X).
+-- @param class The class of clients to expose, or nil for all clients.
+-- @param fn A binary function f(t, n) to set the layout for tag t for n
+-- clients, or nil for the default layout.
+-- @param s The screen to consider clients of, or nil for "current screen".
+function revelation(class, fn, s)
+ local scr = s or capi.mouse.screen
+ local t = capi.screen[scr]:tags()[1]
+ local oldlayout = awful.tag.getproperty( t, "layout" )
+
+ awful.tag.viewmore( capi.screen[scr]:tags(), t.screen )
+ awful.layout.set(awful.layout.suit.fair,t)
+
+ local function restore()
+ awful.layout.set(oldlayout,t)
+ awful.tag.viewonly(t)
+
+ capi.keygrabber.stop()
+ end
+
+ capi.keygrabber.run(keyboardhandler(restore))
+end
+--}}}
+
+-- vim:set ft=lua fdm=marker ts=4 sw=4 et ai si: --
View
74 .config/awesome/runonce.lua
@@ -0,0 +1,74 @@
+-- @author Peter J. Kranz (Absurd-Mind, peter@myref.net)
+-- Any questions, criticism or praise just drop me an email
+
+local M = {}
+
+-- get the current Pid of awesome
+local function getCurrentPid()
+ -- get awesome pid from pgrep
+ local fpid = io.popen("pgrep -u " .. os.getenv("USER") .. " -o awesome")
+ local pid = fpid:read("*n")
+ fpid:close()
+
+ -- sanity check
+ if pid == nil then
+ return -1
+ end
+
+ return pid
+end
+
+local function getOldPid(filename)
+ -- open file
+ local pidFile = io.open(filename)
+ if pidFile == nil then
+ return -1
+ end
+
+ -- read number
+ local pid = pidFile:read("*n")
+ pidFile:close()
+
+ -- sanity check
+ if pid <= 0 then
+ return -1
+ end
+
+ return pid;
+end
+
+local function writePid(filename, pid)
+ local pidFile = io.open(filename, "w+")
+ pidFile:write(pid)
+ pidFile:close()
+end
+
+local function shallExecute(oldPid, newPid)
+ -- simple check if equivalent
+ if oldPid == newPid then
+ return false
+ end
+
+ return true
+end
+
+local function getPidFile()
+ local host = io.lines("/proc/sys/kernel/hostname")()
+ return awful.util.getdir("cache") .. "/awesome." .. host .. ".pid"
+end
+
+-- run Once per real awesome start (config reload works)
+-- does not cover "pkill awesome && awesome"
+function M.run(shellCommand)
+ -- check and Execute
+ if shallExecute(M.oldPid, M.currentPid) then
+ awful.util.spawn_with_shell(shellCommand)
+ end
+end
+
+M.pidFile = getPidFile()
+M.oldPid = getOldPid(M.pidFile)
+M.currentPid = getCurrentPid()
+writePid(M.pidFile, M.currentPid)
+
+return M
View
15 .config/awesome/themes/peaksea/README
@@ -0,0 +1,15 @@
+This is an awesome theme based off of the peaksea color them for VIM.
+ http://www.vim.org/scripts/script.php?script_id=760
+
+The initial start for this theme was the zenburn theme included with
+awesome by default. I copied all the icons and the changed the
+background to match.
+ http://slinky.imukuppi.org/zenburnpage/
+
+The colors are still a work in process, so don't be surprised to see
+a very zenburn-esque pallet. As always contributions are welcome!
+
+Outside of those two credits the rest of the work thus far has been
+all mine.
+
+--Steven Oliver
View
BIN .config/awesome/themes/peaksea/awesome-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/layouts/dwindle.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/layouts/fairh.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/layouts/fairv.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/layouts/floating.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/layouts/fullscreen.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/layouts/magnifier.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/layouts/max.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/layouts/spiral.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/layouts/tile.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/layouts/tilebottom.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/layouts/tileleft.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/layouts/tiletop.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/peaksea-background-light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/peaksea-background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/taglist/squarefz.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/taglist/squarez.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
128 .config/awesome/themes/peaksea/theme.lua
@@ -0,0 +1,128 @@
+-------------------------------------
+-- "Peaksea" awesome theme --
+-- By Steven Oliver (steveno) --
+-------------------------------------
+
+-- Alternative icon sets and widget icons:
+-- * http://awesome.naquadah.org/wiki/Nice_Icons
+
+-- {{{ Main
+theme = {}
+theme.wallpaper_cmd = { "awsetbg /usr/share/awesome/themes/peaksea/peaksea-background.png" }
+-- }}}
+
+-- {{{ Styles
+theme.font = "sans 8"
+
+-- {{{ Colors
+theme.fg_normal = "#D0D0D0"
+theme.fg_focus = "#B0B0B0"
+theme.fg_urgent = "#60F080"
+theme.bg_normal = "#202020"
+theme.bg_focus = "#333435"
+theme.bg_urgent = "#D0D0D0"
+-- }}}
+
+-- {{{ Borders
+theme.border_width = "2"
+theme.border_normal = "#3F3F3F"
+theme.border_focus = "#6F6F6F"
+theme.border_marked = "#CC9393"
+-- }}}
+
+-- {{{ Titlebars
+theme.titlebar_bg_focus = "#3F3F3F"
+theme.titlebar_bg_normal = "#3F3F3F"
+-- }}}
+
+-- There are other variable sets
+-- overriding the default one when
+-- defined, the sets are:
+-- [taglist|tasklist]_[bg|fg]_[focus|urgent]
+-- titlebar_[normal|focus]
+-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
+-- Example:
+--theme.taglist_bg_focus = "#CC9393"
+-- }}}
+
+-- {{{ Widgets
+-- You can add as many variables as
+-- you wish and access them by using
+-- beautiful.variable in your rc.lua
+--theme.fg_widget = "#AECF96"
+--theme.fg_center_widget = "#88A175"
+--theme.fg_end_widget = "#FF5656"
+--theme.bg_widget = "#494B4F"
+--theme.border_widget = "#3F3F3F"
+-- }}}
+
+-- {{{ Mouse finder
+theme.mouse_finder_color = "#CC9393"
+-- mouse_finder_[timeout|animate_timeout|radius|factor]
+-- }}}
+
+-- {{{ Menu
+-- Variables set for theming the menu:
+-- menu_[bg|fg]_[normal|focus]
+-- menu_[border_color|border_width]
+theme.menu_height = "15"
+theme.menu_width = "100"
+-- }}}
+
+-- {{{ Icons
+-- {{{ Taglist
+theme.taglist_squares_sel = "/usr/share/awesome/themes/peaksea/taglist/squarefz.png"
+theme.taglist_squares_unsel = "/usr/share/awesome/themes/peaksea/taglist/squarez.png"
+--theme.taglist_squares_resize = "false"
+-- }}}
+
+-- {{{ Misc
+theme.awesome_icon = "/usr/share/awesome/themes/peaksea/awesome-icon.png"
+theme.menu_submenu_icon = "/usr/share/awesome/themes/default/submenu.png"
+theme.tasklist_floating_icon = "/usr/share/awesome/themes/default/tasklist/floatingw.png"
+-- }}}
+
+-- {{{ Layout
+theme.layout_tile = "/usr/share/awesome/themes/peaksea/layouts/tile.png"
+theme.layout_tileleft = "/usr/share/awesome/themes/peaksea/layouts/tileleft.png"
+theme.layout_tilebottom = "/usr/share/awesome/themes/peaksea/layouts/tilebottom.png"
+theme.layout_tiletop = "/usr/share/awesome/themes/peaksea/layouts/tiletop.png"
+theme.layout_fairv = "/usr/share/awesome/themes/peaksea/layouts/fairv.png"
+theme.layout_fairh = "/usr/share/awesome/themes/peaksea/layouts/fairh.png"
+theme.layout_spiral = "/usr/share/awesome/themes/peaksea/layouts/spiral.png"
+theme.layout_dwindle = "/usr/share/awesome/themes/peaksea/layouts/dwindle.png"
+theme.layout_max = "/usr/share/awesome/themes/peaksea/layouts/max.png"
+theme.layout_fullscreen = "/usr/share/awesome/themes/peaksea/layouts/fullscreen.png"
+theme.layout_magnifier = "/usr/share/awesome/themes/peaksea/layouts/magnifier.png"
+theme.layout_floating = "/usr/share/awesome/themes/peaksea/layouts/floating.png"
+-- }}}
+
+-- {{{ Titlebar
+theme.titlebar_close_button_focus = "/usr/share/awesome/themes/peaksea/titlebar/close_focus.png"
+theme.titlebar_close_button_normal = "/usr/share/awesome/themes/peaksea/titlebar/close_normal.png"
+
+theme.titlebar_ontop_button_focus_active = "/usr/share/awesome/themes/peaksea/titlebar/ontop_focus_active.png"
+theme.titlebar_ontop_button_normal_active = "/usr/share/awesome/themes/peaksea/titlebar/ontop_normal_active.png"
+theme.titlebar_ontop_button_focus_inactive = "/usr/share/awesome/themes/peaksea/titlebar/ontop_focus_inactive.png"
+theme.titlebar_ontop_button_normal_inactive = "/usr/share/awesome/themes/peaksea/titlebar/ontop_normal_inactive.png"
+
+theme.titlebar_sticky_button_focus_active = "/usr/share/awesome/themes/peaksea/titlebar/sticky_focus_active.png"
+theme.titlebar_sticky_button_normal_active = "/usr/share/awesome/themes/peaksea/titlebar/sticky_normal_active.png"
+theme.titlebar_sticky_button_focus_inactive = "/usr/share/awesome/themes/peaksea/titlebar/sticky_focus_inactive.png"
+theme.titlebar_sticky_button_normal_inactive = "/usr/share/awesome/themes/peaksea/titlebar/sticky_normal_inactive.png"
+
+theme.titlebar_floating_button_focus_active = "/usr/share/awesome/themes/peaksea/titlebar/floating_focus_active.png"
+theme.titlebar_floating_button_normal_active = "/usr/share/awesome/themes/peaksea/titlebar/floating_normal_active.png"
+theme.titlebar_floating_button_focus_inactive = "/usr/share/awesome/themes/peaksea/titlebar/floating_focus_inactive.png"
+theme.titlebar_floating_button_normal_inactive = "/usr/share/awesome/themes/peaksea/titlebar/floating_normal_inactive.png"
+
+theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/peaksea/titlebar/maximized_focus_active.png"
+theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/peaksea/titlebar/maximized_normal_active.png"
+theme.titlebar_maximized_button_focus_inactive = "/usr/share/awesome/themes/peaksea/titlebar/maximized_focus_inactive.png"
+theme.titlebar_maximized_button_normal_inactive = "/usr/share/awesome/themes/peaksea/titlebar/maximized_normal_inactive.png"
+-- }}}
+-- }}}
+
+return theme
+
+-- vim: set sw=4 sts=4 et ft=lua : --
View
BIN .config/awesome/themes/peaksea/titlebar/close_focus.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/titlebar/close_normal.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/titlebar/floating_focus_active.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/titlebar/floating_focus_inactive.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/titlebar/floating_normal_active.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/titlebar/floating_normal_inactive.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/titlebar/maximized_focus_active.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/titlebar/maximized_focus_inactive.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN .config/awesome/themes/peaksea/titlebar/maximized_normal_active.png
Diff not rendered.
View
BIN .config/awesome/themes/peaksea/titlebar/maximized_normal_inactive.png
Diff not rendered.
View
BIN .config/awesome/themes/peaksea/titlebar/ontop_focus_active.png
Diff not rendered.
View
BIN .config/awesome/themes/peaksea/titlebar/ontop_focus_inactive.png
Diff not rendered.
View
BIN .config/awesome/themes/peaksea/titlebar/ontop_normal_active.png
Diff not rendered.
View
BIN .config/awesome/themes/peaksea/titlebar/ontop_normal_inactive.png
Diff not rendered.
View
BIN .config/awesome/themes/peaksea/titlebar/sticky_focus_active.png
Diff not rendered.
View
BIN .config/awesome/themes/peaksea/titlebar/sticky_focus_inactive.png
Diff not rendered.
View
BIN .config/awesome/themes/peaksea/titlebar/sticky_normal_active.png
Diff not rendered.
View
BIN .config/awesome/themes/peaksea/titlebar/sticky_normal_inactive.png
Diff not rendered.
View
126 .config/awesome/themes/zenburn/theme.lua
@@ -0,0 +1,126 @@
+-------------------------------
+-- "Zenburn" awesome theme --
+-- By Adrian C. (anrxc) --
+-------------------------------
+
+-- Alternative icon sets and widget icons:
+-- * http://awesome.naquadah.org/wiki/Nice_Icons
+
+-- {{{ Main
+theme = {}
+theme.wallpaper_cmd = { "awsetbg /usr/share/awesome/themes/zenburn/zenburn-background.png" }
+-- }}}
+
+-- {{{ Styles
+theme.font = "sans 8"
+
+-- {{{ Colors
+theme.fg_normal = "#DCDCCC"
+theme.fg_focus = "#F0DFAF"
+theme.fg_urgent = "#CC9393"
+theme.bg_normal = "#3F3F3F"
+theme.bg_focus = "#1E2320"
+theme.bg_urgent = "#3F3F3F"
+-- }}}
+
+-- {{{ Borders
+theme.border_width = "2"
+theme.border_normal = "#3F3F3F"
+theme.border_focus = "#6F6F6F"
+theme.border_marked = "#CC9393"
+-- }}}
+
+-- {{{ Titlebars
+theme.titlebar_bg_focus = "#3F3F3F"
+theme.titlebar_bg_normal = "#3F3F3F"
+-- }}}
+
+-- There are other variable sets
+-- overriding the default one when
+-- defined, the sets are:
+-- [taglist|tasklist]_[bg|fg]_[focus|urgent]
+-- titlebar_[normal|focus]
+-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
+-- Example:
+--theme.taglist_bg_focus = "#CC9393"
+-- }}}
+
+-- {{{ Widgets
+-- You can add as many variables as
+-- you wish and access them by using
+-- beautiful.variable in your rc.lua
+--theme.fg_widget = "#AECF96"
+--theme.fg_center_widget = "#88A175"
+--theme.fg_end_widget = "#FF5656"
+--theme.bg_widget = "#494B4F"
+--theme.border_widget = "#3F3F3F"
+-- }}}
+
+-- {{{ Mouse finder
+theme.mouse_finder_color = "#CC9393"
+-- mouse_finder_[timeout|animate_timeout|radius|factor]
+-- }}}
+
+-- {{{ Menu
+-- Variables set for theming the menu:
+-- menu_[bg|fg]_[normal|focus]
+-- menu_[border_color|border_width]
+theme.menu_height = "15"
+theme.menu_width = "150"
+-- }}}
+
+-- {{{ Icons
+-- {{{ Taglist
+theme.taglist_squares_sel = "/usr/share/awesome/themes/zenburn/taglist/squarefz.png"
+theme.taglist_squares_unsel = "/usr/share/awesome/themes/zenburn/taglist/squarez.png"
+--theme.taglist_squares_resize = "false"
+-- }}}
+
+-- {{{ Misc
+theme.awesome_icon = "/usr/share/awesome/themes/zenburn/awesome-icon.png"
+theme.menu_submenu_icon = "/usr/share/awesome/themes/default/submenu.png"
+theme.tasklist_floating_icon = "/usr/share/awesome/themes/default/tasklist/floatingw.png"
+-- }}}
+
+-- {{{ Layout
+theme.layout_tile = "/usr/share/awesome/themes/zenburn/layouts/tile.png"
+theme.layout_tileleft = "/usr/share/awesome/themes/zenburn/layouts/tileleft.png"
+theme.layout_tilebottom = "/usr/share/awesome/themes/zenburn/layouts/tilebottom.png"
+theme.layout_tiletop = "/usr/share/awesome/themes/zenburn/layouts/tiletop.png"
+theme.layout_fairv = "/usr/share/awesome/themes/zenburn/layouts/fairv.png"
+theme.layout_fairh = "/usr/share/awesome/themes/zenburn/layouts/fairh.png"
+theme.layout_spiral = "/usr/share/awesome/themes/zenburn/layouts/spiral.png"
+theme.layout_dwindle = "/usr/share/awesome/themes/zenburn/layouts/dwindle.png"
+theme.layout_max = "/usr/share/awesome/themes/zenburn/layouts/max.png"
+theme.layout_fullscreen = "/usr/share/awesome/themes/zenburn/layouts/fullscreen.png"
+theme.layout_magnifier = "/usr/share/awesome/themes/zenburn/layouts/magnifier.png"
+theme.layout_floating = "/usr/share/awesome/themes/zenburn/layouts/floating.png"
+-- }}}
+
+-- {{{ Titlebar
+theme.titlebar_close_button_focus = "/usr/share/awesome/themes/zenburn/titlebar/close_focus.png"
+theme.titlebar_close_button_normal = "/usr/share/awesome/themes/zenburn/titlebar/close_normal.png"
+
+theme.titlebar_ontop_button_focus_active = "/usr/share/awesome/themes/zenburn/titlebar/ontop_focus_active.png"
+theme.titlebar_ontop_button_normal_active = "/usr/share/awesome/themes/zenburn/titlebar/ontop_normal_active.png"
+theme.titlebar_ontop_button_focus_inactive = "/usr/share/awesome/themes/zenburn/titlebar/ontop_focus_inactive.png"
+theme.titlebar_ontop_button_normal_inactive = "/usr/share/awesome/themes/zenburn/titlebar/ontop_normal_inactive.png"
+
+theme.titlebar_sticky_button_focus_active = "/usr/share/awesome/themes/zenburn/titlebar/sticky_focus_active.png"
+theme.titlebar_sticky_button_normal_active = "/usr/share/awesome/themes/zenburn/titlebar/sticky_normal_active.png"
+theme.titlebar_sticky_button_focus_inactive = "/usr/share/awesome/themes/zenburn/titlebar/sticky_focus_inactive.png"
+theme.titlebar_sticky_button_normal_inactive = "/usr/share/awesome/themes/zenburn/titlebar/sticky_normal_inactive.png"
+
+theme.titlebar_floating_button_focus_active = "/usr/share/awesome/themes/zenburn/titlebar/floating_focus_active.png"
+theme.titlebar_floating_button_normal_active = "/usr/share/awesome/themes/zenburn/titlebar/floating_normal_active.png"
+theme.titlebar_floating_button_focus_inactive = "/usr/share/awesome/themes/zenburn/titlebar/floating_focus_inactive.png"
+theme.titlebar_floating_button_normal_inactive = "/usr/share/awesome/themes/zenburn/titlebar/floating_normal_inactive.png"
+
+theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/zenburn/titlebar/maximized_focus_active.png"
+theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/zenburn/titlebar/maximized_normal_active.png"
+theme.titlebar_maximized_button_focus_inactive = "/usr/share/awesome/themes/zenburn/titlebar/maximized_focus_inactive.png"
+theme.titlebar_maximized_button_normal_inactive = "/usr/share/awesome/themes/zenburn/titlebar/maximized_normal_inactive.png"
+-- }}}
+-- }}}
+
+return theme
View
BIN .config/awesome/themes/zenburn/theme.lua.tar.bz2
Binary file not shown.
View
283 .config/awesome/vicious/CHANGES
@@ -0,0 +1,283 @@
+---------------------------------------------------
+Full changelog is available online:
+ http://git.sysphere.org/vicious/log/?showmsg=1
+---------------------------------------------------
+add54f8 README: added missing register() documentation
+fe2e432 TODO: fix contrib/sensors for Ian
+7625933 wifi: proper fix for SSID regexp
+7f7a94d gmail: inbox is now default
+82eb67b wifi: removed spurious bracket from SSID regexp
+304fa33 wifi: properly handle disconnects
+32a7be1 wifi: provide link quality in percent
+c532c0b contrib: fixed email of pulse widget author
+49b0913 wifi: improved SSID regular expression
+932bd8d init: emit timeout instead of forced update
+fbd2af7 init: add set_markup support
+e51d8ac date: turn time widget argument into an offset
+c6085ee date: accept time as a widget argument
+a9d6ea2 init: add connect_signal support, patch by Uli
+86a1394 README: update contrib information
+fbfcc49 init: comment connect_signal for users of awesome master
+1d7f646 pkg: description updated
+88c3d0c contrib: use pcall for luasocket in pop
+b200a80 contrib: dont import pop - requires luasocket
+0350ec9 TODO: document contrib widgets
+f8a8696 contrib: imported POP3 widget from Boris
+1a443cd init: import contrib widgets, commented
+26b0395 contrib: imported contrib widgets
+0d6333e Next release, tag 2.0.1
+1534951 mpd: added some optional stats, commented
+4113d37 pkg: include FreeBSD support
+fc46e7a TODO: solid multigraph support needed
+d912663 net: add operational state support
+8674c91 dio: add partition support
+d6faae1 TODO: remove org-mode extension
+6171734 TODO: added the carrier detection todo
+6d6e98a TODO: included the todo file to encourage contribution
+ca1d8d7 README: cut on the security crap
+fdae848 raid: removed permanent stats storage
+3e12875 pkg: include Mandriva support
+64e5426 uptime: simplified system load regexp
+448275a widgets: reuse existing datasets where appropriate
+a9347ec raid: import raid state widget type by Hagen
+9af29ce pkg: aptitude alternative to apt-show-versions
+94a60fb bat: fixed module description
+338a2ee Next release, tag 2.0.0
+0299c15 widgets: minor cleanup before a tag in cpuinf, fs, mbox...
+4fc6dff wifi: return 0 not N/A when channel is unavailable
+f50ad21 thermal: function argument is already local
+4f86e28 os: merge with entropy widget type
+49b1b09 helpers: index subdirectories in pathtotable()
+7cbf987 bat: fix battery detection
+a4bd307 README: updated link to contrib
+4dad2e3 API: missing warg should not break awesome
+237470c API: transform widgets namespace table to a directory
+9a82d41 init: never pass string to awful.widget widgets
+3ac4fcf init: missing widget type should not break awesome
+febc91d hddtemp: minor style changes
+9338cb9 cpuinf: rewritten and optimized
+96a8e55 Make use of io.lines() where appropriate
+6441db0 README: added a list of needed utilities
+06a455a README: add contributors to Authors section
+178a7eb README: added contrib and vicious-fbsd information
+0dd5b72 README: standardize quotes
+8482b54 mpd: rewritten and now uses curl not mpc
+dda51b1 net: remove redudant string.match call
+1abb451 Next release, tag 1.0.26
+6898d4a dio: add I/O scheduler support
+71f21f3 fs: use -l not --local for portability
+edb4619 os: import operating system information widget
+de15934 fs: further improve the regexp
+3178068 mem: rewrite and simplify
+77d1a0b gmail: switch to ~/.netrc for login storage
+1c0ceff gmail: don't break on non-escaped chars, quote login
+abacd77 fs: include available space in percent, requested by Jon
+94e7ed1 fs: rewritten, less prone to error
+fa40e40 init: never pass nil into awful.widget widgets
+6f79227 Next release, tag 1.0.25
+f34bfaf fs: fix the bug reported by Alex Tergeland
+5f41c7a init: do not use keyword type for user data
+ee64644 API: added force() function to force update widgets
+95e9a77 API: regregister() and update() are not exposed
+ff050a0 README: link to the "Widgets in awesome" document
+5226d10 API: function enable_caching() is now cache()
+9371839 volume: added real mute support
+dbd6c7b weather: capitalize weather and sky stats
+2c6b969 weather: calculate degree Celsius from Fahrenheit
+ad14818 helpers: import capitalize
+0ab8311 wifi: properly handle iwconfig PATH differences
+4fa87fa wifi: properly handle non-existant interface
+9eef646 git: ignore file removed
+4664bee mdir: fix module description
+57004c0 Next release, tag 1.0.24
+b96cb98 bat: added a note about Apple PMU and ACPI/procfs
+23d09f0 README: added the Security section
+e29ea62 helpers: uformat helper replaces formatting done by widgets
+f4cd746 pkg: solve interactive pacman prompt patch from tdy
+5e1d1e0 volume: suggest appending card ID or other options
+24f23fa gmail: reworked feed handling and changed username format
+6c34e85 thermal: added support for procfs and coretemp
+355c838 Next release, tag 1.0.23
+0f3123e README: added textbox fixed width example
+3095ffb pkg: added apt and yum to pkg managers table
+91925e6 pkg: pacman moved to generic packages module
+71566e0 dio: further improved support for multiple devices
+8fe4cf4 net: sanitize time computation to avoid division by zero
+d2a00d7 Next release, tag 1.0.22
+15dd6ea vicious: update copyright
+9e37225 pacman: remove 3.2 example, add ignores+deps example
+cedf171 wifi: return numbers without notations
+fba4db6 weather: fix parsing of negative temperatures
+2100ea1 Next release, tag 1.0.21
+9b5efc7 cpu: simplified table initialization
+9150063 dio: preliminary support for multiple devices
+b4031d2 dio: return separated read and write statistics
+2c900fa README: minor changes in Format functions
+c870691 fs: switched to 1K blocks and new keys
+5cbd759 net: move formatting out of the worker
+14d69f6 net: minor coding style change
+db82c2a Next release, tag 1.0.20
+3834caa hddtemp: fixed support for multiple devices
+1790abb hddtemp: adapt regex to match disks like /dev/sg0
+2492945 fs: minor coding style change
+f5b47dc mdir: support for multiple directories
+1d0cfd3 Cleanup widgets that use pathtotable helper
+76942d1 helpers: simplify pathtotable, patch by filmor
+26c1f07 Next release, tag 1.0.19
+2e9b811 README: document new truncate and scroll usage
+d0aa48a entropy: widget rewritten, poolsize no longer an argument
+493150c uptime: merged with load widget type
+7be560b bat: widget rewritten for sysfs
+a99c1cf cpufreq: widget rewritten, governor symbols enabled
+5f9818f dio: widget type rewritten
+92be5fb thermal: widget rewritten for sysfs
+46d52fa helpers: import pathtotable
+eb661f6 batsys: add note about other charge/rate sources
+6fadee6 batsys: don't return 0 if only rate is missing
+8e21d26 batat: widget type removed, now available in the contrib branch
+e66e507 batsys: import battery widget that uses sysfs
+896df4d De-obfuscate e-mail address
+94cf0b7 Minor changes in mboxc and org
+44d943d gmail: add scrolling support and truncate control
+9e91408 mbox: add scrolling support and truncate control
+5ff8927 mpd: add scrolling support and truncate control
+589feb1 helpers: import scroll from Remy Clouard
+0d73f6d Ensure returned numbers are of type number
+b105ae2 README: updated net description
+3dc7c5e net: unit formatting delegated to a function
+5c6f544 README: more information in Power section
+40d7881 Adapt to awful.widget.graph max_value of 1
+25ce79e batat: better returns when handling insufficient data
+baa3612 Next release, tag 1.0.18
+97d2ecb bat: better returns when handling insufficient data
+4d1af1e bat: better fix for ACPI, from bioe007
+2cfdd5a bat: quick fix for broken BAT/ACPI implementations
+64464ef README: removed obsolete widget names
+11985f6 README: added padding example
+feca5da mem: tonumber is redudant
+7f3d31e uptime: fixed problem discovered by jabbas
+65e57fa README: document tables returned by widget types
+893a85c README: caching documentation improved
+00e7b2d README: fixed disk i/o warg documentation
+0eea1a1 cpu: simplified CPU identification
+e252fd9 Next release, tag 1.0.17
+a2b9de4 mem: widget type rewritten
+c84f515 mbox: read a 30kb chunk by default
+4602ca2 Lots of coding style changes
+af4e85f bat: added a handler for incompetent users
+fcf1027 cpufreq: use string library for find/match
+b4e028b Removed some useless else statements
+b65d509 Reworked counters in mboxc, mdir, org
+b185e96 mbox: don't hide when there is no mail
+724366c Reworked some variables in entropy, load, mpd, net, init
+643ecb0 date: function simplified
+3d97d44 cpuinf: prepend 'cpu' to CPU ID in table keys
+0d5f07b README: included 'Other uses' section
+9d518b8 volume: added mute support
+ddf9646 thermal: added some comments
+0e863a5 bat: coding style changes
+44f95c3 cpufreq: widget type rewritten
+aed9245 README: fixed some typos
+f933566 README: updated gmail information
+f99a74b gmail: count all unread messages
+5dac6a4 mboxc: support for multiple mbox files
+32fe770 README: fixes from git-diff --check
+b0f737e Rewrote all headers
+8e544fd Next release, tag 1.0.16
+b8f288b README: clarified caching usage
+46a7241 README: added more caching information
+eadf0c9 Caching is controlled by users
+0945724 README: minor fix in mem widget example
+51d5255 README: include pbar/graph properties in examples
+c9fba4e Widgets derived from wicked include a notice
+ba6dfae Next release, tag 1.0.15
+1707bc6 README: rewritten and now includes the "Power" section
+e205d66 CHANGES: changelog update
+9ca9e2f Next release, tag 1.0.14
+68b30a3 init: Default to 2s timer
+bc3cf45 README: mpd format function simplified
+7410bc0 Entropy widget cleaned up
+549c8bc Remote file systems in fs widget are optional
+2a5126f General cleanup
+4f3599d README: fixed CPU widget example
+1603b5f Curl connect timeout 1s, max time 3s
+a950bd9 Next release, tag 1.0.13
+161607e Gmail widget included
+e5c980e CHANGES file switched to 'oneline' short format
+fbc3f14 Updated links in the README
+13527a3 Match all punctuation chars in fs partitions and mount points.
+0ca1fd3 Match punctuation characters in wifi SSID.
+cb36f74 Next release, tag 1.0.12.
+11b433c README updated in preparation for release 1.0.12.
+2cc4e97 Removed deprecated data field.
+e7c2e2c Updated graphs and pbars for the upcoming awesome 3.4
+853fafc Updated timers for the upcoming awesome 3.4
+53b2799 Next release, tag 1.0.11.
+c283edc Updated link to wicked home.
+0067dca Removed emtpy lines from mpd.lua
+5e3b953 Link to wicked and add Joerg as contributor.
+4330375 Next release, tag 1.0.10.
+44cd53f Updated the CHANGES file in preparation for a new tag.
+7ad474b Use of LANG=C and improved matching in fs.lua.
+f8eb93a Mention ICAO as the wanted code in the weather widget.
+376591e Added laptop-mode note to the README.
+e5181cc Next release, tag 1.0.9.
+03693e7 Renamed unused loop identifiers to _
+9f75b0d Spurious folds removed from helpers.
+41d4acb Truncate helper, txtlen is local.
+3b3e0dc CHANGES file updated. Will probably switch to shortlog.
+d4595bb All worker functions are local.
+8b38567 Added missing poolsize info to the README + minor change in fs.lua
+798036e Changed fs widget type description.
+8d59a01 Next release, tag 1.0.8.
+d2d244f CPU Information widget included.
+cbd9a53 Next release, tag 1.0.7.
+013dd08 HDD Temperature widget included.
+515cc0d Weather widget switched to curl.
+477b8d2 CHANGES file updated before the next push.
+f14280b Pacman widget updated for pacman 3.3.
+b46278a Lower the wget timeout to 3s in weather.lua
+eaf8470 Cleaned up sample widgets in the README
+44aea40 Remove a spurious comment from helpers.lua
+3c76e0d Introduced the truncate helper.
+2d0cbf5 Fixed the weather widget, wind km/h was broken.
+4c74de7 Padding removed, along with deprecated helper functions.
+2d4efa6 Minor cleanup in init.lua
+22033ba Disallow using a string widget type.
+756215f Next release, tag 1.0.6.
+5909d9e Updated the CHANGES file in preparation for tag v1.0.6.
+cef569b CPU frequency widget included.
+3fe67d4 Coding style changes in entropy, load, thermal, uptime.
+09fda0a Rewrite of the escape helper.
+047dba0 Next release, version/tag 1.0.5.
+cad950a Updated the CHANGES file in preparation for tag v1.0.5.
+418151f Make all widgets return their worker functions when called.
+1630b78 Added wind speed in km/h to the weather widget.
+f841c54 Updated the CHANGES file.
+3f851ff Added a note about weather symbols to the weather widget.
+1b99061 Use utf symbols for some bat states. Mention LuaFileSystem in mdir.lua
+f00558c Next release, version 1.0.4.
+475da04 Mbox mail count widget included.
+dad393b Updated the CHANGES file.
+bc63706 Coding style fixes in battery widgets.
+052748a Fix the key reference to custom keys in the README
+9c973a5 Updated the CHANGES file.
+51770fe Fixed README and moved the ChangeLog to CHANGES.
+2ab90de Updated the ChangeLog file, for v1.0.3.
+0471c6a Next release, version 1.0.3.
+a8dc5c6 Added basic documentation as a README file.
+b06a5b6 Make git ignore org-mode files and archives.
+87d895f Next release, version 1.0.2.
+5ff480d Updated the ChangeLog file in preparation for a new version.
+2921200 Added handlers to batat and fixed the battery_state table.
+e2d503e Added a new, standalone, battery widget.
+19ca7b5 Replaced TODO with Todo in helpers.
+9cd250b Fixed batat module name and expanded bat states and symbols.
+b331cb1 Updated the ChangeLog file.
+76b8978 Battery widget moved to batat.lua in preparation for a new bat widget.
+9da374d Updated the ChangeLog file.
+1f31527 Next release, version 1.0.1.
+11baa09 Added the ChangeLog file.
+3eefddf Weather widget written and included, by request.
+95dd8de Make git ignore backup files and lua binaries.
+98e26ee Import of vicious source tree.
View
339 .config/awesome/vicious/LICENSE
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
View
516 .config/awesome/vicious/README
@@ -0,0 +1,516 @@
+Vicious
+-------
+Vicious is a modular widget library for the "awesome" window manager,
+derived from the "Wicked" widget library. It has some of the old
+Wicked widget types, a few of them rewritten, and a good number of new
+ones:
+
+ - http://git.sysphere.org/vicious/about/
+
+Vicious widget types are a framework for creating your own awesome
+widgets. Vicious contains modules that gather data about your system,
+and a few helper functions that make it easier to register timers,
+suspend widgets and so on.
+
+For now Vicious doesn't depend on any third party Lua libraries, to
+make it easier to install and use. That means some system utilities
+are used instead, where available:
+
+ - hddtemp for the HDD Temperature widget type
+ - alsa-utils for the Volume widget type
+ - wireless_tools for the Wireless widget type
+ - curl for widget types accessing network resources
+
+
+Usage
+-----
+To use vicious move it to your awesome configuration directory in
+$XDG_CONFIG_HOME (usually ~/.config):
+
+ $ mv vicious $XDG_CONFIG_HOME/awesome/
+
+If you want you can disable widgets you will not use, to avoid having
+useless modules sitting in your memory. You can comment out any widget
+type from the "Configure widgets" list in the widgets/init.lua file.
+
+Then add the following to the top of your rc.lua:
+
+ require("vicious")
+
+Once you create a widget (a textbox, graph or a progressbar) call
+vicious.register() to register it with Vicious:
+
+ vicious.register(widget, wtype, format, interval, warg)
+
+ widget
+ - widget created with widget() or awful.widget() (in case of a
+ graph or a progressbar)
+
+ wtype
+ - one of the available widget types, see below for a list
+
+ format
+ - string argument or a function
+ - $1, $2, $3... will be replaced by their respective value
+ returned by the widget type, some widget types return tables
+ with string keys, in that case use: ${key}
+ - function
+ - function(widget, args) can be used to manipulate data