rhoconlinux
4/12/2015 - 12:36 AM

plank preferences on-dock icon

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