1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-23 03:32:30 +00:00

updates references to modules

This commit is contained in:
ReAzem 2014-05-10 17:01:13 -04:00
parent 12b9c09d65
commit cc2d713c20
10 changed files with 64 additions and 64 deletions

View file

@ -7,7 +7,7 @@
local awful = require("awful") local awful = require("awful")
local beautiful = require("beautiful") local beautiful = require("beautiful")
require('freedesktop') require('plugins.freedesktop')
-- require("debian.menu") -- require("debian.menu")
freedesktop.utils.terminal = terminal -- defined in rc.lua, otherwise define it here (default: "xterm") freedesktop.utils.terminal = terminal -- defined in rc.lua, otherwise define it here (default: "xterm")

View file

@ -1,5 +1,5 @@
require("freedesktop.utils") require("plugins.freedesktop.utils")
require("freedesktop.menu") require("plugins.freedesktop.menu")
require("freedesktop.desktop") require("plugins.freedesktop.desktop")
module("freedesktop") module("freedesktop")

View file

@ -1,8 +1,8 @@
--[[ --[[
Blackburn Awesome WM config 2.0 Blackburn Awesome WM config 2.0
github.com/copycat-killer github.com/copycat-killer
--]] --]]
-- {{{ Required libraries -- {{{ Required libraries
@ -13,7 +13,7 @@ require("awful.autofocus")
local wibox = require("wibox") local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local drop = require("scratchdrop") local drop = require("plugins.scratchdrop")
local lain = require("lain") local lain = require("lain")
-- }}} -- }}}
@ -101,7 +101,7 @@ end
-- }}} -- }}}
-- {{{ Menu -- {{{ Menu
require("freedesktop/freedesktop") require("plugins.freedesktop/freedesktop")
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox

View file

@ -1,8 +1,8 @@
--[[ --[[
Copland Awesome WM config Copland Awesome WM config
github.com/copycat-killer github.com/copycat-killer
--]] --]]
-- {{{ Required libraries -- {{{ Required libraries
@ -13,9 +13,9 @@ require("awful.autofocus")
local wibox = require("wibox") local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local drop = require("scratchdrop") local drop = require("plugins.scratchdrop")
local lain = require("lain") local lain = require("lain")
local eminent = require("eminent") local eminent = require("plugins.eminent")
-- }}} -- }}}
-- {{{ Error handling -- {{{ Error handling
@ -112,7 +112,7 @@ end
-- }}} -- }}}
-- {{{ Menu -- {{{ Menu
require("freedesktop/freedesktop") require("plugins.freedesktop/freedesktop")
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox
@ -244,7 +244,7 @@ settings = function()
volicon:set_image(beautiful.vol) volicon:set_image(beautiful.vol)
end end
end, end,
colors = colors =
{ {
background = beautiful.bg_normal, background = beautiful.bg_normal,
mute = "#EB8F8F", mute = "#EB8F8F",

View file

@ -1,8 +1,8 @@
--[[ --[[
Dremora Awesome WM config 2.0 Dremora Awesome WM config 2.0
github.com/copycat-killer github.com/copycat-killer
--]] --]]
-- {{{ Required libraries -- {{{ Required libraries
@ -13,7 +13,7 @@ require("awful.autofocus")
local wibox = require("wibox") local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local drop = require("scratchdrop") local drop = require("plugins.scratchdrop")
local lain = require("lain") local lain = require("lain")
-- }}} -- }}}
@ -101,7 +101,7 @@ end
-- }}} -- }}}
-- {{{ Menu -- {{{ Menu
require("freedesktop/freedesktop") require("plugins.freedesktop/freedesktop")
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox

View file

@ -1,8 +1,8 @@
--[[ --[[
Holo Awesome WM config 2.0 Holo Awesome WM config 2.0
github.com/copycat-killer github.com/copycat-killer
--]] --]]
-- {{{ Required libraries -- {{{ Required libraries
@ -13,7 +13,7 @@ require("awful.autofocus")
local wibox = require("wibox") local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local drop = require("scratchdrop") local drop = require("plugins.scratchdrop")
local lain = require("lain") local lain = require("lain")
-- }}} -- }}}
@ -102,7 +102,7 @@ end
-- }}} -- }}}
-- {{{ Menu -- {{{ Menu
require("freedesktop/freedesktop") require("plugins.freedesktop/freedesktop")
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox
@ -175,7 +175,7 @@ mpdwidget = lain.widgets.mpd({
mpd_now.artist = mpd_now.artist:upper():gsub("&.-;", string.lower) mpd_now.artist = mpd_now.artist:upper():gsub("&.-;", string.lower)
mpd_now.title = mpd_now.title:upper():gsub("&.-;", string.lower) mpd_now.title = mpd_now.title:upper():gsub("&.-;", string.lower)
widget:set_markup(markup.font("Tamsyn 4", " ") widget:set_markup(markup.font("Tamsyn 4", " ")
.. markup.font("Tamsyn 8", .. markup.font("Tamsyn 8",
mpd_now.artist mpd_now.artist
.. " - " .. .. " - " ..
mpd_now.title mpd_now.title

View file

@ -1,8 +1,8 @@
--[[ --[[
Multicolor Awesome WM config 2.0 Multicolor Awesome WM config 2.0
github.com/copycat-killer github.com/copycat-killer
--]] --]]
-- {{{ Required libraries -- {{{ Required libraries
@ -13,7 +13,7 @@ require("awful.autofocus")
local wibox = require("wibox") local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local drop = require("scratchdrop") local drop = require("plugins.scratchdrop")
local lain = require("lain") local lain = require("lain")
-- }}} -- }}}
@ -107,7 +107,7 @@ end
-- }}} -- }}}
-- {{{ Freedesktop Menu -- {{{ Freedesktop Menu
require("freedesktop/freedesktop") require("plugins.freedesktop/freedesktop")
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox
@ -198,7 +198,7 @@ volumewidget = lain.widgets.alsa({
end end
}) })
-- Net -- Net
netdownicon = wibox.widget.imagebox(beautiful.widget_netdown) netdownicon = wibox.widget.imagebox(beautiful.widget_netdown)
--netdownicon.align = "middle" --netdownicon.align = "middle"
netdowninfo = wibox.widget.textbox() netdowninfo = wibox.widget.textbox()
@ -301,11 +301,11 @@ mytasklist.buttons = awful.util.table.join(
end)) end))
for s = 1, screen.count() do for s = 1, screen.count() do
-- Create a promptbox for each screen -- Create a promptbox for each screen
mypromptbox[s] = awful.widget.prompt() mypromptbox[s] = awful.widget.prompt()
-- We need one layoutbox per screen. -- We need one layoutbox per screen.
mylayoutbox[s] = awful.widget.layoutbox(s) mylayoutbox[s] = awful.widget.layoutbox(s)
mylayoutbox[s]:buttons(awful.util.table.join( mylayoutbox[s]:buttons(awful.util.table.join(
@ -321,9 +321,9 @@ for s = 1, screen.count() do
mytasklist[s] = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, mytasklist.buttons) mytasklist[s] = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, mytasklist.buttons)
-- Create the upper wibox -- Create the upper wibox
mywibox[s] = awful.wibox({ position = "top", screen = s, height = 20 }) mywibox[s] = awful.wibox({ position = "top", screen = s, height = 20 })
--border_width = 0, height = 20 }) --border_width = 0, height = 20 })
-- Widgets that are aligned to the upper left -- Widgets that are aligned to the upper left
local left_layout = wibox.layout.fixed.horizontal() local left_layout = wibox.layout.fixed.horizontal()
left_layout:add(mytaglist[s]) left_layout:add(mytaglist[s])
@ -362,20 +362,20 @@ for s = 1, screen.count() do
layout:set_left(left_layout) layout:set_left(left_layout)
--layout:set_middle(mytasklist[s]) --layout:set_middle(mytasklist[s])
layout:set_right(right_layout) layout:set_right(right_layout)
mywibox[s]:set_widget(layout) mywibox[s]:set_widget(layout)
-- Create the bottom wibox -- Create the bottom wibox
mybottomwibox[s] = awful.wibox({ position = "bottom", screen = s, border_width = 0, height = 20 }) mybottomwibox[s] = awful.wibox({ position = "bottom", screen = s, border_width = 0, height = 20 })
--mybottomwibox[s].visible = false --mybottomwibox[s].visible = false
-- Widgets that are aligned to the bottom left -- Widgets that are aligned to the bottom left
bottom_left_layout = wibox.layout.fixed.horizontal() bottom_left_layout = wibox.layout.fixed.horizontal()
-- Widgets that are aligned to the bottom right -- Widgets that are aligned to the bottom right
bottom_right_layout = wibox.layout.fixed.horizontal() bottom_right_layout = wibox.layout.fixed.horizontal()
bottom_right_layout:add(mylayoutbox[s]) bottom_right_layout:add(mylayoutbox[s])
-- Now bring it all together (with the tasklist in the middle) -- Now bring it all together (with the tasklist in the middle)
bottom_layout = wibox.layout.align.horizontal() bottom_layout = wibox.layout.align.horizontal()
bottom_layout:set_left(bottom_left_layout) bottom_layout:set_left(bottom_left_layout)
@ -698,7 +698,7 @@ for s = 1, screen.count() do screen[s]:connect_signal("arrange", function ()
c.border_width = 0 c.border_width = 0
elseif awful.client.floating.get(c) or layout == "floating" then elseif awful.client.floating.get(c) or layout == "floating" then
c.border_width = beautiful.border_width c.border_width = beautiful.border_width
elseif #clients == 1 then elseif #clients == 1 then
clients[1].border_width = 0 clients[1].border_width = 0
if layout ~= "max" then if layout ~= "max" then
awful.client.moveresize(0, 0, 2, 0, clients[1]) awful.client.moveresize(0, 0, 2, 0, clients[1])

View file

@ -1,8 +1,8 @@
--[[ --[[
Powerarrow Darker Awesome WM config 2.0 Powerarrow Darker Awesome WM config 2.0
github.com/copycat-killer github.com/copycat-killer
--]] --]]
-- {{{ Required libraries -- {{{ Required libraries
@ -13,7 +13,7 @@ require("awful.autofocus")
local wibox = require("wibox") local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local drop = require("scratchdrop") local drop = require("plugins.scratchdrop")
local lain = require("lain") local lain = require("lain")
-- }}} -- }}}
@ -104,7 +104,7 @@ end
-- }}} -- }}}
-- {{{ Menu -- {{{ Menu
require("freedesktop/freedesktop") require("plugins.freedesktop/freedesktop")
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox

View file

@ -1,8 +1,8 @@
--[[ --[[
Rainbow Awesome WM config 2.0 Rainbow Awesome WM config 2.0
github.com/copycat-killer github.com/copycat-killer
--]] --]]
-- {{{ Required libraries -- {{{ Required libraries
@ -13,7 +13,7 @@ require("awful.autofocus")
local wibox = require("wibox") local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local drop = require("scratchdrop") local drop = require("plugins.scratchdrop")
local lain = require("lain") local lain = require("lain")
-- }}} -- }}}
@ -108,7 +108,7 @@ end
-- }}} -- }}}
-- {{{ Menu -- {{{ Menu
require("freedesktop/freedesktop") require("plugins.freedesktop/freedesktop")
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox

View file

@ -1,8 +1,8 @@
--[[ --[[
Steamburn Awesome WM config 3.0 Steamburn Awesome WM config 3.0
github.com/copycat-killer github.com/copycat-killer
--]] --]]
-- {{{ Required libraries -- {{{ Required libraries
@ -13,7 +13,7 @@ require("awful.autofocus")
local wibox = require("wibox") local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local drop = require("scratchdrop") local drop = require("plugins.scratchdrop")
local lain = require("lain") local lain = require("lain")
-- }}} -- }}}
@ -106,7 +106,7 @@ end
-- }}} -- }}}
-- {{{ Menu -- {{{ Menu
require("freedesktop/freedesktop") require("plugins.freedesktop/freedesktop")
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox