LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-17-2020, 09:41 AM   #46
apoorv569
Member
 
Registered: Jun 2020
Distribution: Arch Linux
Posts: 61

Original Poster
Rep: Reputation: 0

Quote:
Originally Posted by shruggy View Post
Replace printf with cat:
Code:
showweather() { cat "$weather" ;}
the script is working. but its not showing on statusbar i set it 18000 update interval in `blocks.h`, so it updates the file ".cache/weather" in the interval of 5 hours, and show(cat) what it already contains. but its not showing. if i set it 1 sec interval it shows, but its the same thing as before, thats why i made it to store the weather in file

Last edited by apoorv569; 06-17-2020 at 09:42 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: dwm: A Minimalist Tiling Window Manager For Linux LXer Syndicated Linux News 0 04-03-2018 02:52 PM
LXer: Top 4 reasons I use dwm for my Linux window manager LXer Syndicated Linux News 0 07-19-2017 04:40 AM
dwm window manager: conky eats 100%CPU when it has its own window (window_type normal) ondoho Linux - Software 0 10-11-2016 08:49 PM
Get window size with tiling window manager in SDL Snark1994 Programming 1 02-24-2013 08:46 PM
Config-file for DWM window manager on Debian. tirka Linux - Newbie 1 06-25-2011 06:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration