Questions tagged [awesome-wm]
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.
409
questions
0
votes
1
answer
55
views
`cairo_image_surface_create_from_png` returns "out of memory", but I have enough memory
Note: I am writing my own window manager that is similar to AwesomeWM in that it will be written in C, and have a lua api for customisation.
The problem I'm facing is with this code:
local bg_img = ...
0
votes
0
answers
64
views
Neither Nitrogen or FEH Work in Autostart if Xrandr also in Autostart
If I put nitrogen --restore in awesome config file lua.rc, the desktop opens with the correct wallpaper. However, if I add xrandr to config file the resolution is successfully set but nitrogen no ...
0
votes
1
answer
42
views
Would I be able to use the XEmbed extension to implement titlebars, and arbitrary embedding of clients in my window manager?
I'm writing a window manager that is similar to AwesomeWM in that it will be configurable with lua, will have a UI system to awesome's wibox, but with some additional niceties like built-in animation ...
0
votes
1
answer
95
views
Is there a way to run lua scripts using awesomewm library?
I know i can create scripts and import them to the rc file or that i can run keymaps for it.
Can i lets say create a script (script.lua) and run it with my terminal.
I tried running awesome-client on ...
0
votes
1
answer
55
views
Open program in focused screen's tag and be persistent on it in Awesomewm
In awesomewm whenever I open a new client it opens in current focused tag, but If I move my focus to another tag it then opens in that tag.
I want it to open in my current tag where I tried to spawn ...
0
votes
1
answer
75
views
AwesomeWM colors and values in progressbar and other wibox widgets do not update
I set up signals and functions to update colors of my container.background widgets and also one to update progressbar value and color according to battery level, but it doesnt work, any manipulations ...
0
votes
1
answer
52
views
Iterate through all selected tasks. Awesome Window Manager
Access to all selected tasks in my taskslist. Awesome WM
I defined the following tasklist:
s.mytasklist = awful.widget.tasklist {
screen = s,
filter = awful.widget.tasklist....
0
votes
1
answer
200
views
How to open a program in a specific tag in AwesomeWM from command line?
I would like to open a program on a given tag ("virtual desktop"). I roughly know how to do it depending on a program, but now I'd like to be able to decide where to run it from command ...
0
votes
1
answer
196
views
AwesomeWM - Fullscreen problems (-> videos, wrong moonitor)
I have the problem that the Fullscreen always switches the monitor to my left one (nonprimary), even if it was on my right one before.
Also, youtube or other videos I cant even enter fullscreen mode, ...
0
votes
0
answers
201
views
AwesomeWM - Margins not being respected when using wibox:setup(...)
Apparently, using :setup() on a widget doesn't make use of the margin container inside it, and only shows up if the height and width properties are set. Below two examples. Both declarative style. ...
0
votes
1
answer
113
views
AwesomeWM: count number of elements in systray
I have my systray setup and works well. However, when it is empty it's keeping a big blank space and i'd like to get rid of that by hiding the tray with something like visibility = false. Is there a ...
0
votes
1
answer
500
views
How to rescale screen with awesome [closed]
After installed awesome wm, I used xrandr to change my resolution with
xrandr -s 1920x1080
but the screen seem to be at 50% of scale
Tried to restart awesome wm but not working
So how do I re-scaling ...
0
votes
1
answer
139
views
Would it be difficult to have AwesomeWM use the cairo-gl backend of cairo?
Basically, the question. As far as I know, AwesomeWM does not use the cairo-gl backend when using cairo.
Would it be difficult to make AwesomeWM maybe check "do we have a gpu? if yes, do we have ...
0
votes
1
answer
253
views
Awesomewm - Dividing rc.lua
a few days ago I began to hit Awesomewm and a doubt came to me to customize. By standard AWM comes with a unique configuration file called RC.Lua, I would like to separate my Key Bindings from ...
1
vote
1
answer
182
views
AwesomeWM nice is not loading
I am one version 4.3 of awesomeWM so that should be correct. I have git cloned nice into ~/.config/awesome and added these lines after beautiful.init(...):
local nice = require("nice")
nice()...
0
votes
1
answer
221
views
Awesome WM adding a keybinding to the Super_L key blocks other key commands from working properly
I'm trying to implement some Super-Tab functionality into awesome-wm so that it acts in a similar way to alt tab, going through tags in order of last used rather than just a set order.
However I've ...
0
votes
1
answer
92
views
Synchronize a timer with textclock refresh in AwesomeWM
I try to synchronize a cairo surface's update with my textclock refresh.
Is it possible to hook a gears.timer to textclock's one? or should I create a textbox and use the same gears.timer to update ...
0
votes
2
answers
197
views
Awesome WM - change titlebar on layout change
i am trying to remove the titlebar in Awesome wm 4.3 when the layout changes (in my case) to "max.fullscreen":
client.connect_signal("focus", function(c)
if awful.layout....
0
votes
1
answer
204
views
How can I code a keybindings sequence in Awesome WM?
My problem is that the basic option to make keybindings in Awesome WM (Window Manager), awful.key(), doesn't work for keybindings like [super+d, e] or [super+d, super+r].
I found a way to do it, but ...
0
votes
1
answer
186
views
AwesomeWM: How best should I have only one active screen?
My new daily driver is a Zephyrus G14, upon which I've installed Arch and AwesomeWM.
I'm attempting to have it automatically move all windows and workspaces from my internal laptop display to my ...
0
votes
1
answer
342
views
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 ...
0
votes
1
answer
276
views
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 ...
1
vote
1
answer
55
views
commenting issue awesome Window manager
I'm trying to create a startup-run daemon client for my emacs. The Lua file identifies "--" as a comment
"usr/bin/emacs --daemon"
my rc.lua file thinks "--daemon" was a ...
0
votes
1
answer
164
views
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 ...
0
votes
1
answer
64
views
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)
...
1
vote
1
answer
166
views
How to cache a drawn surface in cairo and make it use that instead of redrawing it?
I'm writing an alternative widget library for AwesomeWM. In this project, I would like to give the user some functions for manipulating nodes, but some operations are easier to optimize than others.
...
0
votes
1
answer
492
views
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..
0
votes
1
answer
95
views
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 ...
0
votes
0
answers
131
views
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,
...
0
votes
1
answer
117
views
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? ...
0
votes
0
answers
301
views
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", { ...
0
votes
1
answer
232
views
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 ...
2
votes
2
answers
459
views
First time using cairo in AwesomeWM
This is for anyone who's having trouble getting started with cairo.
The documentation didn't give a good, complete example. That's why I wanted to share this.
0
votes
1
answer
341
views
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
1
vote
1
answer
1k
views
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 ...
0
votes
1
answer
510
views
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'...
1
vote
1
answer
417
views
Why can't I use get_children_by_id() on this widget
I want to access the internal widgets but it gives me an error, that I can't index a nil value.
My widget:
local previewWidget = wibox()
previewWidget:setup {
widget = wibox.widget {
{
...
0
votes
1
answer
307
views
How to access nested widgets properties in Awesome
I'm trying to access the properties of the following widget:
local cpu_widget = wibox.widget{
{
max_value = 100,
paddings = 1,
border_width = 2,
widget = wibox....
0
votes
1
answer
543
views
Signal for tag change
I can't find the correct signal to connect to after changing or adding tags.
The signals I want is when you run these commands:
tag:view_only()
awful.tag.viewtoggle(tag)
0
votes
2
answers
1k
views
How to add a widget to systray in AwesomeWM?
I want to add a battery widget to the systray. How can I do that? How does systray recognize what programs to put in it?
3
votes
1
answer
2k
views
When to use spawn.with_shell and when spawn is only needed?
I'm confused when i should use awful.spawn and when to use awful.spawn.with_shell. To me these look and work the same.
The only difference I see is that in awful.spawn you can set client rules and ...
1
vote
1
answer
272
views
How to screenshot all tags and windows in AwesomeWM
I want to create an overview of all tags.
My first step is trying to screenshot all of the tags and (or) clients currently opened.
I've tried using imagemagick import utility to screenshot clients but ...
0
votes
1
answer
379
views
ALT + TAB behaviour implementation
I'm trying to implement ALT + TAB behaviour.
I want to know when a user is holding the ALT key.
Why does this release function not work?
awful.key(
{},
'Alt_L',
function()
altHold = true
end,
...
0
votes
1
answer
867
views
Can't get rid of borders in Awesome WM
I'm trying to make a task list popup with transparency, but I ran into a problem with the borders. Can't find a way to remove the black bars around the popup.
I tried border_width = 0 and theme....
0
votes
1
answer
260
views
Awesome WM does not recognise any touchpad clicks
I am using arch and installed awesome wm manager.
Everything works fine, but the touchpad cklick doesnt work.
I also installed a gnome desktop and there the touchpad click works fine.
The movement on ...
0
votes
1
answer
188
views
AwesomeWM, vicious BTC widget does not update textbox
I am trying to create a widget which displays the current BTC price, but the displayed widget is not updated.
First i create and register the widget with
mytextwidget = {
widget = wibox.widget....
0
votes
1
answer
50
views
Whats the difference between Method and Functions in AwesomeWM
In each class of AwesomeWM documents there is two section. Methods and Functions. Whats the difference between the two. I searched in the lua document and can't found anything there either. Here is a ...
0
votes
1
answer
314
views
How to use one key-binding to spawn tag-specific program in awesome-wm?
Introduction:
In my wrokflow, I am using tags for specific purposes (WEB, IDE, EMAIL, File Manager,>Terminal/Taskwarrior-tui/Timewarrior) and I want to stick to this. So whenever I go to tag 1 I ...
0
votes
1
answer
663
views
How can I automatically resize wibar?
I have configured wibar so that the output is updated automatically. But there is a problem that the output can go beyond the borders of wibar. All the solutions I came up with don't work very well. ...