Add headings

This commit is contained in:
Sravan Balaji
2023-03-24 16:55:52 -04:00
parent ae1849835b
commit c03126abf8

View File

@@ -5,7 +5,16 @@
* Table of Contents :TOC_3:noexport: * Table of Contents :TOC_3:noexport:
- [[#welcome][Welcome]] - [[#welcome][Welcome]]
- [[#config][Config]] - [[#libraries][Libraries]]
- [[#error-handling][Error Handling]]
- [[#variable-definitions][Variable Definitions]]
- [[#menu][Menu]]
- [[#keyboard-map-indicator-and-switcher][Keyboard Map Indicator and Switcher]]
- [[#wibar][Wibar]]
- [[#mouse-bindings][Mouse Bindings]]
- [[#key-bindings][Key Bindings]]
- [[#rules][Rules]]
- [[#signals][Signals]]
* Welcome * Welcome
@@ -18,7 +27,7 @@ Run the block below with ~C-c C-c~ to tangle code blocks to config file.
(org-babel-tangle) (org-babel-tangle)
#+END_SRC #+END_SRC
* Config * Libraries
#+BEGIN_SRC lua :tangle rc.lua #+BEGIN_SRC lua :tangle rc.lua
-- If LuaRocks is installed, make sure that packages installed through it are -- If LuaRocks is installed, make sure that packages installed through it are
@@ -42,6 +51,8 @@ local hotkeys_popup = require("awful.hotkeys_popup")
require("awful.hotkeys_popup.keys") require("awful.hotkeys_popup.keys")
#+END_SRC #+END_SRC
* Error Handling
#+BEGIN_SRC lua :tangle rc.lua #+BEGIN_SRC lua :tangle rc.lua
-- {{{ 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
@@ -69,6 +80,8 @@ end
-- }}} -- }}}
#+END_SRC #+END_SRC
* Variable Definitions
#+BEGIN_SRC lua :tangle rc.lua #+BEGIN_SRC lua :tangle rc.lua
-- {{{ Variable definitions -- {{{ Variable definitions
-- Themes define colours, icons, font and wallpapers. -- Themes define colours, icons, font and wallpapers.
@@ -108,6 +121,8 @@ awful.layout.layouts = {
-- }}} -- }}}
#+END_SRC #+END_SRC
* Menu
#+BEGIN_SRC lua :tangle rc.lua #+BEGIN_SRC lua :tangle rc.lua
-- {{{ Menu -- {{{ Menu
-- Create a launcher widget and a main menu -- Create a launcher widget and a main menu
@@ -132,11 +147,15 @@ menubar.utils.terminal = terminal -- Set the terminal for applications that requ
-- }}} -- }}}
#+END_SRC #+END_SRC
* Keyboard Map Indicator and Switcher
#+BEGIN_SRC lua :tangle rc.lua #+BEGIN_SRC lua :tangle rc.lua
-- Keyboard map indicator and switcher -- Keyboard map indicator and switcher
mykeyboardlayout = awful.widget.keyboardlayout() mykeyboardlayout = awful.widget.keyboardlayout()
#+END_SRC #+END_SRC
* Wibar
#+BEGIN_SRC lua :tangle rc.lua #+BEGIN_SRC lua :tangle rc.lua
-- {{{ Wibar -- {{{ Wibar
-- Create a textclock widget -- Create a textclock widget
@@ -253,6 +272,8 @@ end)
-- }}} -- }}}
#+END_SRC #+END_SRC
* Mouse Bindings
#+BEGIN_SRC lua :tangle rc.lua #+BEGIN_SRC lua :tangle rc.lua
-- {{{ Mouse bindings -- {{{ Mouse bindings
root.buttons(gears.table.join( root.buttons(gears.table.join(
@@ -263,6 +284,8 @@ root.buttons(gears.table.join(
-- }}} -- }}}
#+END_SRC #+END_SRC
* Key Bindings
#+BEGIN_SRC lua :tangle rc.lua #+BEGIN_SRC lua :tangle rc.lua
-- {{{ Key bindings -- {{{ Key bindings
globalkeys = gears.table.join( globalkeys = gears.table.join(
@@ -479,6 +502,8 @@ root.keys(globalkeys)
-- }}} -- }}}
#+END_SRC #+END_SRC
* Rules
#+BEGIN_SRC lua :tangle rc.lua #+BEGIN_SRC lua :tangle rc.lua
-- {{{ Rules -- {{{ Rules
-- Rules to apply to new clients (through the "manage" signal). -- Rules to apply to new clients (through the "manage" signal).
@@ -539,6 +564,8 @@ awful.rules.rules = {
-- }}} -- }}}
#+END_SRC #+END_SRC
* Signals
#+BEGIN_SRC lua :tangle rc.lua #+BEGIN_SRC lua :tangle rc.lua
-- {{{ Signals -- {{{ Signals
-- Signal function to execute when a new client appears. -- Signal function to execute when a new client appears.