Skip to content

Instantly share code, notes, and snippets.

@rhoconlinux
Created April 12, 2015 00:36
Show Gist options
  • Select an option

  • Save rhoconlinux/2b42d4c9c120b3e53650 to your computer and use it in GitHub Desktop.

Select an option

Save rhoconlinux/2b42d4c9c120b3e53650 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment