Awesome: Remove hline comments
parent
7582b6cc5a
commit
8822f510c7
|
@ -1,6 +1,4 @@
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
-- Awesome configuration
|
-- Awesome configuration
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
-- TODO: Update system bar on audio volume update.
|
-- TODO: Update system bar on audio volume update.
|
||||||
|
|
||||||
|
@ -38,7 +36,7 @@ local home = os.getenv("HOME")
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
-- Error handling
|
-- Error handling
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
-- Check if awesome encountered an error during startup and fell back to
|
-- Check if awesome encountered an error during startup and fell back to
|
||||||
-- another config (This code will only ever execute for the fallback config)
|
-- another config (This code will only ever execute for the fallback config)
|
||||||
if awesome.startup_errors then
|
if awesome.startup_errors then
|
||||||
|
@ -78,7 +76,7 @@ end
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
-- Themes define colours, icons, and wallpapers
|
-- Themes define colours, icons, and wallpapers
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
-- beautiful.init("/usr/share/awesome/themes/default/theme.lua")
|
-- beautiful.init("/usr/share/awesome/themes/default/theme.lua")
|
||||||
beautiful.init(awful.util.getdir("config") .. "/themes/occam/theme.lua")
|
beautiful.init(awful.util.getdir("config") .. "/themes/occam/theme.lua")
|
||||||
|
|
||||||
|
@ -91,7 +89,6 @@ end
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
-- General
|
-- General
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
-- Default modkey.
|
-- Default modkey.
|
||||||
-- Usually, Mod4 is the key with a logo between Control and Alt.
|
-- Usually, Mod4 is the key with a logo between Control and Alt.
|
||||||
|
@ -107,7 +104,6 @@ end
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
-- Wibox
|
-- Wibox
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
-- Separator
|
-- Separator
|
||||||
separator = " | "
|
separator = " | "
|
||||||
|
@ -226,7 +222,6 @@ end
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
-- Mouse
|
-- Mouse
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
-- Mouse control
|
-- Mouse control
|
||||||
local f = io.popen([[ xrandr | awk '/connected/ {getline; while($0 !~ "\\*") getline; print $1; exit}' ]])
|
local f = io.popen([[ xrandr | awk '/connected/ {getline; while($0 !~ "\\*") getline; print $1; exit}' ]])
|
||||||
|
@ -252,9 +247,7 @@ end
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
-- Key bindings
|
-- Key bindings
|
||||||
-- Note that some laptop will not work when pressing Super+Fn.
|
-- We reserve modkey+Mod1 for $EDITOR.
|
||||||
-- Therefore we only use Fn and Mod1+Fn.
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
globalkeys = awful.util.table.join(
|
globalkeys = awful.util.table.join(
|
||||||
-- Terminal
|
-- Terminal
|
||||||
|
@ -488,7 +481,6 @@ root.keys(globalkeys)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
-- Rules
|
-- Rules
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
awful.rules.rules = {
|
awful.rules.rules = {
|
||||||
-- All clients will match this rule.
|
-- All clients will match this rule.
|
||||||
|
@ -543,7 +535,6 @@ awful.rules.rules = {
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
-- Signals
|
-- Signals
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
-- Signal function to execute when a new client appears.
|
-- Signal function to execute when a new client appears.
|
||||||
client.connect_signal("manage", function (c, startup)
|
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("focus", function(c) c.border_color = beautiful.border_focus end)
|
||||||
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
|
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
-- End of Awesome config
|
-- End of Awesome config
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
Loading…
Reference in New Issue