From dad4f9b6216b413a6ceb4a57af6cf9924054807a Mon Sep 17 00:00:00 2001 From: luke bonham Date: Tue, 23 Jul 2013 00:59:23 +0200 Subject: [PATCH] REaaaaDmEE updated --- README.rst | 4 ++++ .../How to change color of icons and resize them | 2 +- rc.lua.blackburn | 2 +- rc.lua.dremora | 16 ++++++++-------- rc.lua.multicolor | 2 +- rc.lua.powerarrow-darker | 2 +- rc.lua.steamburn | 2 +- themes/dremora/theme.lua | 11 ++++++----- 8 files changed, 23 insertions(+), 18 deletions(-) diff --git a/README.rst b/README.rst index 308e209..a9d895a 100644 --- a/README.rst +++ b/README.rst @@ -67,6 +67,10 @@ License -------- 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 .. _romockee: https://github.com/romockee/powerarrow-dark .. _ok100: http://ok100.deviantart.com/art/DWM-January-2013-348656846 diff --git a/icons/xbm8x8/How to change color of icons and resize them b/icons/xbm8x8/How to change color of icons and resize them index 6d4ca07..7173917 100755 --- a/icons/xbm8x8/How to change color of icons and resize them +++ b/icons/xbm8x8/How to change color of icons and resize them @@ -1,6 +1,6 @@ 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 -crop 16x16 size of the panel we want to fit diff --git a/rc.lua.blackburn b/rc.lua.blackburn index ca18721..df81bf8 100755 --- a/rc.lua.blackburn +++ b/rc.lua.blackburn @@ -463,7 +463,7 @@ end vicious.register(batwidget, vicious.widgets.bat, function (widget, args) -- plugged - if (batstate() == 'Cable plugged') then + if (batstate() == 'Cable plugged' or batstate() == 'Unknown') then return '' -- critical elseif (args[2] <= 5 and batstate() == 'Discharging') then diff --git a/rc.lua.dremora b/rc.lua.dremora index c00f355..f18595f 100755 --- a/rc.lua.dremora +++ b/rc.lua.dremora @@ -113,7 +113,7 @@ end tags = { 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 tags[s] = awful.tag(tags.names, s, tags.layout) @@ -157,8 +157,8 @@ local util = awful.util -- Colours coldef = "" -white = "" -gray = "" +white = "" +gray = "" -- Textclock widget mytextclock = awful.widget.textclock(white .. "%H:%M" .. coldef) @@ -385,7 +385,7 @@ end vicious.register(batwidget, vicious.widgets.bat, function (widget, args) -- plugged - if (batstate() == 'Cable plugged') then + if (batstate() == 'Cable plugged' or batstate() == 'Unknown') then return '' -- critical elseif (args[2] <= 5 and batstate() == 'Discharging') then @@ -827,7 +827,7 @@ client.connect_signal("manage", function (c, startup) if not startup then -- Set the windows at the slave, -- 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. 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 - local titlebars_enabled = false + local titlebars_enabled = true if titlebars_enabled and (c.type == "normal" or c.type == "dialog") then -- buttons for the titlebar local buttons = awful.util.table.join( @@ -854,7 +854,7 @@ client.connect_signal("manage", function (c, startup) -- Widgets that are aligned to the left 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) -- 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_middle(middle_layout) - awful.titlebar(c):set_widget(layout) + awful.titlebar(c,{size=18}):set_widget(layout) end end) diff --git a/rc.lua.multicolor b/rc.lua.multicolor index eed3e21..acd91c0 100755 --- a/rc.lua.multicolor +++ b/rc.lua.multicolor @@ -449,7 +449,7 @@ batwidget = wibox.widget.textbox() vicious.register(batwidget, vicious.widgets.bat, function (widget, args) -- plugged - if (batstate() == 'Cable plugged') then return "AC " + if (batstate() == 'Cable plugged' or batstate() == 'Unknown') then return "AC " -- critical elseif (args[2] <= 5 and batstate() == 'Discharging') then naughty.notify({ diff --git a/rc.lua.powerarrow-darker b/rc.lua.powerarrow-darker index b5ee942..f955aeb 100755 --- a/rc.lua.powerarrow-darker +++ b/rc.lua.powerarrow-darker @@ -464,7 +464,7 @@ batwidget = wibox.widget.textbox() vicious.register(batwidget, vicious.widgets.bat, function (widget, args) -- plugged - if (batstate() == 'Cable plugged') then + if (batstate() == 'Cable plugged' or batstate() == 'Unknown') then baticon:set_image(beautiful.widget_ac) return ' AC ' -- critical diff --git a/rc.lua.steamburn b/rc.lua.steamburn index 210145f..1528722 100755 --- a/rc.lua.steamburn +++ b/rc.lua.steamburn @@ -438,7 +438,7 @@ batwidget = wibox.widget.textbox() vicious.register(batwidget, vicious.widgets.bat, function (widget, args) -- plugged - if (batstate() == 'Cable plugged') then + if (batstate() == 'Cable plugged' or batstate() == 'Unknown') then return '' -- critical elseif (args[2] <= 5 and batstate() == 'Discharging') then diff --git a/themes/dremora/theme.lua b/themes/dremora/theme.lua index 634f5c3..3a9f919 100644 --- a/themes/dremora/theme.lua +++ b/themes/dremora/theme.lua @@ -16,15 +16,16 @@ theme.taglist_font = "Icons 10" theme.fg_normal = "#747474" theme.fg_focus = "#DDDCFF" theme.bg_normal = "#121212" -theme.bg_focus = "#060606" +theme.bg_focus = "#121212" theme.fg_urgent = "#CC9393" theme.bg_urgent = "#2A1F1E" -theme.border_width = "1" -theme.border_normal = "#0E0E0E" -theme.border_focus = "#404040" +theme.border_width = "0" +theme.border_normal = "#121212" +theme.border_focus = "#292929" +theme.titlebar_bg_focus = "#292929" +theme.taglist_fg_focus = "#DDDCFF" theme.taglist_bg_focus = "#121212" -theme.tasklist_bg_focus = "#101010" theme.menu_height = "16" theme.menu_width = "140"