Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[awesome] added background image

  • Loading branch information...
commit 1c8d4367301dd561168c820fbf992fe1f4976ccf 1 parent 3025374
@silbak04 authored
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.
Please sign in to comment.
Something went wrong with that request. Please try again.