relz / awesome-wm-theme Goto Github PK
View Code? Open in Web Editor NEWAwesome WM theme
Awesome WM theme
The theme does not work on a DisplayPort output or in Xephyr. After installing the theme and reloading awesome it only shows the default theme and a red error message at the top. I tried running awesome in Xephyr but i got the same error message.
command to start Xephyr as described in the ArchWiki:
Xephyr :1 -ac -br -noreset -screen 1152x720
shortened output of awesome
in Xephyr:
~ » DISPLAY=:1.0 awesome -c ~/.config/awesome-wm-theme/rc.lua
xrandr: Failed to get size of gamma for output default
error while running function!
stack traceback:
/home/ludwig/.config/awesome-wm-theme/rc.lua:170: in function 'update_screens'
/home/ludwig/.config/awesome-wm-theme/rc.lua:197: in main chunk
error: /home/ludwig/.config/awesome-wm-theme/rc.lua:170: attempt to concatenate a nil value (local 'primary_output')
output of xrandr
in Xephyr:
~ » DISPLAY=:1.0 xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 160 x 160, current 1152 x 720, maximum 1600 x 1200
default connected 1152x720+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1600x1200 0.00
1400x1050 0.00
1280x960 0.00
1280x1024 0.00
1152x864 0.00
1024x768 0.00
832x624 0.00
800x600 0.00
720x400 0.00
480x640 0.00
640x480 0.00
640x400 0.00
320x240 0.00
240x320 0.00
160x160 0.00
1152x720 0.00*
~ »
output of xrandr
on my system:
~ » xrandr
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384
DisplayPort-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95 + 143.91* 120.03 96.00 72.00 60.02 50.00 48.00 120.00 99.95
1920x1200 59.95
1920x1080 120.00 119.88 60.00 50.00 59.94
1600x1200 59.95
1280x1440 59.91
1680x1050 59.95
1280x1024 75.02 60.02
1440x900 59.90
1280x800 59.95
1280x720 60.00 50.00 59.94
1024x768 119.93 99.99 75.03 70.07 60.00
832x624 74.55
800x600 119.93 99.86 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 119.80 99.83 75.00 72.81 66.67 60.00 59.94
720x400 70.08
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
~ »
After editing lines 153 and 154 in rc.lua
I got it working.
modifications to get it working in Xephyr:
local primary_output = xrandr_output:match("(default) connected")
local primary_output_rect = xrandr_output:match("default connected[a-z ]* ([0-9x+]+) [(]")
modifications to get it working on my system:
local primary_output = xrandr_output:match("(DisplayPort[0-9-]+) connected")
local primary_output_rect = xrandr_output:match("DisplayPort[0-9-]+ connected[a-z ]* ([0-9x+]+) [(]")
Hello @Relz
You made a really good theme for us.
I appreciate you for this.
But sir I Just want to change taskbar and it's icons, what can i do ??
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.