You are not logged in.
Hello fellow archers.
Im new to awesome, so maybe my question a little bit lame, but i did search over the internet without any success. Im using AwesomeWM 3.5. Only found how to change awful.textbox with 'span'.
1. How I can change mypromptbox(awful.widget.prompt()) foreground color or any other text based widget(but not textbox) like keyboard layout etc?
2. And is it possible to somehow add a border of specific width and color to the wibox (for example to the bottom of the wibox if panel is at top)?
Any advices?
Last edited by mongoose (2015-01-26 13:01:46)
Offline
One of the lain widgets might solve the second point. https://github.com/copycat-killer/lain/ … derbox.lua
Last edited by lucke (2015-01-24 18:35:33)
Offline
Tnank you.
Seems like 2 question is answered.
Any ideas about fist one?
Offline
Hm, tested this lain widget and yes it adds border for wibox, but not as i need. Because in any tile modes or when a window is maximazid there is no effect at all, coz this border is stay below the windows. Did i do something wrong?
Offline
Ok, added another blank wibox with just 1 px larger then my main wibox behind my main wibox + this lain widget to my main wibox = solved a problem as i needed.
-- Create the wibox
mywibox2[s] = awful.wibox({ position = "top", height = 26, screen = s })
mywibox[s] = awful.wibox({ position = "top", height = 25, screen = s })
-- Wibox border
lain.widgets.borderbox(mywibox[s], s, { position = "bottom", color = "#B188BD" })But seems like i did it wrong, maybe there is some less complicated solution? Can i change background for specific wibox?
Ok did it as i need.
Here is the code:
mywibox2[s] = awful.wibox({ position = "top", height = 26, screen = s })
mywibox2[s]:set_bg("#B188BD")
mywibox[s] = awful.wibox({ position = "top", height = 25, screen = s })Still need answer for the first question.
Last edited by mongoose (2015-01-24 19:20:12)
Offline
Ok, i have found the answer by myself.
You need to put needed widget inside a decorator wibox.widget.background and set_fg.
Close this please.
Last edited by mongoose (2015-01-25 10:27:46)
Offline
Mark the thread as solved by adding it to the beginning of the subject, like so:
[SOLVED]AwesomeWM awful.widget.promptLast edited by nullified (2015-01-25 16:31:40)
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline