summaryrefslogtreecommitdiff
path: root/community/autocutsel/autocutsel.install
blob: 56fde35d7bf86452239d88f8d6e78fe49556ed0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
    cat << EOF
    Add the following lines to your ~/.xinitrc or, for
    system-wide use, to a new file, named, say, 40-autocutsel
    in the directory /etc/X11/xinit/xinitrc.d/ :

autocutsel -fork &
autocutsel -selection PRIMARY -fork &
EOF
}

post_upgrade() {
  post_install 
}
post_remove() {
cat << EOF
  you might want to remove autocutsel related files in 
  /etc/X11/xinit/xinitrc.d now.
EOF
}