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.
381
questions
0
votes
0
answers
16
views
Add entries to hotkeys_popup.show_help im Awesomwm
Im trying to add entries to the popup shortcut help in awesomewm but everything i do crashes the entire window manager.
Here is what i did
i copied the default configs to ~/.config/awesome/awful/...
1
vote
2
answers
71
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
44
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
0
votes
1
answer
66
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
69
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
52
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
0
answers
25
views
How to get the history index of a client in a tag
How do I get the client history order?
I have a table with all my clients
local clientsInTag = { [1]=client1, [2]=client2, [3]=client3 }
I want to focus it according to the history
awful.focus = ...
0
votes
1
answer
41
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
80
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
206
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?
I know I can use xfce4-power-manager system tray icon and it works fine, but I ...
0
votes
1
answer
119
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
64
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
43
views
Alt_L key release function does not start
I'm trying to implement ALT + TAB behavior.
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
92
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
43
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
51
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
29
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
57
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
117
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. ...
-1
votes
1
answer
175
views
Awesome WM current layout
I'm wanna to write polybar module that displaying awesome current screen layout.
Does awesome have function to return current screen layout with string or image?
0
votes
1
answer
108
views
How to keep focusing on the client after it's moved to a new tag in Awesome WM?
How to make the Awesome's window(client) moving behavior the similar like DWM's ViewonTag patch
Follow a window to the tag it is being moved to.
Patch 20210312 prevents the window being followed if ...
0
votes
2
answers
91
views
AwesomeWM: for iterator is not callable (a table value) when iterating on clients
I'm trying to toggle all the titlebars when I press some keys. For this I want to iterate over all clients. I tries to do it several ways, including:
for s in screen do
for c in s.clients do
awful....
1
vote
0
answers
121
views
Awesome WM - How to Prevent freerdp from grabbing keyboard in fullscreen mode?
I made a dock to start several programms. It appears when the mouse touches the screen border.
When I use xfreerdp in multimonitor mode xfreerdp will automaticaly open in fullscreen mode and grabs the ...
0
votes
0
answers
76
views
Alacritty loses focus upon launch
So, I've encountered a problem where Alacritty loses its focus upon being spawned. Say I have my browser open, I open Kate on top of that, it gains focus, but when I open Alacritty, it gains focus ...
0
votes
1
answer
274
views
Could someone explain how do buttons on widget work?
I'm extremely confused about how to do this. The documentation of Awesome is not clear to me at all, nor following stuff from the rc.lua helps. All I wanna do is to pop up the calendar upon clicking ...
0
votes
1
answer
46
views
How to force awesome to respect xterm geometry settings?
If I have 2 floating xterms open and open a third one, it seems the -geometry settings I give on the command line are ignored and awesome tries to figure out on its own where the third xterm should go....
0
votes
1
answer
52
views
Is there any way to enforce layout rules for "fullscreen video"?
Can awesomewm force fullscreen video from YouTube in Firefox or from VLC Media player to scale and fill the same boundaries as the window the app its being played in? i.e. if I have firefox running in ...
0
votes
1
answer
478
views
Awesome-WM - How to center a wibox.widget.textbox in a wibox.container?
I would like to know how to center a wibox.widget.textbox in wibox.container.background, because I would like to center the text in this image.
s.mytaglist = awful.widget.taglist {
screen = s,
...
0
votes
0
answers
156
views
How to check current language of awful.widget.keyboardlayout?
On my awesomewm panel, I have added the keyboard layout object:
mykeyboardlayout = awful.widget.keyboardlayout()
It changes between two languages when I press Caps Lock:
localectl --no-convert set-...
0
votes
2
answers
264
views
Awesome wm - Big font and panel size problem
I hope I ask the right question, Thanks in advance for helping.
I had a bad kdenlive theme running on Archlinux with awesome wm, so I installed a recommended plugins to fix it
sudo pacman -S breeze ...
0
votes
1
answer
88
views
How do I get local date / time as variable inside awesome wm rc.lua?
Basically, I want to have a printscreen key so I added into my rc.lua
awful.key({}, "Print", function() awful.util.spawn("flameshot screen -p /my/path/__date__time__.png") end)
to ...
0
votes
0
answers
173
views
Can't get awesome widgets (volume) to work
I recently started using awesomewm and im loving it, except im having trobule with widgets. Whenever i try to put them in my rc.lua awesome breaks. I am really bad at lua. I just want a working volume ...
0
votes
1
answer
91
views
Is it possible to make tasklist automatically switch to different layout?
I am using the following code for my wibar tasklist:
s.mytasklist = awful.widget.tasklist
{
screen = s,
filter = awful.widget.tasklist.filter.allscreen,
buttons = ...
1
vote
1
answer
454
views
All my dropdown menus (in applications and right click) work, but are invisible in AwesomeWM
The title is self explanatory... I was configuring AwesomeWM and suddenly realised that none of my dropdown menus were working (they were working fine before). Actually, I noticed that they were ...
1
vote
1
answer
196
views
How to limit the width of window entries on the Wibar?
Right now if I open only a window, it fills all of the wibar completely. Until I open another window, now each takes half of the space.
Is there a way to set a static width that a single window can ...
0
votes
0
answers
80
views
AwesomeWM - Error "__newindex " since got a new monitor
I've been using AwesomeWM with a dual screen classic layout for few months.
I recently purchased a ultrawide screen and set my 2nd monitor as "portrait mode".
Since then, I got an error ...
0
votes
1
answer
493
views
Awesome-wm notifications to bottom-right
I'm looking for a way to move all desktop notifications from top-right to bottom-right but all I can find googling around is this page https://awesomewm.org/apidoc/core_components/naughty.notification....
-1
votes
1
answer
89
views
how to open a chrome windows in private mode with awesome wm?
I have the code below to open Chrome in normal mode but I would like to have a shortcut for private mode as well.
awful.key({ modkey, }, "b", function () awful.spawn.with_shell(&...
0
votes
1
answer
61
views
Trying to make a popup widget but get unknown errors instead
So I've been trying to create a popup widget which should include 3 other widgets inside of it. I had to fix a bunch of things before I could get it to run without spitting out more errors. So I am at ...
0
votes
0
answers
132
views
How to use Awesome windows manager via TigerVncServer?
Ok, I install Devuan Linux without GUI on QEMU and then install Awesome, then install VNC by this instruction step 1 and step 2:
this is ok, but when I connect via vnc viewer for my virtual pc I see ...
0
votes
1
answer
3k
views
Picom Kernel Blur
I want to use kernel blur in picom (without experimental backend).
Unfortunately there is no documentation on how we can achieve nice blur effect on terminals (like termite) using picom.
I already ...
0
votes
2
answers
146
views
Is there a way to bind modkey alone to an action in awesome-wm
So far I've tried:
awful.key({ modkey }, "", function () awful.screen.focused().mypromptbox:run() end)
awful.key({ modkey, modekey }, "", function () awful.screen.focused()....
-2
votes
1
answer
656
views
How do i create a AwesomeWM theme
i have come across awesomeWM recently and want to create a new theme but i don't know how to create one and how it works i have searched google many times on how to create a awesomewm theme and the ...
0
votes
1
answer
663
views
awesomewm - size of tasklist icons
how to change the icon size of the tasklist?
I am working with a non-modified, just installed awesome wm build and cant seem to figure this one out.
I tried
s.mytasklist = awful.widget.tasklist {
...
0
votes
1
answer
70
views
Lua Arguments in AwesomeWM
I've been at this for a long time now. The AwesomeWM API doesn't document this well enough. I'm just confused as to how I am supposed to put arguments in this:
local cal = awful.widget.calendar_popup....
0
votes
1
answer
46
views
awesomewm remap tag display
I'm trying to remap my the tag display feature thats traditionally mapped to modkey, "Control", "#" .. i + 9. I have removed any other instance of {modkey, "Tab"} ...
0
votes
2
answers
202
views
How do I disable the window border in theme.lua/rc.lua (AwesomeWM)
I am trying to edit my .config/awesome/theme.lua and .config/theme/rc.lua files for AwesomeWM. I have the following lines in the theme.lua file:
theme.border_width = dpi(5)
theme.border_normal = "...
1
vote
1
answer
229
views
Running awesome-client from a script executing as root
Running Awesome on Debian (11) testing
awesome v4.3 (Too long)
• Compiled against Lua 5.3.3 (running with Lua 5.3)
• D-Bus support: ✔
• execinfo support: ✔
• xcb-randr version: 1.6
• LGI version: ...
0
votes
1
answer
51
views
How do I set a custom colour for a category in awful.hotkeys_popup?
Each category/tag in awful.hotkeys_popup has a different colour (which is set randomly, I believe).
Is it possible to set the colour manually?
0
votes
0
answers
80
views
X session is responsive to mouse events, but no cursor is displayed
So I have a really basic X initialization sequence that goes a little something like this:
/bin/bash startx is executed in a .service file # note that the corresponding X session runs as root
The ...