summarylogtreecommitdiffstats
path: root/wlrun-git.install
blob: 7d2ada71311357b2548b23857b61a43232a628c3 (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
36
37
38
39
## wlrun-git was formerly published as "river-delta-git". This notice fires on a
## fresh install (pacman replaces river-delta-git via the `replaces=` array) and
## on every upgrade, so the rename and the required config migration are never
## missed.

_migration_notice() {
  cat <<'EOF'

  ==> wlrun was renamed from "river-delta".
      The binary, the Wayland app_id and the config directory all changed.

      What changed         old                         new
      -------------------  --------------------------  ------------------------
      binary               /usr/bin/river-delta        /usr/bin/wlrun
      config directory     ~/.config/river-delta/      ~/.config/wlrun/
      Wayland app_id       river-delta                 wlrun

  ==> Action required — migrate your config (nothing is moved automatically):

        mv ~/.config/river-delta ~/.config/wlrun

      This carries over config.toml, the vpn/ directory and themes/ in one step.

  ==> Then update your setup to use the new name:
        * compositor keybindings / autostart:  spawn river-delta  ->  spawn wlrun
        * window rules matching the app_id:     river-delta        ->  wlrun

      A fresh sample config is at /usr/share/wlrun/config.sample.toml.

EOF
}

post_install() {
  _migration_notice
}

post_upgrade() {
  _migration_notice
}