plank preferences on-dock icon
#!/bin/bash
echo "Creating plank themer dockitem..."
USERNAME=$(whoami)
ABS_ADDR=/home/$USERNAME/.local/share/applications/plank-preferences.desktop
cd $HOME/.config/plank/dock1/
touch $HOME/.config/plank/dock1/launchers/plank-preferences.dockitem
echo \[PlankItemsDockItemPreferences\] >> $HOME/.config/plank/dock1/launchers/plank-preferences.dockitem
echo Launcher=$ABS_ADDR >> $HOME/.config/plank/dock1/launchers/plank-preferences.dockitem