]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

improve vim folding
authormartin f. krafft <madduck@madduck.net>
Sat, 10 Sep 2016 08:27:26 +0000 (10:27 +0200)
committermartin f. krafft <madduck@madduck.net>
Sun, 11 Sep 2016 08:11:44 +0000 (10:11 +0200)
.config/awesome/rc.lua

index 2d82208f35bf13fee961d72710d48bb4f1a7529b..f0b12bf33209d7d9e314a620416120a5e0410a14 100644 (file)
@@ -1,3 +1,4 @@
+-- {{{ Imports
 -- Standard awesome library
 local gears = require("gears")
 local awful = require("awful")
@@ -10,6 +11,7 @@ local beautiful = require("beautiful")
 local naughty = require("naughty")
 local menubar = require("menubar")
 local hotkeys_popup = require("awful.hotkeys_popup").widget
+-- }}}
 
 -- {{{ Error handling
 -- Check if awesome encountered an error during startup and fell back to
@@ -110,18 +112,19 @@ mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesom
 
 mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
                                      menu = mymainmenu })
+-- }}}
 
--- Menubar configuration
+-- {{{ Menubar configuration
 menubar.utils.terminal = terminal -- Set the terminal for applications that require it
 -- }}}
 
--- Keyboard map indicator and switcher
-mykeyboardlayout = awful.widget.keyboardlayout()
-
 -- {{{ Wibox
 -- Create a textclock widget
 mytextclock = wibox.widget.textclock("%a %d %b %H:%M:%S", 1)
 
+-- Keyboard map indicator and switcher
+mykeyboardlayout = awful.widget.keyboardlayout()
+
 -- Create a wibox for each screen and add it
 mywibox = {}
 mypromptbox = {}
@@ -169,6 +172,9 @@ mytasklist.buttons = awful.util.table.join(
                      awful.button({ }, 5, function ()
                                               awful.client.focus.byidx(-1)
                                           end))
+-- }}}
+
+-- {{{ Tags
 
 awful.screen.connect_for_each_screen(function(s)
     -- Wallpaper