1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-10-22 12:31:23 +00:00

readme updated

This commit is contained in:
luke bonham 2013-09-07 17:19:55 +02:00
parent 68379c2c55
commit 4b30559074
9 changed files with 12 additions and 22 deletions

2
.gitignore vendored
View file

@ -1,3 +1 @@
rc.lua rc.lua
yawn
vain

View file

@ -9,8 +9,7 @@ Power themes for Awesome WM 3.5+
:Author: Luke Bonham <dada [at] archlinux [dot] info> :Author: Luke Bonham <dada [at] archlinux [dot] info>
:License: BY-NC-SA_ :License: BY-NC-SA_
:Version: 1.6.5 :Version: 1.6.5
:Status: **Temporarily suspended** :Status: **resuming shortly**, this time powered by lain_
:Reason: I'm focusing my work on vain_, which will play a big role in version 2.0
Description Description
========== ==========
@ -109,7 +108,7 @@ If you happen to get an error involving ``/home fs widget``, replace every occur
Also be sure to set your music dir in ``scripts/mpdinfo``, and to have ``imagemagick`` and ``notify-send`` installed. Also be sure to set your music dir in ``scripts/mpdinfo``, and to have ``imagemagick`` and ``notify-send`` installed.
.. _Awesome: http://awesome.naquadah.org/ .. _Awesome: http://awesome.naquadah.org/
.. _vain: https://github.com/copycat-killer/vain .. _lain: https://github.com/copycat-killer/vain
.. _tip: http://theimmortalphoenix.deviantart.com/art/Full-Color-Awesome-340997258 .. _tip: http://theimmortalphoenix.deviantart.com/art/Full-Color-Awesome-340997258
.. _romockee: https://github.com/romockee/powerarrow-dark .. _romockee: https://github.com/romockee/powerarrow-dark
.. _ok100: http://ok100.deviantart.com/art/DWM-January-2013-348656846 .. _ok100: http://ok100.deviantart.com/art/DWM-January-2013-348656846

View file

@ -1,4 +1,4 @@
This is [awesome-freedesktop](https://github.com/terceiro/awesome-freedesktop), This is [awesome-freedesktop](https://github.com/terceiro/awesome-freedesktop),
adapted to work within [awesome-copycats](https://github.com/copycat-killer/awesome-copycats). adapted to work within [awesome-copycats](https://github.com/copycat-killer/awesome-copycats).
License License

View file

@ -34,5 +34,5 @@ table.insert(menu_items, { "awesome", myawesomemenu, beautiful.awesome_icon })
table.insert(menu_items, { "open terminal", terminal, freedesktop.utils.lookup_icon({icon = 'terminal'}) }) table.insert(menu_items, { "open terminal", terminal, freedesktop.utils.lookup_icon({icon = 'terminal'}) })
-- table.insert(menu_items, { "Debian", debian.menu.Debian_menu.Debian, freedesktop.utils.lookup_icon({ icon = 'debian-logo' }) }) -- table.insert(menu_items, { "Debian", debian.menu.Debian_menu.Debian, freedesktop.utils.lookup_icon({ icon = 'debian-logo' }) })
mymainmenu = awful.menu.new({ items = menu_items, theme = { width = 150 } }) mymainmenu = awful.menu.new({ items = menu_items, theme = { width = 150 } })
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon, menu = mymainmenu }) mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon, menu = mymainmenu })

View file

@ -158,7 +158,7 @@ function load_mime_types()
for w in line:gmatch('[^%s]+') do for w in line:gmatch('[^%s]+') do
table.insert(parsed, w) table.insert(parsed, w)
end end
if #parsed > 1 then if #parsed > 1 then
for i = 2, #parsed do for i = 2, #parsed do
mime_types[parsed[i]] = parsed[1]:gsub('/', '-') mime_types[parsed[i]] = parsed[1]:gsub('/', '-')
end end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 B

View file

@ -184,8 +184,6 @@ calendar_width = 21
local calendar = nil local calendar = nil
local offset = 0 local offset = 0
local data = nil
local function pop_spaces(s1, s2, maxsize) local function pop_spaces(s1, s2, maxsize)
local sps = "" local sps = ""
for i = 1, maxsize - string.len(s1) - string.len(s2) do for i = 1, maxsize - string.len(s1) - string.len(s2) do

View file

@ -79,8 +79,8 @@ function toggle(prog, vert, horiz, width, height, sticky, screen)
if width <= 1 then width = (screengeom.width * width) - 3 end if width <= 1 then width = (screengeom.width * width) - 3 end
if height <= 1 then height = screengeom.height * height end if height <= 1 then height = screengeom.height * height end
if horiz == "left" then x = screengeom.x if horiz == "left" then x = screengeom.x
elseif horiz == "right" then x = screengeom.width - width elseif horiz == "right" then x = screengeom.width - width
else x = screengeom.x+(screengeom.width-width)/2 - 1 end else x = screengeom.x+(screengeom.width-width)/2 - 1 end
if vert == "bottom" then y = screengeom.height + screengeom.y - height if vert == "bottom" then y = screengeom.height + screengeom.y - height

View file

@ -24,7 +24,7 @@ theme.border_focus = "#EBEBFF"
theme.taglist_fg_focus = "#EDEFFF" theme.taglist_fg_focus = "#EDEFFF"
theme.taglist_bg_focus = "#242424" theme.taglist_bg_focus = "#242424"
theme.menu_height = "16" theme.menu_height = "16"
theme.menu_width = "140" theme.menu_width = "150"
theme.ocol = "<span color='" .. theme.fg_normal .. "'>" theme.ocol = "<span color='" .. theme.fg_normal .. "'>"
theme.ccol = "</span>" theme.ccol = "</span>"
@ -39,7 +39,6 @@ theme.awesome_icon = theme.dir .. "/icons/awesome_icon.png"
theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png" theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png"
theme.taglist_squares_sel = theme.dir .. "/icons/square_sel.png" theme.taglist_squares_sel = theme.dir .. "/icons/square_sel.png"
theme.taglist_squares_unsel = theme.dir .. "/icons/square_unsel.png" theme.taglist_squares_unsel = theme.dir .. "/icons/square_unsel.png"
theme.widget_no_net_notify = theme.dir .. "/icons/no_net_notify.png"
theme.vol_bg = theme.dir .. "/icons/vol_bg.png" theme.vol_bg = theme.dir .. "/icons/vol_bg.png"
theme.layout_txt_tile = "[t]" theme.layout_txt_tile = "[t]"
@ -55,16 +54,12 @@ theme.layout_txt_fullscreen = "[F]"
theme.layout_txt_magnifier = "[M]" theme.layout_txt_magnifier = "[M]"
theme.layout_txt_floating = "[*]" theme.layout_txt_floating = "[*]"
-- vain related -- lain related
theme.border_focus_highprio = "#FF0000"
theme.border_normal_highprio = "#A03333"
theme.border_focus_lowprio = "#3333FF"
theme.border_normal_lowprio = "#333366"
theme.useless_gap_width = "6" theme.useless_gap_width = "6"
theme.layout_txt_uselesstile = "[ut]"
theme.layout_txt_uselessfairv = "[ufv]"
theme.layout_txt_uselessfairh = "[ufh]"
theme.layout_txt_termfair = "[termfair]" theme.layout_txt_termfair = "[termfair]"
theme.layout_txt_uselessfair = "[uf]"
theme.layout_txt_uselessfairh = "[ufh]"
theme.layout_txt_uselessdwindle = "[ud]" theme.layout_txt_uselessdwindle = "[ud]"
theme.layout_txt_uselesstile = "[ut]"
return theme return theme