Some work

This commit is contained in:
2018-09-13 16:54:24 +02:00
parent 8d3c5f6d5f
commit 1f26d560fe
4 changed files with 32 additions and 75 deletions

View File

@@ -0,0 +1,22 @@
local wibox = require('wibox')
local awful = require('awful')
function add_background_widget(s)
background_widget = awful.wibar({
screen = s,
height = s.geometry.height,
bg = "#00000000",
})
local text = wibox.widget.textbox("Hello to you")
text.point = { x = 75, y = 200 }
background_widget:setup {
layout = wibox.layout.manual,
text,
}
background_widget:struts({left=0, right=0, top=0, bottom=0})
end

View File

@@ -222,6 +222,7 @@ local volume = require('volume')
local calendar = require('calendar')
local launchbar = require('launchbar')
local music = require('music')
local background = require('background_widget')
local delimiter = wibox.widget.textbox(" | ")
local function set_wallpaper(s)
@@ -293,6 +294,9 @@ awful.screen.connect_for_each_screen(function(s)
s.mylayoutbox,
},
}
add_background_widget(s)
end)
-- }}}

View File

@@ -6,13 +6,13 @@ local theme = {}
theme.font = "sans 8"
theme.bg_normal = "#222222"
theme.bg_focus = "#535d6c"
theme.bg_urgent = "#ff0000"
theme.bg_minimize = "#444444"
theme.bg_normal = "#22222299"
theme.bg_focus = "#535d6c99"
theme.bg_urgent = "#ff000099"
theme.bg_minimize = "#44444499"
theme.bg_systray = theme.bg_normal
theme.fg_normal = "#aaaaaa"
theme.fg_normal = "#cccccc"
theme.fg_focus = "#ffffff"
theme.fg_urgent = "#ffffff"
theme.fg_minimize = "#ffffff"
@@ -76,7 +76,7 @@ theme.titlebar_maximized_button_focus_inactive = "/usr/share/awesome/themes/def
theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png"
theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png"
theme.wallpaper = "/usr/share/awesome/themes/default/background.png"
theme.wallpaper = "/home/thomas/Pictures/Wallpapers/arch-1920x1080.png"
-- You can use your own layout icons like this:
theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png"