Guest User

Untitled

a guest
Oct 23rd, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.95 KB | None | 0 0
  1. ## rc.lua [lua]
  2. require("awful")
  3. require("awful.autofocus")
  4. require("awful.rules")
  5. require("beautiful")
  6. require("vicious")
  7. require("naughty")
  8. require("eminent")
  9.  
  10. -- {{{ Variables
  11. -- Theme:
  12. beautiful.init(awful.util.getdir("config") .. "/theme/theme.lua")
  13.  
  14. local terminal = "urxvtc"
  15. local editor = "vim"
  16. local editor_cmd = terminal .. " -e " .. editor
  17. local web_browser = "GTK2_RC_FILES=/home/barthalion/.themes/Flow-Brave/gtk-2.0/gtkrc firefox"
  18. local mail_client = "GTK2_RC_FILES=/home/barthalion/.themes/Flow-Brave/gtk-2.0/gtkrc thunderbird"
  19. local file_browser = terminal .. " -e " .. "ranger"
  20. local spawn_dmenu = "dmenu_run" ..
  21. " -fn '".. beautiful.font_alt .. "'" ..
  22. " -nb '".. beautiful.bg_normal.. "'" ..
  23. " -nf '".. beautiful.fg_normal.. "'" ..
  24. " -sb '".. beautiful.bg_focus .. "'" ..
  25. " -sf '".. beautiful.fg_focus .. "'"
  26.  
  27. -- Keys:
  28. local altkey = "Mod1"
  29. local modkey = "Mod4"
  30.  
  31. layouts =
  32. {
  33. awful.layout.suit.tile, --1
  34. awful.layout.suit.tile.left, --2
  35. awful.layout.suit.tile.bottom, --3
  36. awful.layout.suit.tile.top, --4
  37. awful.layout.suit.fair, --5
  38. awful.layout.suit.fair.horizontal, --6
  39. awful.layout.suit.spiral, --7
  40. awful.layout.suit.spiral.dwindle, --8
  41. awful.layout.suit.floating --9
  42. }
  43. -- }}}
  44.  
  45. -- {{{ Tags
  46. tags = { names = { "1", "2", "3" , "4" },
  47. layout = { layouts[3], layouts[9], layouts[9] , layouts[9] } }
  48.  
  49. for s = 1, screen.count() do
  50. tags[s] = awful.tag(tags.names, s, tags.layout)
  51. end
  52. -- }}}
  53.  
  54. -- {{{ Widgets
  55.  
  56. -- Containers
  57. topbar = {}
  58. bottombar = {}
  59.  
  60. -- Generic widgets
  61. clock = awful.widget.textclock({align = "right"}, "%H:%M")
  62. mysystray = widget({ type = "systray" })
  63. separator = widget({ type = "textbox" })
  64. separator.text = " | "
  65. spacer = widget({ type = "textbox" })
  66. spacer.width = 6
  67.  
  68. -- Set all the icons needed
  69. -- For some reason, type "imagebox" inflates the images and seems
  70. -- to offer no way to resize them down. So a textbox is set with
  71. -- a background image to do the job right.
  72.  
  73. cpuicon = widget ({ type = "textbox" })
  74. cpuicon.bg_image = image(beautiful.widget_cpu)
  75. cpuicon.bg_align = "middle"
  76. cpuicon.width = 8
  77. memicon = widget ({ type = "textbox" })
  78. memicon.bg_image = image(beautiful.widget_mem)
  79. memicon.bg_align = "middle"
  80. memicon.width = 8
  81. netdownicon = widget ({ type = "textbox" })
  82. netdownicon.bg_image = image(beautiful.widget_netdown)
  83. netdownicon.bg_align = "middle"
  84. netdownicon.width = 8
  85. netupicon = widget ({ type = "textbox" })
  86. netupicon.bg_image = image(beautiful.widget_netup)
  87. netupicon.bg_align = "middle"
  88. netupicon.width = 8
  89. mailicon = widget ({ type = "textbox" })
  90. mailicon.bg_image = image(beautiful.widget_mail)
  91. mailicon.bg_align = "middle"
  92. mailicon.width = 8
  93. clockicon = widget ({ type = "textbox" })
  94. clockicon.bg_image = image(beautiful.widget_clock)
  95. clockicon.bg_align = "middle"
  96. clockicon.width = 8
  97. mpdicon = widget ({ type = "textbox" })
  98. mpdicon.bg_align = "middle"
  99. mpdicon.width = 8
  100. rssicon = widget ({ type = "textbox" })
  101. rssicon.bg_image = image(beautiful.widget_rss)
  102. rssicon.bg_align = "middle"
  103. rssicon.width = 8
  104. pkgicon = widget ({ type = "textbox" })
  105. pkgicon.bg_image = image(beautiful.widget_pacman)
  106. pkgicon.bg_align = "middle"
  107. pkgicon.width = 8
  108. volicon = widget ({ type = "textbox" })
  109. volicon.bg_image = image(beautiful.widget_spkr)
  110. volicon.bg_align = "middle"
  111. volicon.width = 8
  112.  
  113. -- Create some widgets...
  114. cpuinfo = widget ({ type = "textbox" })
  115. meminfo = widget ({ type = "textbox" })
  116. netdowninfo = widget ({ type = "textbox" })
  117. netupinfo = widget ({ type = "textbox" })
  118. mailinfo = widget ({ type = "textbox" })
  119. mpdinfo = widget ({ type = "textbox" })
  120. rssinfo = widget ({ type = "textbox" })
  121. pkginfo = widget ({ type = "textbox" })
  122. volinfo = widget ({ type = "textbox" })
  123.  
  124. -- ... And register them
  125. vicious.register(cpuinfo, vicious.widgets.cpu, "$2%/$3%")
  126. vicious.cache(vicious.widgets.mem)
  127. vicious.register(meminfo, vicious.widgets.mem, "$1% ($2Mb)", 5)
  128. vicious.cache(vicious.widgets.net)
  129. vicious.register(netdowninfo, vicious.widgets.net, "${eth0 down_kb}", 3)
  130. vicious.register(netupinfo, vicious.widgets.net, "${eth0 up_kb}", 3)
  131. vicious.register(volinfo, vicious.widgets.volume, "$1", 1, "PCM")
  132.  
  133. -- Gmail widget - change icon to red, when new mail is available
  134. vicious.register(mailinfo, vicious.widgets.gmail,
  135. function (widget, args)
  136. if args["{count}"] == 0 then
  137. mailicon.bg_image = image(beautiful.widget_mail)
  138. return 0
  139. else
  140. mailicon.bg_image = image(beautiful.widget_rmail)
  141. return args["{count}"]
  142. end
  143. end, 61)
  144.  
  145. -- MPD widget. Hides icon and text when nothing is playing.
  146. vicious.register(mpdinfo, vicious.widgets.mpd,
  147. function (widget, args)
  148. if args["{state}"] == "Stop" then
  149. mpdicon.bg_image = nil
  150. mpdicon.width = 0
  151. return ""
  152. else
  153. mpdicon.bg_image = image(beautiful.widget_mpd)
  154. mpdicon.width = 8
  155. return "MPD: " .. args["{Artist}"] .. ' - ' .. args["{Title}"]
  156. end
  157. end)
  158.  
  159.  
  160. -- Create a wibox for each screen and add it
  161. mylayoutbox = {}
  162. mytaglist = {}
  163. mytaglist.buttons = awful.util.table.join(
  164. awful.button({ }, 1, awful.tag.viewonly),
  165. awful.button({ modkey }, 1, awful.client.movetotag),
  166. awful.button({ }, 3, awful.tag.viewtoggle),
  167. awful.button({ modkey }, 3, awful.client.toggletag),
  168. awful.button({ }, 4, awful.tag.viewnext),
  169. awful.button({ }, 5, awful.tag.viewprev)
  170. )
  171. mytasklist = {}
  172. mytasklist.buttons = awful.util.table.join(
  173. awful.button({ }, 1, function (c)
  174. if not c:isvisible() then
  175. awful.tag.viewonly(c:tags()[1])
  176. end
  177. client.focus = c
  178. c:raise()
  179. end),
  180. awful.button({ }, 3, function ()
  181. if instance then
  182. instance:hide()
  183. instance = nil
  184. else
  185. instance = awful.menu.clients({ width=250 })
  186. end
  187. end),
  188. awful.button({ }, 4, function ()
  189. awful.client.focus.byidx(1)
  190. if client.focus then client.focus:raise() end
  191. end),
  192. awful.button({ }, 5, function ()
  193. awful.client.focus.byidx(-1)
  194. if client.focus then client.focus:raise() end
  195. end))
  196.  
  197. for s = 1, screen.count() do
  198. -- Set a screen margin, for borders
  199. awful.screen.padding( screen[s], {top = 1, bottom = 1} )
  200.  
  201. -- Create the layout box, taglist, and tasklist widgets
  202. mylayoutbox[s] = awful.widget.layoutbox(s)
  203. mylayoutbox[s]:buttons(awful.util.table.join(
  204. awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end),
  205. awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end),
  206. awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end),
  207. awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end)))
  208. mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.label.all, mytaglist.buttons)
  209. mytasklist[s] = awful.widget.tasklist( function(c)
  210. local text, bg, status_image, icon = awful.widget.tasklist.label.currenttags(c,s)
  211. return text, bg, status_image, nil
  212. end, mytasklist.buttons)
  213.  
  214. -- Create the bars
  215. topbar[s] = awful.wibox({
  216. position = "top", screen = s, height = 13,
  217. fg = beautiful.fg_normal, bg = beautiful.bg_normal,
  218. border_width = beautiful.border_width,
  219. border_color = beautiful.border_normal,
  220. })
  221. bottombar[s] = awful.wibox({
  222. position = "bottom", screen = s, height = 13,
  223. fg = beautiful.fg_normal, bg = beautiful.bg_normal,
  224. border_width = beautiful.border_width,
  225. border_color = beautiful.border_normal
  226. })
  227.  
  228. -- Fill the bars with widgets
  229. right_aligned = { layout = awful.widget.layout.horizontal.rightleft}
  230. if s == 1 then table.insert(right_aligned, mysystray) end
  231. table.insert(right_aligned, mylayoutbox[s])
  232. topbar[s].widgets = {
  233. mytaglist[s],
  234. { mylayoutbox[s], spacer, mysystray,
  235. layout = awful.widget.layout.horizontal.rightleft
  236. },
  237. mytasklist[s],
  238. layout = awful.widget.layout.horizontal.leftright,
  239. height = 13
  240. }
  241. bottombar[s].widgets = {
  242. { spacer, mpdicon, spacer, mpdinfo,
  243. layout = awful.widget.layout.horizontal.leftright
  244. },
  245. clock, spacer, clockicon, separator, pkginfo, spacer, pkgicon, separator,
  246. mailinfo, spacer, mailicon, separator, rssinfo, spacer, rssicon, separator,
  247. netupinfo, spacer, netupicon, spacer, netdowninfo, spacer, netdownicon, separator,
  248. volinfo, spacer, volicon, separator, meminfo, spacer, memicon, separator,
  249. cpuinfo, spacer, cpuicon,
  250. layout = awful.widget.layout.horizontal.rightleft,
  251. height = 13
  252. }
  253. end
  254. -- }}}
  255.  
  256. -- {{{ Mouse bindings
  257. root.buttons(awful.util.table.join(
  258. awful.button({ }, 3, function() end ),
  259. awful.button({ }, 4, awful.tag.viewnext),
  260. awful.button({ }, 5, awful.tag.viewprev)
  261. ))
  262. -- }}}
  263.  
  264. -- {{{ Key bindings
  265. globalkeys = awful.util.table.join(
  266. -- Program shortcuts
  267. awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
  268. awful.key({ modkey, }, "a", function () awful.util.spawn_with_shell(spawn_dmenu) end),
  269. awful.key({ modkey, }, "q", function () awful.util.spawn(file_browser) end),
  270. awful.key({ modkey, }, "w", function () awful.util.spawn_with_shell(web_browser) end),
  271.  
  272. -- Multimedia keys
  273. awful.key({}, "#166", function () awful.util.spawn_with_shell("mpc prev") end),
  274. awful.key({}, "#167", function () awful.util.spawn_with_shell("mpc next") end),
  275. awful.key({}, "#172", function () awful.util.spawn_with_shell("mpc toggle") end),
  276. awful.key({}, "#122", function () awful.util.spawn_with_shell("amixer -q set PCM 1-") end),
  277. awful.key({}, "#123", function () awful.util.spawn_with_shell("amixer -q set PCM 1+") end),
  278. awful.key({}, "#121", function () awful.util.spawn_with_shell("amixer -q set PCM toggle") end),
  279. awful.key({}, "#180", function () awful.util.spawn_with_shell(web_browser) end),
  280. awful.key({}, "#163", function () awful.util.spawn_with_shell(mail_client) end),
  281.  
  282.  
  283. -- Layout presets (dwm-style)
  284. awful.key({ modkey, }, "f", function () awful.layout.set( awful.layout.suit.floating ) end),
  285. awful.key({ modkey, }, "t", function () awful.layout.set( awful.layout.suit.tile ) end),
  286. awful.key({ modkey, }, "m", function () awful.layout.set( awful.layout.suit.max ) end),
  287. awful.key({ modkey, "Shift" }, "m", function () awful.layout.set( awful.layout.suit.max.fullscreen ) end),
  288.  
  289. -- Moving between layouts
  290. awful.key({ modkey, }, "Up", function () awful.layout.inc(layouts, -1) end),
  291. awful.key({ modkey, }, "Down", function () awful.layout.inc(layouts, 1) end),
  292.  
  293. -- Standard keys
  294. awful.key({ modkey, "Control" }, "r", awesome.restart),
  295. awful.key({ modkey, "Shift" }, "q", awesome.quit ),
  296.  
  297. awful.key({ modkey, }, "Left", awful.tag.viewprev ),
  298. awful.key({ modkey, }, "Right", awful.tag.viewnext ),
  299. awful.key({ modkey, }, "Escape", awful.tag.history.restore),
  300.  
  301. awful.key({ modkey, }, "j",
  302. function ()
  303. awful.client.focus.byidx( 1)
  304. if client.focus then client.focus:raise() end
  305. end),
  306. awful.key({ modkey, }, "k",
  307. function ()
  308. awful.client.focus.byidx(-1)
  309. if client.focus then client.focus:raise() end
  310. end),
  311. awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end),
  312. awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end),
  313. awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end),
  314. awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end),
  315. awful.key({ modkey, }, "u", awful.client.urgent.jumpto),
  316. awful.key({ modkey, }, "Tab",
  317. function ()
  318. awful.client.focus.history.previous()
  319. if client.focus then
  320. client.focus:raise()
  321. end
  322. end),
  323. awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end),
  324. awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end),
  325. awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1) end),
  326. awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end),
  327. awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end),
  328. awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end),
  329. awful.key({ modkey, }, "space", function () awful.layout.inc(layouts, 1) end),
  330. awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
  331.  
  332. -- Lua Prompt
  333. awful.key({ modkey }, "x",
  334. function ()
  335. awful.prompt.run({ prompt = "Run Lua code: " },
  336. mypromptbox[mouse.screen].widget,
  337. awful.util.eval, nil,
  338. awful.util.getdir("cache") .. "/history_eval")
  339. end)
  340. )
  341.  
  342. clientkeys = awful.util.table.join(
  343. awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
  344. awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end),
  345. awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ),
  346. awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
  347. awful.key({ modkey, }, "o", awful.client.movetoscreen ),
  348. awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
  349. awful.key({ modkey, }, "n", function (c) c.minimized = not c.minimized end),
  350. awful.key({ modkey, "Shift" }, "u", function (c) c.urgent = not c.urgent end),
  351. awful.key({ modkey, "Control" }, "m",
  352. function (c)
  353. c.maximized_horizontal = not c.maximized_horizontal
  354. c.maximized_vertical = not c.maximized_vertical
  355. end)
  356. )
  357.  
  358. -- Compute the maximum number of digit we need, limited to 9
  359. keynumber = 0
  360. for s = 1, screen.count() do
  361. keynumber = math.min(9, math.max(#tags[s], keynumber));
  362. end
  363.  
  364. -- Bind all key numbers to tags.
  365. for i = 1, keynumber do
  366. globalkeys = awful.util.table.join(globalkeys,
  367. awful.key({ modkey }, "#" .. i + 9,
  368. function ()
  369. local screen = mouse.screen
  370. if tags[screen][i] then
  371. awful.tag.viewonly(tags[screen][i])
  372. end
  373. end),
  374. awful.key({ modkey, "Control" }, "#" .. i + 9,
  375. function ()
  376. local screen = mouse.screen
  377. if tags[screen][i] then
  378. awful.tag.viewtoggle(tags[screen][i])
  379. end
  380. end),
  381. awful.key({ modkey, "Shift" }, "#" .. i + 9,
  382. function ()
  383. if client.focus and tags[client.focus.screen][i] then
  384. awful.client.movetotag(tags[client.focus.screen][i])
  385. end
  386. end),
  387. awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
  388. function ()
  389. if client.focus and tags[client.focus.screen][i] then
  390. awful.client.toggletag(tags[client.focus.screen][i])
  391. end
  392. end))
  393. end
  394.  
  395. clientbuttons = awful.util.table.join(
  396. awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
  397. awful.button({ modkey }, 1, awful.mouse.client.move),
  398. awful.button({ modkey }, 3, awful.mouse.client.resize))
  399.  
  400. -- Set keys
  401. root.keys(globalkeys)
  402. -- }}}
  403.  
  404. -- {{{ Rules
  405. awful.rules.rules = {
  406. { rule = { },
  407. properties = { border_width = beautiful.border_width,
  408. border_color = beautiful.border_normal,
  409. focus = true, size_hints_honor = true,
  410. keys = clientkeys,
  411. buttons = clientbuttons } },
  412. { rule = { class = "MPlayer" },
  413. properties = { floating = true , tags[1][2]} },
  414. }
  415. -- }}}
  416.  
  417. -- {{{ Signals
  418. -- Signal function to execute when a new client appears.
  419. client.add_signal("manage", function (c, startup)
  420. -- Enable sloppy focus
  421. c:add_signal("mouse::enter", function(c)
  422. if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
  423. and awful.client.focus.filter(c) then
  424. client.focus = c
  425. end
  426. end)
  427.  
  428. if not startup then
  429. awful.client.setslave(c)
  430.  
  431. -- Put windows in a smart way, only if they does not set an initial position.
  432. if not c.size_hints.user_position and not c.size_hints.program_position then
  433. awful.placement.no_overlap(c)
  434. awful.placement.no_offscreen(c)
  435. end
  436. end
  437. end)
  438.  
  439. -- Only float windows have a border
  440. for s = 1, screen.count() do screen[s]:add_signal("arrange", function ()
  441. local clients = awful.client.visible(s)
  442. local layout = awful.layout.getname(awful.layout.get(s))
  443. if #clients > 0 then
  444. for _, c in pairs(clients) do
  445. if awful.client.floating.get(c) or layout == "floating" then
  446. c.border_width = beautiful.floating_border_width
  447. c.border_color = beautiful.border_color
  448. c.above = true
  449. else
  450. c.border_width = 0
  451. c,border_color = beautiful.border_color
  452. end
  453. end
  454. end
  455. end)
  456. end
  457.  
  458. -- Focus window have a border
  459. client.add_signal("focus", function(c) c.border_width = 1 end)
  460. -- }}}
  461.  
  462. -- {{{ Autostart
  463. local r = require("runonce")
  464. r.run("urxvtd -q -o -f")
  465.  
  466. r.run("mpdscribble")
  467. r.run("mpd /home/barthalion/.config/mpd/conf")
  468. r.run("bash /home/barthalion/.config/awesome/widget-rss.sh")
  469. r.run("bash /home/barthalion/.config/awesome/widget-pacman.sh")
  470.  
  471. ## theme.lua [lua]
  472. -- AwesomeWM theme (~/.config/awesome/themes/byte/theme.lua)
  473. -- mu @ freenode
  474.  
  475. theme = {}
  476. theme.confdir = awful.util.getdir("config") .. "/theme"
  477.  
  478. theme.font = "DejaVuSans 8"
  479. theme.font_alt = theme.font
  480.  
  481. theme.bg_normal = "#262729"
  482. theme.bg_focus = "#262729"
  483. theme.bg_urgent = "#262729"
  484. theme.bg_minimize = "#262729"
  485.  
  486. theme.fg_normal = "#fafafa"
  487. theme.fg_focus = "#659fdb"
  488. theme.fg_urgent = "#f03669"
  489. theme.fg_minimize = "#fafafa"
  490.  
  491. theme.border_width = "0"
  492. theme.border_color = "#659fdb"
  493. theme.border_marked = "#91231c"
  494.  
  495. theme.floating_border_width = "1"
  496.  
  497. theme.wallpaper_path = "/home/barthalion/background.png"
  498. theme.wallpaper_cmd = { "hsetroot -fill '"..theme.wallpaper_path.."'" }
  499.  
  500. -- Display the taglist squares
  501. theme.taglist_squares_sel = theme.confdir .. "/taglist/focus.png"
  502. theme.taglist_squares_unsel = theme.confdir .. "/taglist/unfocus.png"
  503.  
  504. -- Layout icons
  505. theme.layout_fairh = theme.confdir .. "/layouts/fairh.png"
  506. theme.layout_fairv = theme.confdir .. "/layouts/fairv.png"
  507. theme.layout_floating = theme.confdir .. "/layouts/floating.png"
  508. --theme.layout_magnifier = theme.confdir .. "/layouts/magnifier.png"
  509. --theme.layout_max = theme.confdir .. "/layouts/max.png"
  510. --theme.layout_fullscreen = theme.confdir .. "/layouts/fullscreen.png"
  511. theme.layout_tilebottom = theme.confdir .. "/layouts/tilebottom.png"
  512. theme.layout_tileleft = theme.confdir .. "/layouts/tileleft.png"
  513. theme.layout_tile = theme.confdir .. "/layouts/tile.png"
  514. theme.layout_tiletop = theme.confdir .. "/layouts/tiletop.png"
  515. theme.layout_spiral = theme.confdir .. "/layouts/spiral.png"
  516. theme.layout_dwindle = theme.confdir .. "/layouts/dwindle.png"
  517.  
  518. -- Widget icons
  519. theme.widget_sep = theme.confdir .. "/widgets/seperator.png"
  520. theme.widget_cpu = theme.confdir .. "/widgets/cpu.png"
  521. --theme.widget_temp = theme.confdir .. "/widgets/temp.png"
  522. theme.widget_mem = theme.confdir .. "/widgets/mem.png"
  523. theme.widget_spkr = theme.confdir .. "/widgets/spkr.png"
  524. --theme.widget_head = theme.confdir .. "/widgets/phones.png"
  525. theme.widget_netdown = theme.confdir .. "/widgets/net_down.png"
  526. theme.widget_netup = theme.confdir .. "/widgets/net_up.png"
  527. theme.widget_mail = theme.confdir .. "/widgets/mail.png"
  528. theme.widget_rmail = theme.confdir .. "/widgets/rmail.png"
  529. theme.widget_pacman = theme.confdir .. "/widgets/pacman.png"
  530. --theme.widget_rpacman = theme.confdir .. "/widgets/rpacman.png"
  531. --theme.widget_batt_full = theme.confdir .. "/widgets/bat_full.png"
  532. --theme.widget_batt_low = theme.confdir .. "/widgets/bat_low.png"
  533. --theme.widget_batt_empty = theme.confdir .. "/widgets/bat_empty.png"
  534. theme.widget_clock = theme.confdir .. "/widgets/clock.png"
  535. theme.widget_mpd = theme.confdir .. "/widgets/note.png"
  536. theme.widget_rss = theme.confdir .. "/widgets/rss.png"
  537.  
  538. return theme
Add Comment
Please, Sign In to add comment