Comments (6)
Hey Andrea, can you provide the full widget? I tried the command you have me and it seems to work fine if I wrap it in a pre tag. I had other issues, but the newlines came out as expected
from uebersicht.
The full widget is
command: "/Users/andrea/Applications/cal_list.sh"
refreshFrequency: 10000 #ms
render: (output) ->
"<pre>#{output}</pre>"
style: """
left: 100px
top: 100px
color: #fff
width: 600px
height: 200px
font-family: STHeiti
padding-left: 5px
text-shadow: 2px 2px #000000
"""
from uebersicht.
Ok, I tried with a different script, that uses newlines as well, but not ASCII escape sequences, and that works perfectly.
I don't think the escape sequences could cause this behavior, though.
from uebersicht.
Yeah it was hard to tell what was happening from the screenshots you sent. Get a lot of errors when I run the script you sent me. Also I removed the source ~/.bashrc
However I got decent results when I used just:
command: "icalBuddy -f -sd -df \"%a, %d %B %Y\" 2> /dev/null"
you need to replace icalBuddy with the full path the binary (/usr/local/bin/icalBuddy in your case I think).
I've added the 2> /dev/null
to get rid of all the errors I get.
The result has new lines, but escape sequences come out as plain text and don't change the color of course.
from uebersicht.
Ok, thanks for your help.
Please feel free to close the issue
from uebersicht.
cool, let me know if you have more questions!
from uebersicht.
Related Issues (20)
- How to find the widget id for specific widget? HOT 2
- Add `eventListener` after render in JSX? HOT 1
- Your GetWidgets page need to be organized by Arch Type
- HELP shell script formatting ignored? HOT 1
- I want to click on the widget with ⌘ + left-click HOT 2
- Sonoma: Uebersicht App does not not show widget list any more (although all widgets were launched properly) HOT 45
- Uebersicht no longer takes full screen height on latest Sonoma beta HOT 50
- Übersicht doesn't prompt for calendar permission in Sonoma HOT 7
- Native Mac OS widgets
- übersicht not starting up on sonoma, the little u icon isn't in the menu bar HOT 1
- Widgets not showing in alphabetical order on Sonoma
- Widget screen selection is lost on macOS Sonoma after sleep HOT 2
- Cannot hide scrollbars in widget when overflow css is *not* set to hidden HOT 1
- THANKS HOT 1
- how does one read a file in a jsx widget? HOT 1
- Feature request: support running commands without a shell HOT 1
- Support streaming inputs ? HOT 1
- Is there an option to focus a widget?
- Is uebersicht planning on supporting TypeScript?
- -webkit-backdrop-filter: blur(..) doesn't work anymore on macOS 15 beta HOT 1
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 uebersicht.