Comments (4)
the themes implementation in widgets seems a little bit complicated/ inconsistant imo but im not good at lua and new to awesome.
i'm using the theme light
and its working fine. (see your 3rd screenshot )
but i found this mysterious comment below:
--theme = 'naughty', -- naughty theme is broken
in my rc.lua.
what is lain/ markup? have you tried making a backup of your user config, copying the default config (/etc/xdg/awesome/rc.lua
) to yor config dir and modify it?
this is my config
-- Create a textclock widget
mytextclock = wibox.widget.textclock('%a, %Y-<b>%m</b>-<b>%d</b> // <b>%H</b>:<b>%M</b>:%S', 1)
local cw = calendar_widget({
theme = 'light',
--theme = 'naughty', -- naughty theme is broken
placement = 'top_right',
radius = 8,
week_numbers = true,
})
i have not looked in the code yet but i believe the themes were designed for that broken naughty theme - or i have an old version or something. i guess i find some time in the next few days. streetturtle could revert the changes otherwise as a hotfix.
from awesome-wm-widgets.
Thank you for the reply.
what is lain/ markup?
This is a tool that I use to customize font/color for some of my widgets.
I did some further tests. It seems that this is the change causing the issue, reverting it solves it on my end.
782f271#diff-3b353f097c213fdeca54038e3547aceb95ded674754ea27f7c94bac5e5044ceeL177-L178
- bg = default_bg,
+ bg = props.bg_color or default_bg,
It doesn't seem to lead to any additional breakage. I tried all the themes (including naughty
that I use personally). No issue either with
start_sunday = true,
week_numbers = true,
Plus, I cannot reproduce #316 either.
If that's OK, I can create a PR.
from awesome-wm-widgets.
not quite sure what happened but i've got a (very) different version of calendar.lua. i believe i messed things up when i merged stuff in my fork -.-
from awesome-wm-widgets.
naughty is kind of fixed with that solution. but i messed my codes completely now...
i believe it is because my theme (gtk) doesnt specify fg
andbg
but fg_normal
and bg_normal
.
the current behavior is:
cell(s) | bold | bg color | fg color |
---|---|---|---|
month/ year | yes | default | default |
week days | yes | default | default |
week nums | no | default | default |
week days | no | default | default |
weekend | no | focus | default |
today | yes | fg color | bg color |
focus (for internal themes) = any color which is a little bit lighter for dark themes or darker for light themes.
focus (for naughty theme) = focus color
default fg (for naughty theme) = beautiful.notification_fg or beautiful.fg or beautiful.fg_normal
default bg (for naughty theme) = beautiful.notification_bg or beautiful.bg or beautiful.bg_normal
from awesome-wm-widgets.
Related Issues (20)
- How to install logout menu widget HOT 4
- todo-widget does not pop up HOT 3
- pactl: Older versions of pactl do not have get-sink-* commands HOT 2
- man i love this widgets are awesome as awesome is the awesomewm
- Pactl volume-widget only updates on one screen HOT 5
- Consider using wttr.in for weather widget HOT 2
- Weather widget does not work, but there are 0 errors
- volume-widget: Mixer selection
- pactl-widget: No way to set limit on max volume HOT 2
- brightness_widget: incorrect brightnessctl command for getting current brightness level HOT 1
- Change color font on the spotify-widget Widget HOT 3
- cpu widget gets placed off screen sometimes HOT 1
- Install dir not found
- README.md installation info is missing HOT 2
- Are there any plans to support hibernate in logout popup? HOT 1
- scripts
- Batteryarc shows battery warning when battery is fully charged
- apt widget not working because icon does not show in bar HOT 3
- calendar-widget: 'today' day is not set when opening the calendar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-wm-widgets.