diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-07-22 15:11:21 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-07-22 15:11:21 -0300 |
commit | d03236d878a8011520963fa0c1cdf72a1590c773 (patch) | |
tree | 3133caa760b1d81887e0e850a6c57834945a221f | |
parent | b15f3f8f5ceae6d6f519ec1b4786c3797081f46c (diff) | |
download | awesome-d03236d878a8011520963fa0c1cdf72a1590c773.tar.gz awesome-d03236d878a8011520963fa0c1cdf72a1590c773.tar.bz2 |
Updates Adds powerarrow theme
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | config.dot/awesome.link/powerarrow | 0 | ||||
-rw-r--r-- | config.dot/awesome.link/rc.lua | 56 | ||||
-rw-r--r-- | config.dot/awesome.link/themes/simplex/theme.lua (renamed from config.dot/awesome.link/theme.lua) | 4 |
4 files changed, 55 insertions, 8 deletions
diff --git a/.gitmodules b/.gitmodules index 44a8ada..cd6b26f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "config.dot/awesome.link/awesompd"] path = config.dot/awesome.link/awesompd url = git://git.sarava.org/awesompd.git +[submodule "config.dot/awesome.link/powerarrow"] + path = config.dot/awesome.link/powerarrow + url = https://github.com/romockee/powerarrow diff --git a/config.dot/awesome.link/powerarrow b/config.dot/awesome.link/powerarrow new file mode 160000 +Subproject 530d208c76280d4f6f566394e6f6a7ebf18fc61 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], diff --git a/config.dot/awesome.link/theme.lua b/config.dot/awesome.link/themes/simplex/theme.lua index 1881afe..0f64c38 100644 --- a/config.dot/awesome.link/theme.lua +++ b/config.dot/awesome.link/themes/simplex/theme.lua @@ -5,6 +5,8 @@ theme = {} theme.font = "sans 8" +--theme.font = "inconsolata 8" +--theme.font = "terminus 8" --theme.font = "mono 8" ---theme.bg_normal = "#222222" @@ -79,7 +81,7 @@ theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/defau -- You can use your own command to set your wallpaper --theme.wallpaper_cmd = { "awsetbg " .. homedir .. "/themes/backgrounds/background.jpg" } -theme.wallpaper_cmd = { "xsetroot -solid black" } +--theme.wallpaper_cmd = { "xsetroot -solid black" } -- You can use your own layout icons like this: theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png" |