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.

413 questions
1
vote
1 answer

awesomewm: widget showing focused screen

I frequently lose track of which screen is currently focused (especially when there are no open clients). Therefore I want to write a widget which always shows which screen is focused. My current code looks like this: -- Focused screen widget local…
beesteak
  • 265
  • 1
  • 3
  • 8
1
vote
0 answers

How can I load a lua library in rc.lua for later use by awesome-client?

For background, I'm currently using notify-send to produce dbus notifications when a long script finishes but I'd like to make better notifications with naughty. I found this simple script…
fredwhy
  • 13
  • 3
1
vote
1 answer

Adding multiple mailaddresses to lain imap widget in awesome wm

I'd like to get help with configuring the lain imap widget in awesome wm. While I actually have 3 email addresses to care about I'd like to configure the lain widget, so that I have only one Mail-icon and three initialized imap widgets, who sum up…
1
vote
1 answer

Setting dpms in Awesome WM

If I do the following from terminal, then the screen turns off after 10 seconds of inactivity, as I expect. xset +dpms dpms 0 0 10 However, if I try to do the same from init.lua, then it does not work. awful.spawn("xset +dpms dpms 0 0 10") I even…
petersohn
  • 11,292
  • 13
  • 61
  • 98
1
vote
3 answers

Awesome WM: some clients pop up floating and vertically and horizontally maximized

Some graphic clients such as firefox, thunderbird and sqlitebrowser pop up vertically and horizontally maximized automatically, and floating, without any specific rule in the rc.lua. Or at least I suppose they are so from the icons in the title bar,…
1
vote
1 answer

How to use AwesomeWM signals in lua?

I want to execute a method when one of my wibox.widget.textbox widgets is clicked, and according to the documentation I should use the button::press signal. However I didn't find anything about these signals, I can't even figure if it is a native…
Antoine C.
  • 3,730
  • 5
  • 32
  • 56
1
vote
1 answer

Awesome-WM keyboard shortcut double-tap

Is it possible to create a keyboard shortcut that acts differently on single vs double-tap. For example: Mod4+"s" start-player Mod4+"ss" stop-player
King110
  • 122
  • 8
1
vote
1 answer

How to call dbus methods in Awesome WM?

I want to send dbus messages to other applications from Awesome WM. However, the documentation for Awesome's dbus interfact is pretty minimalistic, and I can't find any examples. How to do that? For example, I want to use the Inhibit function in…
petersohn
  • 11,292
  • 13
  • 61
  • 98
1
vote
1 answer

Force focus client under mouse

There are recipes on how to change focus on mouse move or client change. But what I want, is to prevent any window from stealing focus. E.g. I open a new terminal via the default meta-Enter shortcut, and when it opens it immediately steals focus. Is…
Eugene Pakhomov
  • 9,309
  • 3
  • 27
  • 53
1
vote
2 answers

AwesomeWM - How to prevent migration of clients when screen disconnected?

After docking and undocking the laptop, as a result of two screens disappearing and one screen appearing or vice-a-versa, all windows are migrated to one screen. How to accomplish the following desired behavior: keep windows associated with…
alexei
  • 2,031
  • 1
  • 26
  • 28
1
vote
1 answer

awesome: consume mouse wheel event in client properties→buttons

In Awesome 3.5.6, I have configured modkey + mouse wheel forward/backward to raise and lower the focused window, as follows: clientbuttons = awful.util.table.join( awful.button({ }, 1, function (c) client.focus = c; c:raise() end), …
Robert Fleming
  • 1,337
  • 17
  • 13
1
vote
2 answers

How to toggle the titlebar in AwesomeWM?

I am trying to modify my rc.lua file the following way: when I press Mod4+R, AwesomeWM keybinding for running a command, I want Rofi to appear, blur my wallpaper and hide everything from my screen. I only want the Rofi prompt over a blurred…
xvlaze
  • 837
  • 1
  • 10
  • 30
1
vote
1 answer

Use oene physical monitor as two

I have a Big monitor which I would like to simulate more than one monitor. i.e: ------------ | | | M1 | ------------ should be treated as: ------------- | M1 | M2 | | | | ------------- I'm running AwesomeWM…
1
vote
1 answer

Awesome wm, keep focus exception for an application

In awesome wm I use gmrun, a small application launcher. { rule = { class = "Gmrun" }, properties = { floating = true, ontop = true, focus = true }, callback = function(c) c:geometry({x=30, y=45}) end}, and this is my rules for all clients…
user1427715
1
vote
1 answer

how to focus on specific client window

How would I focus on specific client in awesome window manager by pressing Alt-1 to first window, Alt-2 to go to second window, and so on? I made this script but it doesn't work properly, it selects random windows: awful.key({"Mod1" },…
Nulik
  • 6,748
  • 10
  • 60
  • 129