k3rni / foggy Goto Github PK
View Code? Open in Web Editor NEWControl XRandR from awesome WM. Moved to gitlab: https://gitlab.com/k3rni/foggy
Control XRandR from awesome WM. Moved to gitlab: https://gitlab.com/k3rni/foggy
Greetings @k3rni,
I'm trying foggy with awesome 3.5.
%awesome --version
awesome v3.5.6 (For Those About To Rock)
• Build: May 5 2015 05:45:29 for x86_64 by gcc version 5.1.0 (builduser@)
• Compiled against Lua 5.3.0 (running with Lua 5.3)
• D-Bus support: ✔
But when I mod+p
as it is on the readme I get the following error:
~/.config/awesome/foggy/menu.lua:19: attempt to index a nil value (local 'xs')
Does foggy work with awesome 3.5?
Thank you very much.
Regards.
Steps to reproduce:
1366x768@60
).1024x768@60
. This works fine. Now repeat it again to go back to the prior mode1024x768@60
and an error pops up:Herewith the full trace:
W: awesome: luaA_dofunction:78: error while running function
stack traceback:
[C]: in function 'string.format'
/home/av/.config/awesome/foggy/xrandr.lua:160: in field 'set_mode'
/home/av/.config/awesome/foggy/menu.lua:80: in local 'cmd'
/usr/share/awesome/lib/awful/menu.lua:260: in function 'awful.menu.exec'
/usr/share/awesome/lib/awful/menu.lua:403: in upvalue 'press'
/usr/share/awesome/lib/awful/button.lua:42: in function </usr/share/awesome/lib/awful/button.lua:42>
[C]: in method 'emit_signal'
/usr/share/awesome/lib/wibox/widget/base.lua:59: in function 'wibox.widget.base.handle_button'
(...tail calls...)
/usr/share/awesome/lib/gears/object.lua:68: in function 'gears.object.emit_signal'
/usr/share/awesome/lib/wibox/drawable.lua:279: in function </usr/share/awesome/lib/wibox/drawable.lua:273>
error: /home/av/.config/awesome/foggy/xrandr.lua:160: bad argument #5 to 'format' (number has no integer representation)
Note that if I go to mode - auto it works fine. Perhaps it is a similar issue with argument casting.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.