Commit 4e2b3b769e9582005cf77b34b8c3eb4d895ed4fa

Authored by Ian Foster
Exists in master

Merge branch 'master' of github.com:lanrat/dotfiles

Showing 3 changed files Inline Diff

awesome/awesome/autostart.lua View file @ 4e2b3b7
local r = require("runonce") 1 1 local r = require("runonce")
2 2
r.run("nm-applet") 3 3 r.run("nm-applet")
r.run("dropbox start") 4 4 r.run("dropbox start")
r.run("xscreensaver -no-splash") 5 5 r.run("xscreensaver -no-splash")
r.run("pnmixer") 6 6 r.run("pnmixer")
r.run("xfce4-volumed") 7 7 r.run("xfce4-volumed")
r.run("xfce4-power-manager") 8 8 r.run("xfce4-power-manager")
r.run("xset b off") 9 9 r.run("xset b off")
r.run("conky") 10 10 --r.run("conky")
r.run(awful.util.getdir("config") .. "../../scripts/touchpad.sh") 11 11 r.run(awful.util.getdir("config") .. "../../scripts/touchpad.sh")
awesome/awesome/rc.lua View file @ 4e2b3b7
-------------------------------------- 1 1 --------------------------------------
---- Includes ---- 2 2 ---- Includes ----
-------------------------------------- 3 3 --------------------------------------
-- Standard awesome library 4 4 -- Standard awesome library
require("awful") 5 5 require("awful")
require("awful.autofocus") 6 6 require("awful.autofocus")
require("awful.rules") 7 7 require("awful.rules")
8 8
-- Theme handling library 9 9 -- Theme handling library
require("beautiful") 10 10 require("beautiful")
11 11
-- Notification library 12 12 -- Notification library
require("naughty") 13 13 require("naughty")
14 14
--Expose plugin 15 15 --Expose plugin
require("revelation") 16 16 require("revelation")
17 17
--calendaar popup 18 18 --calendaar popup
require('calendar2') 19 19 require('calendar2')
20 20
--freedesktop menus 21 21 --freedesktop menus
require('awesome-freedesktop/freedesktop.utils') 22 22 require('awesome-freedesktop/freedesktop.utils')
require('awesome-freedesktop/freedesktop.menu') 23 23 require('awesome-freedesktop/freedesktop.menu')
24 24
--for widgets 25 25 --for widgets
require("vicious") 26 26 require("vicious")
27 27
28 28
--local keydoc = require("keydoc") 29 29 --local keydoc = require("keydoc")
30 30
--make pretty things 31 31 --make pretty things
--this will crash if oocairo is not installed 32 32 --this will crash if oocairo is not installed
--bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681279 33 33 --bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681279
--require("blingbling") 34 34 --require("blingbling")
35 35
36 36
-------------------------------------- 37 37 --------------------------------------
---- Variables ---- 38 38 ---- Variables ----
-------------------------------------- 39 39 --------------------------------------
40 40
-- {{{ Variable definitions 41 41 -- {{{ Variable definitions
-- This is used later as the default terminal and editor to run. 42 42 -- This is used later as the default terminal and editor to run.
terminal = "terminator" 43 43 terminal = "terminator"
editor = os.getenv("EDITOR") or "vim" 44 44 editor = os.getenv("EDITOR") or "vim"
editor_cmd = terminal .. " -e " .. editor 45 45 editor_cmd = terminal .. " -e " .. editor
web_browser = "google-chrome" 46 46 web_browser = "google-chrome"
file_manager = "thunar" 47 47 file_manager = "thunar"
lock_command = "xscreensaver-command -lock" 48 48 lock_command = "xscreensaver-command -lock"
exit_command = "cb-exit" 49 49 exit_command = "cb-exit"
50 50
-- Default modkey. 51 51 -- Default modkey.
-- Usually, Mod4 is the key with a logo between Control and Alt. 52 52 -- Usually, Mod4 is the key with a logo between Control and Alt.
-- If you do not like this or do not have such a key, 53 53 -- If you do not like this or do not have such a key,
-- I suggest you to remap Mod4 to another key using xmodmap or other tools. 54 54 -- I suggest you to remap Mod4 to another key using xmodmap or other tools.
-- However, you can use another modifier like Mod1, but it may interact with others. 55 55 -- However, you can use another modifier like Mod1, but it may interact with others.
modkey = "Mod4" 56 56 modkey = "Mod4"
57 57
58 58
-------------------------------------- 59 59 --------------------------------------
---- Plugin Settings ---- 60 60 ---- Plugin Settings ----
-------------------------------------- 61 61 --------------------------------------
62 62
--set default naughty timeout 63 63 --set default naughty timeout
naughty.config.default_preset.timeout = 2 64 64 naughty.config.default_preset.timeout = 2
65 65
66 66
-- Themes define colours, icons, and wallpapers 67 67 -- Themes define colours, icons, and wallpapers
beautiful.init( awful.util.getdir("config") .. "/zenburn_LR/theme.lua") 68 68 beautiful.init( awful.util.getdir("config") .. "/zenburn_LR/theme.lua")
69 69
70 70
-------------------------------------- 71 71 --------------------------------------
---- Error Handleing ---- 72 72 ---- Error Handleing ----
-------------------------------------- 73 73 --------------------------------------
74 74
-- {{{ Error handling 75 75 -- {{{ Error handling
-- Check if awesome encountered an error during startup and fell back to 76 76 -- Check if awesome encountered an error during startup and fell back to
-- another config (This code will only ever execute for the fallback config) 77 77 -- another config (This code will only ever execute for the fallback config)
if awesome.startup_errors then 78 78 if awesome.startup_errors then
naughty.notify({ preset = naughty.config.presets.critical, 79 79 naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, there were errors during startup!", 80 80 title = "Oops, there were errors during startup!",
text = awesome.startup_errors }) 81 81 text = awesome.startup_errors })
end 82 82 end
83 83
-- Handle runtime errors after startup 84 84 -- Handle runtime errors after startup
do 85 85 do
local in_error = false 86 86 local in_error = false
awesome.add_signal("debug::error", function (err) 87 87 awesome.add_signal("debug::error", function (err)
-- Make sure we don't go into an endless error loop 88 88 -- Make sure we don't go into an endless error loop
if in_error then return end 89 89 if in_error then return end
in_error = true 90 90 in_error = true
91 91
naughty.notify({ preset = naughty.config.presets.critical, 92 92 naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, an error happened!", 93 93 title = "Oops, an error happened!",
text = err }) 94 94 text = err })
in_error = false 95 95 in_error = false
end) 96 96 end)
end 97 97 end
-- }}} 98 98 -- }}}
99 99
100 100
-------------------------------------- 101 101 --------------------------------------
---- Tags and Layout ---- 102 102 ---- Tags and Layout ----
-------------------------------------- 103 103 --------------------------------------
104 104
-- Table of layouts to cover with awful.layout.inc, order matters. 105 105 -- Table of layouts to cover with awful.layout.inc, order matters.
layouts = 106 106 layouts =
{ 107 107 {
awful.layout.suit.tile, 108 108 awful.layout.suit.tile,
--awful.layout.suit.tile.left, 109 109 --awful.layout.suit.tile.left,
awful.layout.suit.tile.bottom, 110 110 awful.layout.suit.tile.bottom,
--awful.layout.suit.tile.top, 111 111 --awful.layout.suit.tile.top,
--awful.layout.suit.fair, 112 112 --awful.layout.suit.fair,
--awful.layout.suit.fair.horizontal, 113 113 --awful.layout.suit.fair.horizontal,
--awful.layout.suit.spiral, 114 114 --awful.layout.suit.spiral,
--awful.layout.suit.spiral.dwindle, 115 115 --awful.layout.suit.spiral.dwindle,
awful.layout.suit.max, 116 116 awful.layout.suit.max,
--awful.layout.suit.max.fullscreen, 117 117 --awful.layout.suit.max.fullscreen,
--awful.layout.suit.magnifier, 118 118 --awful.layout.suit.magnifier,
awful.layout.suit.floating, 119 119 awful.layout.suit.floating,
} 120 120 }
-- }}} 121 121 -- }}}
122 122
-- {{{ Tags 123 123 -- {{{ Tags
-- Define a tag table which hold all screen tags. 124 124 -- Define a tag table which hold all screen tags.
tags = { 125 125 tags = {
names = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }, 126 126 names = { 1, 2, 3, 4, 5, 6, 7, 8, 9 },
layout = { layouts[1], layouts[1], layouts[1], layouts[1], layouts[1], layouts[1], layouts[1], layouts[1], layouts[1],}, 127 127 layout = { layouts[1], layouts[1], layouts[1], layouts[1], layouts[1], layouts[1], layouts[1], layouts[1], layouts[1],},
} 128 128 }
for s = 1, screen.count() do 129 129 for s = 1, screen.count() do
-- Each screen has its own tag table. 130 130 -- Each screen has its own tag table.
tags[s] = awful.tag(tags.names, s, tags.layout) 131 131 tags[s] = awful.tag(tags.names, s, tags.layout)
end 132 132 end
-- }}} 133 133 -- }}}
134 134
135 135
-------------------------------------- 136 136 --------------------------------------
---- Menu ---- 137 137 ---- Menu ----
-------------------------------------- 138 138 --------------------------------------
139 139
-- {{{ Menu 140 140 -- {{{ Menu
-- Create a laucher widget and a main menu 141 141 -- Create a laucher widget and a main menu
myawesomemenu = { 142 142 myawesomemenu = {
{ "manual", terminal .. " -e man awesome" }, 143 143 { "manual", terminal .. " -e man awesome" },
{ "edit config", editor_cmd .. " " .. awesome.conffile }, 144 144 { "edit config", editor_cmd .. " " .. awesome.conffile },
{ "restart", awesome.restart }, 145 145 { "restart", awesome.restart },
{ "quit", awesome.quit } 146 146 { "quit", awesome.quit }
} 147 147 }
148 148
menu_items = freedesktop.menu.new() 149 149 menu_items = freedesktop.menu.new()
table.insert(menu_items, { "awesome", myawesomemenu, beautiful.awesome_icon }) 150 150 table.insert(menu_items, { "awesome", myawesomemenu, beautiful.awesome_icon })
table.insert(menu_items, { "Exit", exit_command }) 151 151 table.insert(menu_items, { "Exit", exit_command })
152 152
mymainmenu = awful.menu.new({ items = menu_items, width = 150 }) 153 153 mymainmenu = awful.menu.new({ items = menu_items, width = 150 })
154 154
mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon), 155 155 mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon),
menu = mymainmenu }) 156 156 menu = mymainmenu })
-- }}} 157 157 -- }}}
158 158
159 159
-------------------------------------- 160 160 --------------------------------------
---- WiBox ---- 161 161 ---- WiBox ----
-------------------------------------- 162 162 --------------------------------------
163 163
-- {{{ Wibox 164 164 -- {{{ Wibox
-- Create a textclock widget 165 165 -- Create a textclock widget
mytextclock = awful.widget.textclock({ align = "right" }) 166 166 mytextclock = awful.widget.textclock({ align = "right" })
mytextclock.buttons = awful.util.table.join( 167 167 mytextclock.buttons = awful.util.table.join(
awful.button({ }, 1, function() naughty.notify({text = "it works"}) end) 168 168 awful.button({ }, 1, function() naughty.notify({text = "it works"}) end)
) 169 169 )
170 170
--calendar plugin 171 171 --calendar plugin
calendar2.addCalendarToWidget(mytextclock) 172 172 calendar2.addCalendarToWidget(mytextclock)
173 173
--separator widget 174 174 --separator widget
separator = widget({ type = "textbox" }) 175 175 separator = widget({ type = "textbox" })
separator.text = "|" 176 176 separator.text = "|"
177 177
--space widget 178 178 --space widget
space = widget({ type = "textbox" }) 179 179 space = widget({ type = "textbox" })
space.text = " " 180 180 space.text = " "
181 181
182 local fg_end_color = "#FF5656"
183 local fg_color = "#AECF96"
184 local fg_center_color = "#FFCF00"
185 local bg_color = "#111111"
186
-- RAM usage widget 182 187 -- RAM usage widget
memwidget = awful.widget.progressbar() 183 188 memwidget = awful.widget.progressbar()
memwidget:set_width(10) 184 189 memwidget:set_width(8)
memwidget:set_height(20) 185 190 memwidget:set_height(18)
memwidget:set_vertical(true) 186 191 memwidget:set_vertical(true)
memwidget:set_background_color('#494B4F') 187 192 memwidget:set_background_color(bg_color)
memwidget:set_color('#AECF96') 188 193 memwidget:set_color(fg_color)
memwidget:set_gradient_colors({ '#AECF96', '#88A175', '#FF5656' }) 189 194 memwidget:set_gradient_colors({ fg_color, fg_center_color, fg_end_color })
-- RAM usage tooltip 190 195 -- RAM usage tooltip
memwidget_t = awful.tooltip({ objects = { memwidget.widget },}) 191 196 memwidget_t = awful.tooltip({ objects = { memwidget.widget },})
vicious.cache(vicious.widgets.mem) 192 197 vicious.cache(vicious.widgets.mem)
vicious.register(memwidget, vicious.widgets.mem, 193 198 vicious.register(memwidget, vicious.widgets.mem,
function (widget, args) 194 199 function (widget, args)
memwidget_t:set_text(" RAM: " .. args[1] .. "% " .. args[2] .. "MB / " .. args[3] .. "MB ") 195 200 memwidget_t:set_text(" RAM: " .. args[1] .. "% " .. args[2] .. "MB / " .. args[3] .. "MB ")
return args[1] 196 201 return args[1]
end, 5) 197 202 end, 5)
--update every 5 seconds 198 203 --update every 5 seconds
199 204
-- CPU usage widget 200 205 -- CPU usage widget
cpuwidget = awful.widget.graph() 201 206 cpuwidget = awful.widget.graph()
cpuwidget:set_width(30) 202 207 cpuwidget:set_width(30)
cpuwidget:set_height(20) 203 208 cpuwidget:set_height(18)
cpuwidget:set_background_color("#494B4F") 204 209 cpuwidget:set_background_color(bg_color)
cpuwidget:set_color("#FF5656") 205 210 cpuwidget:set_color(fg_color)
cpuwidget:set_gradient_colors({ "#FF5656", "#88A175", "#AECF96" }) 206 211 cpuwidget:set_gradient_angle(180)
212 cpuwidget:set_gradient_colors({ fg_color, fg_center_color, fg_end_color })
cpuwidget_t = awful.tooltip({ objects = { cpuwidget.widget },}) 207 213 cpuwidget_t = awful.tooltip({ objects = { cpuwidget.widget },})
-- Register CPU widget 208 214 -- Register CPU widget
vicious.register(cpuwidget, vicious.widgets.cpu, 209 215 vicious.register(cpuwidget, vicious.widgets.cpu,
function (widget, args) 210 216 function (widget, args)
cpuwidget_t:set_text("CPU Usage: " .. args[1] .. "%") 211 217 cpuwidget_t:set_text("CPU Usage: " .. args[1] .. "%")
return args[1] 212 218 return args[1]
end) 213 219 end, 2)
214
215 220
-- Create a systray 216 221 -- Create a systray
mysystray = widget({ type = "systray" }) 217 222 mysystray = widget({ type = "systray" })
218 223
-- Create a wibox for each screen and add it 219 224 -- Create a wibox for each screen and add it
mywibox = {} 220 225 mywibox = {}
mypromptbox = {} 221 226 mypromptbox = {}
mylayoutbox = {} 222 227 mylayoutbox = {}
mytaglist = {} 223 228 mytaglist = {}
mytaglist.buttons = awful.util.table.join( 224 229 mytaglist.buttons = awful.util.table.join(
awful.button({ }, 1, awful.tag.viewonly), 225 230 awful.button({ }, 1, awful.tag.viewonly),
awful.button({ modkey }, 1, awful.client.movetotag), 226 231 awful.button({ modkey }, 1, awful.client.movetotag),
awful.button({ }, 3, awful.tag.viewtoggle), 227 232 awful.button({ }, 3, awful.tag.viewtoggle),
awful.button({ modkey }, 3, awful.client.toggletag), 228 233 awful.button({ modkey }, 3, awful.client.toggletag),
awful.button({ }, 4, awful.tag.viewnext), 229 234 awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev) 230 235 awful.button({ }, 5, awful.tag.viewprev)
) 231 236 )
mytasklist = {} 232 237 mytasklist = {}
mytasklist.buttons = awful.util.table.join( 233 238 mytasklist.buttons = awful.util.table.join(
awful.button({ }, 1, function (c) 234 239 awful.button({ }, 1, function (c)
if c == client.focus then 235 240 if c == client.focus then
c.minimized = true 236 241 c.minimized = true
else 237 242 else
if not c:isvisible() then 238 243 if not c:isvisible() then
awful.tag.viewonly(c:tags()[1]) 239 244 awful.tag.viewonly(c:tags()[1])
end 240 245 end
-- This will also un-minimize 241 246 -- This will also un-minimize
-- the client, if needed 242 247 -- the client, if needed
client.focus = c 243 248 client.focus = c
c:raise() 244 249 c:raise()
end 245 250 end
end), 246 251 end),
awful.button({ }, 3, function () 247 252 awful.button({ }, 3, function ()
if instance then 248 253 if instance then
instance:hide() 249 254 instance:hide()
instance = nil 250 255 instance = nil
else 251 256 else
instance = awful.menu.clients({ width=250 }) 252 257 instance = awful.menu.clients({ width=250 })
end 253 258 end
end), 254 259 end),
awful.button({ }, 4, function () 255 260 awful.button({ }, 4, function ()
awful.client.focus.byidx(1) 256 261 awful.client.focus.byidx(1)
if client.focus then client.focus:raise() end 257 262 if client.focus then client.focus:raise() end
end), 258 263 end),
awful.button({ }, 5, function () 259 264 awful.button({ }, 5, function ()
awful.client.focus.byidx(-1) 260 265 awful.client.focus.byidx(-1)
if client.focus then client.focus:raise() end 261 266 if client.focus then client.focus:raise() end
end)) 262 267 end))
263 268
for s = 1, screen.count() do 264 269 for s = 1, screen.count() do
-- Create a promptbox for each screen 265 270 -- Create a promptbox for each screen
mypromptbox[s] = awful.widget.prompt({ layout = awful.widget.layout.horizontal.leftright }) 266 271 mypromptbox[s] = awful.widget.prompt({ layout = awful.widget.layout.horizontal.leftright })
-- Create an imagebox widget which will contains an icon indicating which layout we're using. 267 272 -- Create an imagebox widget which will contains an icon indicating which layout we're using.
-- We need one layoutbox per screen. 268 273 -- We need one layoutbox per screen.
mylayoutbox[s] = awful.widget.layoutbox(s) 269 274 mylayoutbox[s] = awful.widget.layoutbox(s)
mylayoutbox[s]:buttons(awful.util.table.join( 270 275 mylayoutbox[s]:buttons(awful.util.table.join(
awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end), 271 276 awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end),
awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end), 272 277 awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end),
awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end), 273 278 awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end),
awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end))) 274 279 awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end)))
-- Create a taglist widget 275 280 -- Create a taglist widget
mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.label.all, mytaglist.buttons) 276 281 mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.label.all, mytaglist.buttons)
277 282
-- Create a tasklist widget 278 283 -- Create a tasklist widget
mytasklist[s] = awful.widget.tasklist(function(c) 279 284 mytasklist[s] = awful.widget.tasklist(function(c)
return awful.widget.tasklist.label.currenttags(c, s) 280 285 return awful.widget.tasklist.label.currenttags(c, s)
end, mytasklist.buttons) 281 286 end, mytasklist.buttons)
282 287
-- Create the wibox 283 288 -- Create the wibox
mywibox[s] = awful.wibox({ position = "top", screen = s }) 284 289 mywibox[s] = awful.wibox({ position = "top", screen = s })
-- Add widgets to the wibox - order matters 285 290 -- Add widgets to the wibox - order matters
mywibox[s].widgets = { 286 291 mywibox[s].widgets = {
{ 287 292 {
mylauncher, 288 293 mylauncher,
mytaglist[s], 289 294 mytaglist[s],
mypromptbox[s], 290 295 mypromptbox[s],
layout = awful.widget.layout.horizontal.leftright 291 296 layout = awful.widget.layout.horizontal.leftright
}, 292 297 },
mylayoutbox[s], 293 298 mylayoutbox[s],
mytextclock, 294 299 mytextclock,
separator, 295 300 separator,
space, 296 301 space,
memwidget.widget, 297 302 memwidget.widget,
space, 298 303 space,
separator, 299 304 separator,
space, 300 305 space,
cpuwidget.widget, 301 306 cpuwidget.widget,
space, 302 307 space,
separator, 303 308 separator,
s == 1 and mysystray or nil, --only place the systray on the primary screen 304 309 s == 1 and mysystray or nil, --only place the systray on the primary screen
mytasklist[s], 305 310 mytasklist[s],
layout = awful.widget.layout.horizontal.rightleft 306 311 layout = awful.widget.layout.horizontal.rightleft
} 307 312 }
end 308 313 end
-- }}} 309 314 -- }}}
310 315
311 316
-------------------------------------- 312 317 --------------------------------------
---- Key bindings ---- 313 318 ---- Key bindings ----
-------------------------------------- 314 319 --------------------------------------
315 320
-- {{{ Change workspace on scroll 316 321 -- {{{ Change workspace on scroll
root.buttons(awful.util.table.join( 317 322 root.buttons(awful.util.table.join(
--awful.button({ }, 3, function () mymainmenu:toggle() end), --I dont want a menu when I click on the desktop 318 323 --awful.button({ }, 3, function () mymainmenu:toggle() end), --I dont want a menu when I click on the desktop
awful.button({ }, 4, awful.tag.viewnext), 319 324 awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev) 320 325 awful.button({ }, 5, awful.tag.viewprev)
)) 321 326 ))
-- }}} 322 327 -- }}}
323 328
324 329
-- {{{ Key bindings 325 330 -- {{{ Key bindings
globalkeys = awful.util.table.join( 326 331 globalkeys = awful.util.table.join(
327 332
--keydoc.group("Layout manipulation"), 328 333 --keydoc.group("Layout manipulation"),
329 334
--plugins 330 335 --plugins
awful.key({ modkey, }, "e", revelation), 331 336 awful.key({ modkey, }, "e", revelation),
--awful.key({ modkey, }, "F1", keydoc.display), --TODO finish this, needs arg string as last param 332 337 --awful.key({ modkey, }, "F1", keydoc.display), --TODO finish this, needs arg string as last param
333 338
--Conky toggle 334 339 --Conky toggle
awful.key({ }, "Pause", raise_conky, lower_conky), 335 340 awful.key({ }, "Pause", raise_conky, lower_conky),
--awful.key({}, "Pause", toggle_conky) 336 341 --awful.key({}, "Pause", toggle_conky)
337 342
--Move Client to Workspace Left/Right 338 343 --Move Client to Workspace Left/Right
--only works with 3.5, For 3.4 visit link 339 344 --only works with 3.5, For 3.4 visit link
--http://awesome.naquadah.org/wiki/Move_Window_to_Workspace_Left/Right 340 345 --http://awesome.naquadah.org/wiki/Move_Window_to_Workspace_Left/Right
awful.key({ modkey, "Shift" }, "Left", 341 346 awful.key({ modkey, "Shift" }, "Left",
function (c) 342 347 function (c)
local curidx = awful.tag.getidx() 343 348 local curidx = awful.tag.getidx()
if curidx == 1 then 344 349 if curidx == 1 then
awful.client.movetotag(tags[client.focus.screen][9]) 345 350 awful.client.movetotag(tags[client.focus.screen][9])
else 346 351 else
awful.client.movetotag(tags[client.focus.screen][curidx - 1]) 347 352 awful.client.movetotag(tags[client.focus.screen][curidx - 1])
end 348 353 end
--awful.tag.viewprev 349 354 --awful.tag.viewprev
end), 350 355 end),
awful.key({ modkey, "Shift" }, "Right", 351 356 awful.key({ modkey, "Shift" }, "Right",
function (c) 352 357 function (c)
local curidx = awful.tag.getidx() 353 358 local curidx = awful.tag.getidx()
if curidx == 9 then 354 359 if curidx == 9 then
awful.client.movetotag(tags[client.focus.screen][1]) 355 360 awful.client.movetotag(tags[client.focus.screen][1])
else 356 361 else
awful.client.movetotag(tags[client.focus.screen][curidx + 1]) 357 362 awful.client.movetotag(tags[client.focus.screen][curidx + 1])
end 358 363 end
--awful.tag.viewnext 359 364 --awful.tag.viewnext
end), 360 365 end),
awful.key({ modkey, }, "Left", awful.tag.viewprev ), 361 366 awful.key({ modkey, }, "Left", awful.tag.viewprev ),
awful.key({ modkey, }, "Right", awful.tag.viewnext ), 362 367 awful.key({ modkey, }, "Right", awful.tag.viewnext ),
awful.key({ modkey, }, "Escape", awful.tag.history.restore), 363 368 awful.key({ modkey, }, "Escape", awful.tag.history.restore),
364 369
awful.key({ modkey, }, "j", 365 370 awful.key({ modkey, }, "j",
function () 366 371 function ()
awful.client.focus.byidx( 1) 367 372 awful.client.focus.byidx( 1)
if client.focus then client.focus:raise() end 368 373 if client.focus then client.focus:raise() end
end), 369 374 end),
awful.key({ modkey, }, "k", 370 375 awful.key({ modkey, }, "k",
function () 371 376 function ()
awful.client.focus.byidx(-1) 372 377 awful.client.focus.byidx(-1)
if client.focus then client.focus:raise() end 373 378 if client.focus then client.focus:raise() end
end), 374 379 end),
--awful.key({ modkey, }, "w", function () mymainmenu:show({keygrabber=true}) end), --we dont like the menu 375 380 --awful.key({ modkey, }, "w", function () mymainmenu:show({keygrabber=true}) end), --we dont like the menu
376 381
-- Layout manipulation 377 382 -- Layout manipulation
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end), 378 383 awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end),
awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end), 379 384 awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end),
awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end), 380 385 awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end),
awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end), 381 386 awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end),
awful.key({ modkey, }, "u", awful.client.urgent.jumpto), 382 387 awful.key({ modkey, }, "u", awful.client.urgent.jumpto),
awful.key({ modkey, }, "Tab", 383 388 awful.key({ modkey, }, "Tab",
function () 384 389 function ()
awful.client.focus.history.previous() 385 390 awful.client.focus.history.previous()
if client.focus then 386 391 if client.focus then
client.focus:raise() 387 392 client.focus:raise()
end 388 393 end
end), 389 394 end),
390 395
-- Standard program 391 396 -- Standard program
awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end), 392 397 awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
awful.key({ modkey, }, "w", function () awful.util.spawn(web_browser) end), --hotkey to start web-browser 393 398 awful.key({ modkey, }, "w", function () awful.util.spawn(web_browser) end), --hotkey to start web-browser
awful.key({ modkey, }, "f", function () awful.util.spawn(file_manager) end), --hotkey to start my file manager 394 399 awful.key({ modkey, }, "f", function () awful.util.spawn(file_manager) end), --hotkey to start my file manager
awful.key({ modkey, "Control" }, "l", function () awful.util.spawn(lock_command) end), --lock screen 395 400 awful.key({ modkey, "Control" }, "l", function () awful.util.spawn(lock_command) end), --lock screen
awful.key({ modkey, "Control" }, "r", awesome.restart), 396 401 awful.key({ modkey, "Control" }, "r", awesome.restart),
awful.key({ modkey, "Shift" }, "q", awesome.quit), 397 402 awful.key({ modkey, "Shift" }, "q", awesome.quit),
398 403
-- Standard program 399 404 -- Standard program
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end), 400 405 awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end),
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end), 401 406 awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end),
awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1) end), 402 407 awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1) end),
awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end), 403 408 awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end),
awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end), 404 409 awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end),
awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end), 405 410 awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end),
awful.key({ modkey, }, "space", function () awful.layout.inc(layouts, 1) end), 406 411 awful.key({ modkey, }, "space", function () awful.layout.inc(layouts, 1) end),
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end), 407 412 awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
408 413
awful.key({ modkey, "Control" }, "n", awful.client.restore), 409 414 awful.key({ modkey, "Control" }, "n", awful.client.restore),
410 415
-- Prompt 411 416 -- Prompt
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end), 412 417 awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
413 418
awful.key({ modkey }, "x", 414 419 awful.key({ modkey }, "x",
function () 415 420 function ()
awful.prompt.run({ prompt = "Run Lua code: " }, 416 421 awful.prompt.run({ prompt = "Run Lua code: " },
mypromptbox[mouse.screen].widget, 417 422 mypromptbox[mouse.screen].widget,
awful.util.eval, nil, 418 423 awful.util.eval, nil,
awful.util.getdir("cache") .. "/history_eval") 419 424 awful.util.getdir("cache") .. "/history_eval")
end) 420 425 end)
) 421 426 )
422 427
423 428
-- Compute the maximum number of digit we need, limited to 9 424 429 -- Compute the maximum number of digit we need, limited to 9
keynumber = 0 425 430 keynumber = 0
for s = 1, screen.count() do 426 431 for s = 1, screen.count() do
keynumber = math.min(9, math.max(#tags[s], keynumber)); 427 432 keynumber = math.min(9, math.max(#tags[s], keynumber));
end 428 433 end
429 434
-- Bind all key numbers to tags. 430 435 -- Bind all key numbers to tags.
-- Be careful: we use keycodes to make it works on any keyboard layout. 431 436 -- Be careful: we use keycodes to make it works on any keyboard layout.
-- This should map on the top row of your keyboard, usually 1 to 9. 432 437 -- This should map on the top row of your keyboard, usually 1 to 9.
for i = 1, keynumber do 433 438 for i = 1, keynumber do
globalkeys = awful.util.table.join(globalkeys, 434 439 globalkeys = awful.util.table.join(globalkeys,
awful.key({ modkey }, "#" .. i + 9, 435 440 awful.key({ modkey }, "#" .. i + 9,
function () 436 441 function ()
local screen = mouse.screen 437 442 local screen = mouse.screen
if tags[screen][i] then 438 443 if tags[screen][i] then
awful.tag.viewonly(tags[screen][i]) 439 444 awful.tag.viewonly(tags[screen][i])
end 440 445 end
end), 441 446 end),
awful.key({ modkey, "Control" }, "#" .. i + 9, 442 447 awful.key({ modkey, "Control" }, "#" .. i + 9,
function () 443 448 function ()
local screen = mouse.screen 444 449 local screen = mouse.screen
if tags[screen][i] then 445 450 if tags[screen][i] then
awful.tag.viewtoggle(tags[screen][i]) 446 451 awful.tag.viewtoggle(tags[screen][i])
end 447 452 end
end), 448 453 end),
awful.key({ modkey, "Shift" }, "#" .. i + 9, 449 454 awful.key({ modkey, "Shift" }, "#" .. i + 9,
function () 450 455 function ()
if client.focus and tags[client.focus.screen][i] then 451 456 if client.focus and tags[client.focus.screen][i] then
awful.client.movetotag(tags[client.focus.screen][i]) 452 457 awful.client.movetotag(tags[client.focus.screen][i])
end 453 458 end
end), 454 459 end),
awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9, 455 460 awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
function () 456 461 function ()
if client.focus and tags[client.focus.screen][i] then 457 462 if client.focus and tags[client.focus.screen][i] then
awful.client.toggletag(tags[client.focus.screen][i]) 458 463 awful.client.toggletag(tags[client.focus.screen][i])
end 459 464 end
end)) 460 465 end))
end 461 466 end
462 467
clientbuttons = awful.util.table.join( 463 468 clientbuttons = awful.util.table.join(
awful.button({ }, 1, function (c) client.focus = c; c:raise() end), 464 469 awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
awful.button({ modkey }, 1, awful.mouse.client.move), 465 470 awful.button({ modkey }, 1, awful.mouse.client.move),
awful.button({ modkey }, 3, awful.mouse.client.resize)) 466 471 awful.button({ modkey }, 3, awful.mouse.client.resize))
467 472
-- Set keys 468 473 -- Set keys
root.keys(globalkeys) 469 474 root.keys(globalkeys)
-- }}} 470 475 -- }}}
471 476
472 477
-------------------------------------- 473 478 --------------------------------------
--- Rules ---- 474 479 --- Rules ----
-------------------------------------- 475 480 --------------------------------------
476 481
clientkeys = awful.util.table.join( 477 482 clientkeys = awful.util.table.join(
awful.key({ modkey, }, "F11", function (c) c.fullscreen = not c.fullscreen end), 478 483 awful.key({ modkey, }, "F11", function (c) c.fullscreen = not c.fullscreen end),
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end), 479 484 awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end),
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ), 480 485 awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ),
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end), 481 486 awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
--awful.key({ modkey, }, "o", awful.client.movetoscreen ), 482 487 --awful.key({ modkey, }, "o", awful.client.movetoscreen ),
--Move Client to Monitor Left/Right 483 488 --Move Client to Monitor Left/Right
awful.key({ modkey, }, "o", function(c) awful.client.movetoscreen(c,c.screen-1) end ), 484 489 awful.key({ modkey, }, "o", function(c) awful.client.movetoscreen(c,c.screen-1) end ),
awful.key({ modkey, }, "p", function(c) awful.client.movetoscreen(c,c.screen+1) end ), 485 490 awful.key({ modkey, }, "p", function(c) awful.client.movetoscreen(c,c.screen+1) end ),
486 491
--awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end), 487 492 --awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end), 488 493 awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
awful.key({ modkey, }, "n", 489 494 awful.key({ modkey, }, "n",
function (c) 490 495 function (c)
-- The client currently has the input focus, so it cannot be 491 496 -- The client currently has the input focus, so it cannot be
-- minimized, since minimized clients can't have the focus. 492 497 -- minimized, since minimized clients can't have the focus.
c.minimized = true 493 498 c.minimized = true
end), 494 499 end),
awful.key({ modkey, }, "m", 495 500 awful.key({ modkey, }, "m",
function (c) 496 501 function (c)
c.maximized_horizontal = not c.maximized_horizontal 497 502 c.maximized_horizontal = not c.maximized_horizontal
c.maximized_vertical = not c.maximized_vertical 498 503 c.maximized_vertical = not c.maximized_vertical
end) 499 504 end)
) 500 505 )
501 506
-- {{{ Rules 502 507 -- {{{ Rules
awful.rules.rules = { 503 508 awful.rules.rules = {
-- All clients will match this rule. 504 509 -- All clients will match this rule.
{ rule = { }, 505 510 { rule = { },
properties = { border_width = beautiful.border_width, 506 511 properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal, 507 512 border_color = beautiful.border_normal,
focus = true, 508 513 focus = true,
keys = clientkeys, 509 514 keys = clientkeys,
buttons = clientbuttons } }, 510 515 buttons = clientbuttons } },
{ rule = { class = "MPlayer" }, 511 516 { rule = { class = "MPlayer" },
properties = { floating = true } }, 512 517 properties = { floating = true } },
{ rule = { class = "pinentry" }, 513 518 { rule = { class = "pinentry" },
properties = { floating = true } }, 514 519 properties = { floating = true } },
{ rule = { class = "gimp" }, 515 520 { rule = { class = "gimp" },
properties = { floating = true } }, 516 521 properties = { floating = true } },
{ rule = { class = "Conky" }, 517 522 { rule = { class = "Conky" },
properties = { 518 523 properties = {
floating = true, 519 524 floating = true,
sticky = true, 520 525 sticky = true,
ontop = false, 521 526 ontop = false,
focusable = false, 522 527 focusable = false,
size_hints = {"program_position", "program_size"} 523 528 size_hints = {"program_position", "program_size"}
} 524 529 }
} 525 530 }
-- Set Firefox to always map on tags number 2 of screen 1. 526 531 -- Set Firefox to always map on tags number 2 of screen 1.
-- { rule = { class = "Firefox" }, 527 532 -- { rule = { class = "Firefox" },
-- properties = { tag = tags[1][2] } }, 528 533 -- properties = { tag = tags[1][2] } },
} 529 534 }
-- }}} 530 535 -- }}}
531 536
532 537
-------------------------------------- 533 538 --------------------------------------
--- Misc Functions ---- 534 539 --- Misc Functions ----
-------------------------------------- 535 540 --------------------------------------
536 541
function get_conky() 537 542 function get_conky()
local clients = client.get() 538 543 local clients = client.get()
local conky = nil 539 544 local conky = nil
local i = 1 540 545 local i = 1
while clients[i] 541 546 while clients[i]
do 542 547 do
if clients[i].class == "Conky" 543 548 if clients[i].class == "Conky"
then 544 549 then
awesome/awesome/zenburn_LR/theme.lua View file @ 4e2b3b7
------------------------------- 1 1 -------------------------------
-- "Zenburn" awesome theme -- 2 2 -- "Zenburn" awesome theme --
-- By Adrian C. (anrxc) -- 3 3 -- By Adrian C. (anrxc) --
------------------------------- 4 4 -------------------------------
5 5
-- Alternative icon sets and widget icons: 6 6 -- Alternative icon sets and widget icons:
-- * http://awesome.naquadah.org/wiki/Nice_Icons 7 7 -- * http://awesome.naquadah.org/wiki/Nice_Icons
8 8
-- {{{ Main 9 9 -- {{{ Main
theme = {} 10 10 theme = {}
theme.wallpaper_cmd = { "awsetbg -a .wallpaper.jpg" } 11 11 theme.wallpaper_cmd = { "awsetbg -a .wallpaper.jpg" }
-- }}} 12 12 -- }}}
13 13
-- {{{ Styles 14 14 -- {{{ Styles
theme.font = "sans 8" 15 15 theme.font = "sans 8"
16 16
-- {{{ Colors 17 17 -- {{{ Colors
theme.fg_normal = "#DCDCCC" 18 18 theme.fg_normal = "#DCDCCC"
theme.fg_focus = "#F0DFAF" 19 19 theme.fg_focus = "#F0DFAF"
theme.fg_urgent = "#CC9393" 20 20 theme.fg_urgent = "#CC9393"
theme.bg_normal = "#3F3F3F" 21 21 theme.bg_normal = "#000000"
theme.bg_focus = "#1E2320" 22 22 theme.bg_focus = "#111111"
theme.bg_urgent = "#3F3F3F" 23 23 theme.bg_urgent = "#3F3F3F"
-- }}} 24 24 -- }}}
25 25
-- {{{ Borders 26 26 -- {{{ Borders
--theme.border_width = "1" 27 27 --theme.border_width = "1"
theme.border_width = "0" 28 28 theme.border_width = "0"
theme.border_normal = "#3F3F3F" 29 29 theme.border_normal = "#3F3F3F"
theme.border_focus = "#6F6F6F" 30 30 theme.border_focus = "#6F6F6F"
theme.border_marked = "#CC9393" 31 31 theme.border_marked = "#CC9393"
-- }}} 32 32 -- }}}
33 33
-- {{{ Titlebars 34 34 -- {{{ Titlebars
theme.titlebar_bg_focus = "#3F3F3F" 35 35 theme.titlebar_bg_focus = "#3F3F3F"
theme.titlebar_bg_normal = "#3F3F3F" 36 36 theme.titlebar_bg_normal = "#3F3F3F"
-- }}} 37 37 -- }}}
38 38
-- There are other variable sets 39 39 -- There are other variable sets
-- overriding the default one when 40 40 -- overriding the default one when
-- defined, the sets are: 41 41 -- defined, the sets are:
-- [taglist|tasklist]_[bg|fg]_[focus|urgent] 42 42 -- [taglist|tasklist]_[bg|fg]_[focus|urgent]
-- titlebar_[normal|focus] 43 43 -- titlebar_[normal|focus]
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] 44 44 -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
-- Example: 45 45 -- Example:
--theme.taglist_bg_focus = "#CC9393" 46 46 --theme.taglist_bg_focus = "#CC9393"
-- }}} 47 47 -- }}}
48 48
-- {{{ Widgets 49 49 -- {{{ Widgets
-- You can add as many variables as 50 50 -- You can add as many variables as
-- you wish and access them by using 51 51 -- you wish and access them by using
-- beautiful.variable in your rc.lua 52 52 -- beautiful.variable in your rc.lua
--theme.fg_widget = "#AECF96" 53 53 --theme.fg_widget = "#AECF96"
--theme.fg_center_widget = "#88A175" 54 54 --theme.fg_center_widget = "#88A175"
--theme.fg_end_widget = "#FF5656" 55 55 --theme.fg_end_widget = "#FF5656"
--theme.bg_widget = "#494B4F" 56 56 --theme.bg_widget = "#494B4F"
--theme.border_widget = "#3F3F3F" 57 57 --theme.border_widget = "#3F3F3F"
-- }}} 58 58 -- }}}
59 59
-- {{{ Mouse finder 60 60 -- {{{ Mouse finder
theme.mouse_finder_color = "#CC9393" 61 61 theme.mouse_finder_color = "#CC9393"
-- mouse_finder_[timeout|animate_timeout|radius|factor] 62 62 -- mouse_finder_[timeout|animate_timeout|radius|factor]
-- }}} 63 63 -- }}}
64 64
-- {{{ Menu 65 65 -- {{{ Menu
-- Variables set for theming the menu: 66 66 -- Variables set for theming the menu:
-- menu_[bg|fg]_[normal|focus] 67 67 -- menu_[bg|fg]_[normal|focus]
-- menu_[border_color|border_width] 68 68 -- menu_[border_color|border_width]
theme.menu_height = "15" 69 69 theme.menu_height = "15"
theme.menu_width = "100" 70 70 theme.menu_width = "100"
-- }}} 71 71 -- }}}
72 72
-- {{{ Icons 73 73 -- {{{ Icons
-- {{{ Taglist 74 74 -- {{{ Taglist
theme.taglist_squares_sel = ".config/awesome/zenburn_LR/taglist/squarefz.png" 75 75 theme.taglist_squares_sel = ".config/awesome/zenburn_LR/taglist/squarefz.png"
theme.taglist_squares_unsel = ".config/awesome/zenburn_LR/taglist/squarez.png" 76 76 theme.taglist_squares_unsel = ".config/awesome/zenburn_LR/taglist/squarez.png"
--theme.taglist_squares_resize = "false" 77 77 --theme.taglist_squares_resize = "false"
-- }}} 78 78 -- }}}
79 79
-- {{{ Misc 80 80 -- {{{ Misc
theme.awesome_icon = ".config/awesome/zenburn_LR/awesome-icon.png" 81 81 theme.awesome_icon = ".config/awesome/zenburn_LR/awesome-icon.png"
theme.menu_submenu_icon = "/usr/share/awesome/themes/default/submenu.png" 82 82 theme.menu_submenu_icon = "/usr/share/awesome/themes/default/submenu.png"
theme.tasklist_floating_icon = "/usr/share/awesome/themes/default/tasklist/floatingw.png" 83 83 theme.tasklist_floating_icon = "/usr/share/awesome/themes/default/tasklist/floatingw.png"
-- }}} 84 84 -- }}}
85 85
-- {{{ Layout 86 86 -- {{{ Layout
theme.layout_tile = ".config/awesome/zenburn_LR/layouts/tile.png" 87 87 theme.layout_tile = ".config/awesome/zenburn_LR/layouts/tile.png"
theme.layout_tileleft = ".config/awesome/zenburn_LR/layouts/tileleft.png" 88 88 theme.layout_tileleft = ".config/awesome/zenburn_LR/layouts/tileleft.png"
theme.layout_tilebottom = ".config/awesome/zenburn_LR/layouts/tilebottom.png" 89 89 theme.layout_tilebottom = ".config/awesome/zenburn_LR/layouts/tilebottom.png"
theme.layout_tiletop = ".config/awesome/zenburn_LR/layouts/tiletop.png" 90 90 theme.layout_tiletop = ".config/awesome/zenburn_LR/layouts/tiletop.png"
theme.layout_fairv = ".config/awesome/zenburn_LR/layouts/fairv.png" 91 91 theme.layout_fairv = ".config/awesome/zenburn_LR/layouts/fairv.png"
theme.layout_fairh = ".config/awesome/zenburn_LR/layouts/fairh.png" 92 92 theme.layout_fairh = ".config/awesome/zenburn_LR/layouts/fairh.png"
theme.layout_spiral = ".config/awesome/zenburn_LR/layouts/spiral.png" 93 93 theme.layout_spiral = ".config/awesome/zenburn_LR/layouts/spiral.png"
theme.layout_dwindle = ".config/awesome/zenburn_LR/layouts/dwindle.png" 94 94 theme.layout_dwindle = ".config/awesome/zenburn_LR/layouts/dwindle.png"
theme.layout_max = ".config/awesome/zenburn_LR/layouts/max.png" 95 95 theme.layout_max = ".config/awesome/zenburn_LR/layouts/max.png"
theme.layout_fullscreen = ".config/awesome/zenburn_LR/layouts/fullscreen.png" 96 96 theme.layout_fullscreen = ".config/awesome/zenburn_LR/layouts/fullscreen.png"
theme.layout_magnifier = ".config/awesome/zenburn_LR/layouts/magnifier.png" 97 97 theme.layout_magnifier = ".config/awesome/zenburn_LR/layouts/magnifier.png"
theme.layout_floating = ".config/awesome/zenburn_LR/layouts/floating.png" 98 98 theme.layout_floating = ".config/awesome/zenburn_LR/layouts/floating.png"
-- }}} 99 99 -- }}}
100 100
-- {{{ Titlebar 101 101 -- {{{ Titlebar
theme.titlebar_close_button_focus = ".config/awesome/zenburn_LR/titlebar/close_focus.png" 102 102 theme.titlebar_close_button_focus = ".config/awesome/zenburn_LR/titlebar/close_focus.png"
theme.titlebar_close_button_normal = ".config/awesome/zenburn_LR/titlebar/close_normal.png" 103 103 theme.titlebar_close_button_normal = ".config/awesome/zenburn_LR/titlebar/close_normal.png"
104 104
theme.titlebar_ontop_button_focus_active = ".config/awesome/zenburn_LR/titlebar/ontop_focus_active.png" 105 105 theme.titlebar_ontop_button_focus_active = ".config/awesome/zenburn_LR/titlebar/ontop_focus_active.png"
theme.titlebar_ontop_button_normal_active = ".config/awesome/zenburn_LR/titlebar/ontop_normal_active.png" 106 106 theme.titlebar_ontop_button_normal_active = ".config/awesome/zenburn_LR/titlebar/ontop_normal_active.png"
theme.titlebar_ontop_button_focus_inactive = ".config/awesome/zenburn_LR/titlebar/ontop_focus_inactive.png" 107 107 theme.titlebar_ontop_button_focus_inactive = ".config/awesome/zenburn_LR/titlebar/ontop_focus_inactive.png"
theme.titlebar_ontop_button_normal_inactive = ".config/awesome/zenburn_LR/titlebar/ontop_normal_inactive.png" 108 108 theme.titlebar_ontop_button_normal_inactive = ".config/awesome/zenburn_LR/titlebar/ontop_normal_inactive.png"
109 109
theme.titlebar_sticky_button_focus_active = ".config/awesome/zenburn_LR/titlebar/sticky_focus_active.png" 110 110 theme.titlebar_sticky_button_focus_active = ".config/awesome/zenburn_LR/titlebar/sticky_focus_active.png"