X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/d9bfce8495cd8107e2346942073f04f2d79f5862..68cda22dc4d9f8c156e031313ef3eb7ccb9033a4:/.config/awesome/rc.lua diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 892f9fc..f0b12bf 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -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 @@ -212,7 +218,7 @@ awful.screen.connect_for_each_screen(function(s) layout = wibox.layout.align.horizontal, { -- Left widgets layout = wibox.layout.fixed.horizontal, - mylauncher, + -- mylauncher, mytaglist[s], mypromptbox[s], },