REaaaaDmEE updated
This commit is contained in:
parent
ddb154bba0
commit
dad4f9b621
|
@ -67,6 +67,10 @@ License
|
||||||
--------
|
--------
|
||||||
BY-NC-SA_
|
BY-NC-SA_
|
||||||
|
|
||||||
|
I liked! You liked? Then link your buddies here so they can like too!
|
||||||
|
|
||||||
|
Let us spread some style, in order to make Awesome appearance awesome too.
|
||||||
|
|
||||||
.. _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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
HOW TO CHANGE COLOR OF ICONS
|
HOW TO CHANGE COLOR OF ICONS
|
||||||
|
|
||||||
for x in *.xbm; do convert -transparent white -fill "#6b8ba3" -opaque "#000000" -bordercolor transparent -border 8x8 -gravity center -crop 15x15+0+0 "${x}" "${x%.*}.png"; done
|
for x in *.xbm; do convert -transparent white -fill "#DDDCFF" -opaque "#000000" -bordercolor transparent -border 8x8 -gravity center -crop 15x15+0+0 "${x}" "${x%.*}.png"; done
|
||||||
|
|
||||||
-border 8x8 real size we want
|
-border 8x8 real size we want
|
||||||
-crop 16x16 size of the panel we want to fit
|
-crop 16x16 size of the panel we want to fit
|
||||||
|
|
|
@ -463,7 +463,7 @@ end
|
||||||
vicious.register(batwidget, vicious.widgets.bat,
|
vicious.register(batwidget, vicious.widgets.bat,
|
||||||
function (widget, args)
|
function (widget, args)
|
||||||
-- plugged
|
-- plugged
|
||||||
if (batstate() == 'Cable plugged') then
|
if (batstate() == 'Cable plugged' or batstate() == 'Unknown') then
|
||||||
return ''
|
return ''
|
||||||
-- critical
|
-- critical
|
||||||
elseif (args[2] <= 5 and batstate() == 'Discharging') then
|
elseif (args[2] <= 5 and batstate() == 'Discharging') then
|
||||||
|
|
|
@ -113,7 +113,7 @@ end
|
||||||
|
|
||||||
tags = {
|
tags = {
|
||||||
names = { "ƀ", "Ƅ", "Ɗ", "ƈ", "ƙ" },
|
names = { "ƀ", "Ƅ", "Ɗ", "ƈ", "ƙ" },
|
||||||
layout = { layouts[1], layouts[3], layouts[2], layouts[1], layouts[5] }
|
layout = { layouts[1], layouts[2], layouts[3], layouts[4], layouts[5] }
|
||||||
}
|
}
|
||||||
for s = 1, screen.count() do
|
for s = 1, screen.count() do
|
||||||
tags[s] = awful.tag(tags.names, s, tags.layout)
|
tags[s] = awful.tag(tags.names, s, tags.layout)
|
||||||
|
@ -157,8 +157,8 @@ local util = awful.util
|
||||||
|
|
||||||
-- Colours
|
-- Colours
|
||||||
coldef = "</span>"
|
coldef = "</span>"
|
||||||
white = "<span color='#d7d7d7'>"
|
white = "<span color='#dddcff'>"
|
||||||
gray = "<span color='#9e9c9a'>"
|
gray = "<span color='#747474'>"
|
||||||
|
|
||||||
-- Textclock widget
|
-- Textclock widget
|
||||||
mytextclock = awful.widget.textclock(white .. "%H:%M" .. coldef)
|
mytextclock = awful.widget.textclock(white .. "%H:%M" .. coldef)
|
||||||
|
@ -385,7 +385,7 @@ end
|
||||||
vicious.register(batwidget, vicious.widgets.bat,
|
vicious.register(batwidget, vicious.widgets.bat,
|
||||||
function (widget, args)
|
function (widget, args)
|
||||||
-- plugged
|
-- plugged
|
||||||
if (batstate() == 'Cable plugged') then
|
if (batstate() == 'Cable plugged' or batstate() == 'Unknown') then
|
||||||
return ''
|
return ''
|
||||||
-- critical
|
-- critical
|
||||||
elseif (args[2] <= 5 and batstate() == 'Discharging') then
|
elseif (args[2] <= 5 and batstate() == 'Discharging') then
|
||||||
|
@ -827,7 +827,7 @@ client.connect_signal("manage", function (c, startup)
|
||||||
if not startup then
|
if not startup then
|
||||||
-- Set the windows at the slave,
|
-- Set the windows at the slave,
|
||||||
-- i.e. put it at the end of others instead of setting it master.
|
-- i.e. put it at the end of others instead of setting it master.
|
||||||
-- awful.client.setslave(c)
|
awful.client.setslave(c)
|
||||||
|
|
||||||
-- Put windows in a smart way, only if they does not set an initial position.
|
-- Put windows in a smart way, only if they does not set an initial position.
|
||||||
if not c.size_hints.user_position and not c.size_hints.program_position then
|
if not c.size_hints.user_position and not c.size_hints.program_position then
|
||||||
|
@ -836,7 +836,7 @@ client.connect_signal("manage", function (c, startup)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local titlebars_enabled = false
|
local titlebars_enabled = true
|
||||||
if titlebars_enabled and (c.type == "normal" or c.type == "dialog") then
|
if titlebars_enabled and (c.type == "normal" or c.type == "dialog") then
|
||||||
-- buttons for the titlebar
|
-- buttons for the titlebar
|
||||||
local buttons = awful.util.table.join(
|
local buttons = awful.util.table.join(
|
||||||
|
@ -854,7 +854,7 @@ client.connect_signal("manage", function (c, startup)
|
||||||
|
|
||||||
-- Widgets that are aligned to the left
|
-- Widgets that are aligned to the left
|
||||||
local left_layout = wibox.layout.fixed.horizontal()
|
local left_layout = wibox.layout.fixed.horizontal()
|
||||||
left_layout:add(awful.titlebar.widget.iconwidget(c))
|
--left_layout:add(awful.titlebar.widget.iconwidget(c))
|
||||||
left_layout:buttons(buttons)
|
left_layout:buttons(buttons)
|
||||||
|
|
||||||
-- Widgets that are aligned to the right
|
-- Widgets that are aligned to the right
|
||||||
|
@ -878,7 +878,7 @@ client.connect_signal("manage", function (c, startup)
|
||||||
layout:set_right(right_layout)
|
layout:set_right(right_layout)
|
||||||
layout:set_middle(middle_layout)
|
layout:set_middle(middle_layout)
|
||||||
|
|
||||||
awful.titlebar(c):set_widget(layout)
|
awful.titlebar(c,{size=18}):set_widget(layout)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
|
@ -449,7 +449,7 @@ batwidget = wibox.widget.textbox()
|
||||||
vicious.register(batwidget, vicious.widgets.bat,
|
vicious.register(batwidget, vicious.widgets.bat,
|
||||||
function (widget, args)
|
function (widget, args)
|
||||||
-- plugged
|
-- plugged
|
||||||
if (batstate() == 'Cable plugged') then return "AC "
|
if (batstate() == 'Cable plugged' or batstate() == 'Unknown') then return "AC "
|
||||||
-- critical
|
-- critical
|
||||||
elseif (args[2] <= 5 and batstate() == 'Discharging') then
|
elseif (args[2] <= 5 and batstate() == 'Discharging') then
|
||||||
naughty.notify({
|
naughty.notify({
|
||||||
|
|
|
@ -464,7 +464,7 @@ batwidget = wibox.widget.textbox()
|
||||||
vicious.register(batwidget, vicious.widgets.bat,
|
vicious.register(batwidget, vicious.widgets.bat,
|
||||||
function (widget, args)
|
function (widget, args)
|
||||||
-- plugged
|
-- plugged
|
||||||
if (batstate() == 'Cable plugged') then
|
if (batstate() == 'Cable plugged' or batstate() == 'Unknown') then
|
||||||
baticon:set_image(beautiful.widget_ac)
|
baticon:set_image(beautiful.widget_ac)
|
||||||
return '<span font="Terminus 12"> <span font="Terminus 9">AC </span></span>'
|
return '<span font="Terminus 12"> <span font="Terminus 9">AC </span></span>'
|
||||||
-- critical
|
-- critical
|
||||||
|
|
|
@ -438,7 +438,7 @@ batwidget = wibox.widget.textbox()
|
||||||
vicious.register(batwidget, vicious.widgets.bat,
|
vicious.register(batwidget, vicious.widgets.bat,
|
||||||
function (widget, args)
|
function (widget, args)
|
||||||
-- plugged
|
-- plugged
|
||||||
if (batstate() == 'Cable plugged') then
|
if (batstate() == 'Cable plugged' or batstate() == 'Unknown') then
|
||||||
return ''
|
return ''
|
||||||
-- critical
|
-- critical
|
||||||
elseif (args[2] <= 5 and batstate() == 'Discharging') then
|
elseif (args[2] <= 5 and batstate() == 'Discharging') then
|
||||||
|
|
|
@ -16,15 +16,16 @@ theme.taglist_font = "Icons 10"
|
||||||
theme.fg_normal = "#747474"
|
theme.fg_normal = "#747474"
|
||||||
theme.fg_focus = "#DDDCFF"
|
theme.fg_focus = "#DDDCFF"
|
||||||
theme.bg_normal = "#121212"
|
theme.bg_normal = "#121212"
|
||||||
theme.bg_focus = "#060606"
|
theme.bg_focus = "#121212"
|
||||||
theme.fg_urgent = "#CC9393"
|
theme.fg_urgent = "#CC9393"
|
||||||
theme.bg_urgent = "#2A1F1E"
|
theme.bg_urgent = "#2A1F1E"
|
||||||
theme.border_width = "1"
|
theme.border_width = "0"
|
||||||
theme.border_normal = "#0E0E0E"
|
theme.border_normal = "#121212"
|
||||||
theme.border_focus = "#404040"
|
theme.border_focus = "#292929"
|
||||||
|
theme.titlebar_bg_focus = "#292929"
|
||||||
|
|
||||||
|
theme.taglist_fg_focus = "#DDDCFF"
|
||||||
theme.taglist_bg_focus = "#121212"
|
theme.taglist_bg_focus = "#121212"
|
||||||
theme.tasklist_bg_focus = "#101010"
|
|
||||||
theme.menu_height = "16"
|
theme.menu_height = "16"
|
||||||
theme.menu_width = "140"
|
theme.menu_width = "140"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue