The icon button that opens the yad dialog box, is updated with the latest weather forecast image. It works fine. But, how to create a large-size icon without enlarging all icons on the desktop? Fvwm doesn’t use desktop icons but any size of FvwmButtons. On Xfce and other DE, icons depend on the desktop setting. Can one icon be made of different size? This is how the desk looks like with the setting of 116px icons. Supposed to be 32x for all icons beside the 116px WeatherApp.
Another question. The icon setting does not allow ~/.fvwm/extraEXT/ but full folder name /home/amurt/.fvwm/extraEXT/… Is there another variable without using the username?
Thanks, I am testing on Xfce. The Exec=sh -c "~/. works fine without the full folder name. Icon="~/ doesn’t work, nor in .icon. Requires a full folder name.
Alternative is to use a Yad dialog box without buttons. It shows the original size (92x175). I added wind direction and speed.
QUESTION… how to make the icon (image) in a yad dialog box clickable, to run another script? I tried this with --dclick-action
yad --image=forecaNOWds.png --dclick-action="bash -c 'weatherBOX.sh'" --no-buttons
A few users are asking, how to position the weather button (92x175) in Xfce. Currently, when loaded, it is placed in the center of screen. When moved, goes back to center when updated.
Yad has geometry option to place from +left+top. Depending on the screen, adjust the position. For example screen 1920x1080… --geometry="+1200+50" goes near to right upper corner.
Positioning yad --title="WeatherIcon" --geometry="+1200+50" --button='!forecaNOWds.png!Name:bash -c "./weatherBOX.sh"' &
Also, the button is a bit large for Xfce. When cropping it, use the resize option. For example -resize 68x (68x129).