Skip to content

Instantly share code, notes, and snippets.

View Elv13's full-sized avatar

Emmanuel Lepage Vallée Elv13

  • Google
  • San Francisco
View GitHub Profile
diff --git a/lib/awful/util.lua.in b/lib/awful/util.lua.in
index ff94e0e..d5f589e 100644
--- a/lib/awful/util.lua.in
+++ b/lib/awful/util.lua.in
@@ -73,7 +73,8 @@ end
-- @param cmd The command.
-- @param sn Enable startup-notification.
-- @param screen The screen where to spawn window.
--- @return The awesome.spawn return value.
+-- @return The forked PID.
diff --git a/window.lua b/window.lua
index 648de23..723a834 100755
--- a/window.lua
+++ b/window.lua
@@ -34,9 +34,16 @@ function window.build()
l = {
layout = hbox(),
ebox = eventbox(),
+
back = label(),
local ready_views = setmetatable({}, { mode = "_k" })
local go_next = [=[
(function() {
var el = document.querySelector("[rel='next']");
if (el) { // Wow a developer that knows what he's doing!
location = el.href;
}
else { // Search from the bottom of the page up for a next link.
var els = document.getElementsByTagName("a");