Comments (2)
You can't get this in uppercase using formattime
.
If you don't mind polling you can do:
(defpoll day
:interval "60s"
:initial ""
"date +'%A' | tr '[a-z]' '[A-Z]'"
)
(defwidget day []
(box
:class "day"
:orientation "horizontal"
:space-evenly "false"
(label :class "day_label" :text day)
)
)
from eww.
You can't get this in uppercase using
formattime
. If you don't mind polling you can do:(defpoll day :interval "60s" :initial "" "date +'%A' | tr '[a-z]' '[A-Z]'" ) (defwidget day [] (box :class "day" :orientation "horizontal" :space-evenly "false" (label :class "day_label" :text day) ) )
Thank you so much brother. I successfully fixed the lowercase issue. Also got to learn something new about eww configuration.
from eww.
Related Issues (20)
- [BUG] Nix Flake wayland output is still broken HOT 10
- [BUG] Revealer gets stuck and doesn't animate properly
- [BUG] jq broken in 5.0.0 HOT 8
- [BUG] rgba is limited from :style in yuck
- [BUG] problem with hyprbars
- How can I move eww windows to the background so they don't appear above other gnome windows? HOT 1
- linear-gradient() error HOT 6
- [BUG] Can't run same config on multiple xorg servers HOT 1
- [FEATURE] transform-origin css equivalent for "transform" widgets HOT 1
- [BUG] deflisten script not working HOT 3
- [FEATURE] tailwindcss support? HOT 2
- [BUG] Got duplicated ipc service in process
- [BUG] The network-graph module doesn't work anymore
- Can't compile on Fedora 39 HOT 2
- Compilation errors HOT 3
- Could not find `ObjectExt` in `glib` HOT 1
- [BUG] Systray updates HOT 5
- [BUG] Systray not working correctly with all:unset HOT 11
- [BUG] eww ping: error_handling_ctx > Failed to connect to daemon
- [BUG] EWW_NET is all 0 HOT 3
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 eww.