From 8822f510c7813f9d420c0e435770c9473fe7758d Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Sun, 16 Oct 2016 08:57:59 +0530 Subject: [PATCH] Awesome: Remove hline comments --- .config/awesome/rc.lua | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index bb86ec45..1949af67 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -1,6 +1,4 @@ --------------------------------------------------------------------------------- -- Awesome configuration --------------------------------------------------------------------------------- -- TODO: Update system bar on audio volume update. @@ -38,7 +36,7 @@ local home = os.getenv("HOME") -------------------------------------------------------------------------------- -- 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 @@ -78,7 +76,7 @@ end -------------------------------------------------------------------------------- -- Themes define colours, icons, and wallpapers --------------------------------------------------------------------------------- + -- beautiful.init("/usr/share/awesome/themes/default/theme.lua") beautiful.init(awful.util.getdir("config") .. "/themes/occam/theme.lua") @@ -91,7 +89,6 @@ end -------------------------------------------------------------------------------- -- General --------------------------------------------------------------------------------- -- Default modkey. -- Usually, Mod4 is the key with a logo between Control and Alt. @@ -107,7 +104,6 @@ end -------------------------------------------------------------------------------- -- Wibox --------------------------------------------------------------------------------- -- Separator separator = " | " @@ -226,7 +222,6 @@ end -------------------------------------------------------------------------------- -- Mouse --------------------------------------------------------------------------------- -- Mouse control local f = io.popen([[ xrandr | awk '/connected/ {getline; while($0 !~ "\\*") getline; print $1; exit}' ]]) @@ -252,9 +247,7 @@ end -------------------------------------------------------------------------------- -- Key bindings --- Note that some laptop will not work when pressing Super+Fn. --- Therefore we only use Fn and Mod1+Fn. --------------------------------------------------------------------------------- +-- We reserve modkey+Mod1 for $EDITOR. globalkeys = awful.util.table.join( -- Terminal @@ -488,7 +481,6 @@ root.keys(globalkeys) -------------------------------------------------------------------------------- -- Rules --------------------------------------------------------------------------------- awful.rules.rules = { -- All clients will match this rule. @@ -543,7 +535,6 @@ awful.rules.rules = { -------------------------------------------------------------------------------- -- Signals --------------------------------------------------------------------------------- -- Signal function to execute when a new client appears. client.connect_signal("manage", function (c, startup) @@ -571,6 +562,4 @@ end) client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end) client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) --------------------------------------------------------------------------------- -- End of Awesome config ---------------------------------------------------------------------------------