diff options
Diffstat (limited to 'config.dot/awesome.link/rc.lua')
-rw-r--r-- | config.dot/awesome.link/rc.lua | 56 |
1 files changed, 49 insertions, 7 deletions
diff --git a/config.dot/awesome.link/rc.lua b/config.dot/awesome.link/rc.lua index b56e4c0..84e8dc8 100644 --- a/config.dot/awesome.link/rc.lua +++ b/config.dot/awesome.link/rc.lua @@ -17,10 +17,13 @@ require("debian.menu") -- {{{ Variable definitions -- Folders -homedir = os.getenv("HOME") -configdir = homedir .. "/.config/awesome" +homedir = os.getenv("HOME") +configdir = homedir .. "/.config/awesome" +themes_dir = configdir .. "/themes" + -- Themes define colours, icons, and wallpapers -beautiful.init(configdir .. "/theme.lua") +--beautiful.init(themes_dir .. "/simplex/theme.lua") +beautiful.init(themes_dir .. "/powerarrow/theme.lua") -- This is used later as the default terminal and editor to run. terminal = "terminal" @@ -159,8 +162,12 @@ for s = 1, screen.count() do return awful.widget.tasklist.label.currenttags(c, s) end, mytasklist.buttons) + -- Load widgets + dofile(configdir .. "/widgets.lua") + -- Create the wibox - mywibox[s] = awful.wibox({ position = "top", screen = s }) + --mywibox[s] = awful.wibox({ position = "top", screen = s }) + mywibox[s] = awful.wibox({ position = "top", screen = s, height = "16" }) -- Add widgets to the wibox - order matters mywibox[s].widgets = { { @@ -170,10 +177,45 @@ for s = 1, screen.count() do layout = awful.widget.layout.horizontal.leftright }, mylayoutbox[s], - mytextclock, + s == 1 and mysystray or nil, - volume_widget, - battery_widget, + arr1, + spr3f, + binaryclock.widget, + spr3f, + arrl, + --my_cal.widget, + arr2, + --netwidget, + --neticon, + arr3, + batwidget, + baticon, + arr4, + --fswidget, + --udisks_glue.widget, + arr5, + sensors, + tempicon, + arr6, + --cpuwidget, + --cpuicon, + arr7, + --memwidget, + --memicon, + arr8, + --task_warrior.widget, + arr9, + --music, + arr0, + --mailicon, + arr9, + spr, + -- s == 1 and mysystray, spr or nil, mytasklist[s], + + --mytextclock, + --volume_widget, + --battery_widget, myledbox, awesompd and musicwidget.widget or nil, mytasklist[s], |