awesome is a dynamic window manager for the X Window System developed in the C and Lua programming languages. Lua is also used for configuring and extending the window manager.
Questions tagged [awesome-wm]
413 questions
0
votes
1 answer
How to create a imagebox based battery widget in AwesomeWM
I am exploring Awesome WM and Vicious, and I'd like to create an wibox.widget.imagebox based battery widget using vicious.widgets.bat template.
So here's a problem: how to change image property of the widget.
The icons are set in theme.lua:
local…

Andrey Voeyko
- 47
- 6
0
votes
0 answers
How to listen to "mouse::move" events on the global `mouse` object in AwesomeWM?
Consider the following rules:
I have a drawin of let's say width=200, height=200.
Inside of this drawin I have an element which has width=10 height=10
I want to be able to click ("button::press") and drag ("mouse::move") this element.
When I…

DesertCarMechanic
- 29
- 4
0
votes
1 answer
Would it be unreasonably expensive to animate the wallpaper in AwesomeWM?
I was reading the source code for setting the wallpaper in awful.wallpaper and I found a few comments that suggest that animating the wallpaper would be very expensive.
For example:
-- Set the wallpaper.
local pattern =…

DesertCarMechanic
- 29
- 4
0
votes
0 answers
Can you manually send a keyboard input to a client in AwesomeWM while a keygrabber is running?
I am trying to write an api for awesome in such a way that the user could create widgets which behave exactly like regular clients. They can be "focused", can receive keyboard and mouse input, etc. And currently, I'm having trouble in making widgets…

DesertCarMechanic
- 29
- 4
0
votes
1 answer
How to redraw only portions of an entire cairo layout in awesome-wm?
Note: I need this information because I'm working on an alternative widget library for awesome-wm.
In short, how do I redraw only portions of a cairo drawing for a layout?
After looking at the source code in wibox/drawable.lua and…

DesertCarMechanic
- 29
- 4
0
votes
1 answer
How to stop mousegrabber in another function
I am creating a tasklist with drag and drop.
In the widget_template create_callback function I am using this code:
self:connect_signal("button::press",
function(_, lx, ly, button, mods)
capi.mousegrabber.run(
function()
return true
…

FluffyDango
- 133
- 9
0
votes
1 answer
Awesome WM shortcut to toggle or make a window sticky. This shortcut is not show in my Super+S help menu
Trying to find the shortcut to toggle or make a window Sticky in awesome wm. I have not seen any shortcut for this function mentioned in the help menu (Super + S). Any help is appreciated..

Electro Voyager
- 107
- 1
- 8
0
votes
1 answer
How to implement widget inheritance
I'm trying to create my own widgets that inherit from a widget instance constructed using make_widget_declarative, so I can add more functionality and a state in a more or less OOP fashion. Here's my attempt:
local wibox = require("wibox")
local…

arielnmz
- 8,354
- 9
- 38
- 66
0
votes
0 answers
How to get the tasklist children widgets in button function?
How can I get all children of the tasklist.
I have a tasklist in a function and a tasklist_buttons:
local tasklist_buttons =
gears.table.join(
awful.button(
{},
1,
function(c)
-- HOW TO GET THIS ↓↓↓
…

FluffyDango
- 133
- 9
0
votes
1 answer
How to make an overlay of all tags
How do I create a global overlay of all tags?
Pressing a shortcut should make all tags appear in seperate boxes in one screen. It should look something like this:
How can I make something like this? How can I seperate tags in boxes?

FluffyDango
- 133
- 9
0
votes
0 answers
The spawn command is opening a couple of programs in the wrong tag
Here is what I have in my rc.lua:
awful.spawn.once("firefox", { tag = "1"; })
awful.spawn.once(terminal, { tag = "2"; })
awful.spawn.once("signal-desktop", { tag = "9"; })
Firefox correctly appears on tag 1.
Terminal correctly appears on tag 2.
But…

Refael Sheinker
- 713
- 7
- 20
0
votes
1 answer
Ranger filemanager defaulting to nano
I set Ranger as a keybind with Awesome Window Manager (AWM). My environmental variables and shell (ZSH) for both visual and editor are set to VIM. When I use the keybind (super + f), Ranger defaults the editor to Nano.
The man page for Ranger says…

Wesley Blake
- 25
- 5
0
votes
1 answer
What is the difference between wibox and wibox widget?
I was wondering what I should use when I am declaring a new widget. Because to me
local some_widget = wibox({})
and
local some_widget = wibox.widget {}
is the same

FluffyDango
- 133
- 9
0
votes
1 answer
Can AwesomeWM give multiple screens access to the same tagged clients?
I have two (identical) monitors connected to the same graphics card, and am running AwesomeWM. The default configuration has nine tags, basically giving me 18 desktops (nine on the left, nine on the right).
I don't really want to divide my life into…

James Cranch
- 101
0
votes
1 answer
How can I create a "container" where I can place multiple widgets inside?
I have textclock, systray and seperator widgets I would like to place in a container.
Then, I will put that container on my topbar and create keys to show/hide the container..
But being new to this I'm not sure how to make the container. I found…

jonas
- 31
- 1
- 3