user-none / KDocker

Dock most applications to the system tray
GNU General Public License v2.0
301 stars 22 forks source link

Thanks for Docker + Docking Progressive Web Apps (Google Chrome) #121

Open ndmax opened 1 year ago

ndmax commented 1 year ago

Hi there.

No issue to report - I just wanted to say thank you for KDocker. It's so useful for creating efficient desktop workflows and I appreciate the efforts of contributors.

If anyone is trying to figure out how to get Google Chrome web apps to dock properly, here's an example running on Lubuntu 23.04:

#!/bin/bash

bash -c '/opt/google/chrome/google-chrome --profile-directory=Default --app-id=cifhbcnohmdccbgoicgdjpfamggdegmo &'
while true; do
  sleep 5
  status=$(wmctrl -l | grep "Microsoft Teams")
  if [ "$status" != "" ]; then break; fi
done
WID="$(wmctrl -lx | grep "Microsoft Teams")"; kdocker -qw "${WID%% *}" -i /usr/share/icons/Numix-Circle/48/apps/teams.svg
Jieiku commented 1 year ago

Thank you from me too!

I use KDocker to dock thunderbird, I install the "Minimize on Close" extension for thunderbird which compliments kdocker perfectly.

In Thunderbird press alt to reveal the toolbar, then from the tools menu goto addons and themes.