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
2
votes
1 answer

Xpdf pid missing in Awesome

I'm trying to do some magic with Awesome, generally I suffer from missing Xpdf pid. When I have any other window I'm testing, the client.pid field is OK, and contains the window's pid. However with Xpdf this field is always set to 0. Is there any…
Szymon Lipiński
  • 27,098
  • 17
  • 75
  • 77
2
votes
3 answers

Use stderr in lua io.popen to determine faulty function call

I'm making a function that can read the metadata of the current song playing in spotify. This is being programmed in lua since it is an implementation for awesome wm. I got the following line to get all the metadata that I can later use. handle =…
Hoogendijk
  • 100
  • 1
  • 10
2
votes
1 answer

keyboard layout indicator in awesome using dbus

I want to use dbus to update my keyboard layout indicator in awesome wm. Here is my func in lua module("keyb") function getklayout() local fd = io.popen("skb a") local layout = fd:read() fd:close() …
2
votes
3 answers

How to change the way Awesome WM add items to the tasklist?

I would like to have my awesome WM to add items to the tasklist the same way as other window managers. Basically when you open applications in awesome it will put it in the tasklist preceding the previous application. For example, if you open…
milarepa
  • 759
  • 9
  • 28
2
votes
3 answers

How to run a bash with shortcut on awesome WM

I'm new in Awesome WM and try to add a custom shortcut to run a bash file but it does not work. awful.key({ modkey, "Control", "Shift" }, function () awful.util.spawn(./layout-ir.sh) end), I add this behind of "Standard Program". Thank you
hertkof
  • 23
  • 1
  • 4
2
votes
2 answers

Execute command when mouse touches screen edge in Awesome-wm

I'm new to doing custom lua for the rc.lua in Awesome and I'm having a bit of trouble working out how to launch something based on the mouse position. This is what I have, so-far, but it's not doing anything. -- Open todo when mouse hits right…
Ryan Hasse
  • 253
  • 1
  • 4
  • 15
1
vote
1 answer

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() Upon reloading i get this…
Snek
  • 141
  • 1
  • 7
1
vote
1 answer

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 comment any idea guys?
1
vote
1 answer

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. For example, if someone scales an element down,…
1
vote
1 answer

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 { { widget = wibox.widget { …
FluffyDango
  • 133
  • 9
1
vote
1 answer

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 it only works when the client is in the same tag…
FluffyDango
  • 133
  • 9
1
vote
0 answers

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 upon spawning, but then goes back to the last…
Balthasar
  • 21
  • 1
1
vote
1 answer

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 the textclock widget (with LMB), though I don't…
Balthasar
  • 21
  • 1
1
vote
1 answer

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 working, but are completely invisible. This happens in…
Daniel
  • 27
  • 5
1
vote
1 answer

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 message when I boot on AwesomeWM : An error happened…
Vincent Aury
  • 195
  • 6