Browse files

[awesome] added background image

  • Loading branch information...
1 parent 3025374 commit 1c8d4367301dd561168c820fbf992fe1f4976ccf @silbak04 committed Mar 9, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 awesomerc
  2. BIN background.jpg
View
7 awesomerc
@@ -11,6 +11,9 @@ require("naughty")
-- Themes define colours, icons, and wallpapers
beautiful.init("/usr/share/awesome/themes/default/theme.lua")
+--- Background path (relative to home directory)
+bg_path = ".background.jpg"
+
-- This is used later as the default terminal and editor to run.
terminal = "terminator"
editor = os.getenv("EDITOR") or "vim"
@@ -358,4 +361,8 @@ client.add_signal("focus", function(c) c.border_color = beautiful.border_focus e
client.add_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
-- }}}
+---{{{ Background
+awful.util.spawn("awsetbg "..os.getenv("HOME").."/"..bg_path, false, 1)
+---}}}
+
-- vim: set filetype=lua:
View
BIN background.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1c8d436

Please sign in to comment.