for example, I displayed the contents of my /home/dolphin/.local/share/applications directory.
Code: Select all
yad --icons --read-dir=/home/dolphin/.local/share/applications --scroll
Code: Select all
yad --icons --read-dir=/home/dolphin/.local/share/applications --scroll
This one looks very nice!AVLinux wrote: Thu Jul 15, 2021 12:30 am Hi,
Here is a quickly done example of a Yad launcher dialog for MX-FB, the nice thing about this is the tooltips and stuff like that all look after themselves. It's just a script that points to the directory your launchers are in and the launchers just need to meet the minimum freedesktop.org specs and be a few relevant lines. Obviously my theming is different and I'm using the Papirus Icons but the more generic and stock you keep the icon names the more compatible with all potential themes this will be. No messing around with buttons and arrays and all that jazz, just have your launcher point to the program or script you want to run.
MXFB.png
Script is attached here:
MX-FB.zip
Thanks! I'm in the field for work all day, but will take a look tonight.AVLinux wrote: Thu Jul 15, 2021 12:30 am Hi,
Here is a quickly done example of a Yad launcher dialog for MX-FB, the nice thing about this is the tooltips and stuff like that all look after themselves. It's just a script that points to the directory your launchers are in and the launchers just need to meet the minimum freedesktop.org specs and be a few relevant lines. Obviously my theming is different and I'm using the Papirus Icons but the more generic and stock you keep the icon names the more compatible with all potential themes this will be. No messing around with buttons and arrays and all that jazz, just have your launcher point to the program or script you want to run.
MXFB.png
Script is attached here:
MX-FB.zip
I like your work, but there is one small problem with one of your desktop files. The proper path to Tint2 settings is "tint2conf" not "tint2".
Code: Select all
#!/usr/bin/bash
yad --title="System Settings" --window-icon=desktop --width=700 --height=450 --center --borders=12 \
--text="<b>MX-Fluxbox System Settings</b>" \
--icons --read-dir="$HOME/.fluxbox/settings/" \
--button="Fluxbox configuration files!desktop!Launches the ~/.fluxbox folder in Thunar:2" \
--button="gtk-cancel:1"
ret=$?
[[ $ret -eq 1 ]] && exit 0
if [[ $ret -eq 2 ]]; then
thunar $HOME/.fluxbox && exit 0
fi
probably a bad spot. /usr/share/applications subfolders get picked up by the various menus/rofi/appfinders so we would get duplicates. probably better in something like /usr/share/mx-fluxbox-setttings-manager or something like that.Jerry3904 wrote: Thu Jul 15, 2021 8:29 am Yup, I was thinking of a folder in /user/share/applications
Oops, sorry!kobaian wrote: Thu Jul 15, 2021 7:02 am
I like your work, but there is one small problem with one of your desktop files. The proper path to Tint2 settings is "tint2conf" not "tint2".