View Single Post
Old 23rd May 2020
ripe's Avatar
ripe ripe is offline
Package Pilot
 
Join Date: Feb 2013
Location: France
Posts: 175
Default

I just changed in the script of weather.sh:
Code:
#!/bin/sh
xterm -g 125x40-1+39 -T "City's Weather" -hold -e \
curl -sk http://www.wttr.in/
But I lost the icon on top task bar. In tint2rc:
Code:
#-------------------------------------
# Button 1
button = new
button_icon = /home/ripe/pictures/sun_weather.png
button_text = 
button_tooltip = "City's Weather"
button_lclick_command = ~/scripts/weather.sh
button_rclick_command = ~/scripts/weather_radar.sh
button_mclick_command = ~/scripts/weather_forecast.sh
button_uwheel_command = 
button_dwheel_command = 
button_font_color = #000000 100
button_padding = 6 3
button_background_id = 0
button_centered = 0
button_max_icon_size = 32
I can launch it with:
Code:
./weather.sh
Peace.
Reply With Quote