summarylogtreecommitdiffstats
path: root/slingswarm.install
blob: 89009750e26c69568dd6cdf6c5dcef39a5ab1fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
post_install() {

	cat << _EOF

==> Once installed set shortcut key to access Slingswarm.

=> System -> Preferences -> Hardware -> Keyboard Shortcuts > click Add
=> Name: Slingswarm
=> Command: slingswarm-launcher

==> Now assign it a shortcut key, such as CTRL+SPACE.

==> Note: Some themes don't have the 'application-default-icon'. Slingswarm needs to have this icon, so please download it from the FlatWoken icon pack and execute the following commands:

=> # cp application-default-icon.svg /usr/share/icons/hicolor/scalable/apps/
=> # gtk-update-icon-cache /usr/share/icons/hicolor

_EOF
}

post_upgrade() {
	post_install
}

post_remove() {
	
	cat << _EOF
	
==> Remove application-default-icon.svg if installed by you:

=> # rm /usr/share/icons/hicolor/scalable/apps/application-default-icon.svg
=> # gtk-update-icon-cache /usr/share/icons/hicolor

_EOF
}