[Unit] Description=Watch for newly installed Chromium-based applications Documentation=man:middleclick-autoscroll(1) [Path] # Every way an application can turn up: a package, a Flatpak, a snap, something # installed by hand. Watching where the launchers land means there is no hook # to write per package manager: pacman, apt, dnf, zypper, flatpak, snapd and # an AppImage manager all end up here. # # A directory that does not exist on this system costs nothing: systemd watches # the nearest parent that does and picks the path up when it appears. PathModified=/usr/share/applications PathModified=/usr/local/share/applications PathModified=%h/.local/share/applications PathModified=%h/.config/autostart PathModified=/var/lib/flatpak/exports/share/applications PathModified=%h/.local/share/flatpak/exports/share/applications PathModified=/var/lib/snapd/desktop/applications # NixOS and Guix build the search path out of profiles rather than /usr. PathModified=/run/current-system/sw/share/applications PathModified=%h/.nix-profile/share/applications PathModified=%h/.guix-profile/share/applications # The desktop folder is watched too. Steam writes a shortcut there for every # game somebody asks for one, and starting a game is a Steam start. But the # folder's name is translated and cannot be written down here. `enable` adds it # in a drop-in, from the name this system uses. # Steam replaces the script that starts its interface on every client update, # which takes the patch with it. Where that installation lives depends on how # Steam was installed. PathChanged=%h/.local/share/Steam/ubuntu12_64/steamwebhelper_sniper_wrap.sh PathChanged=%h/.steam/debian-installation/ubuntu12_64/steamwebhelper_sniper_wrap.sh PathChanged=%h/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper_sniper_wrap.sh PathChanged=%h/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_64/steamwebhelper_sniper_wrap.sh PathChanged=%h/snap/steam/common/.local/share/Steam/ubuntu12_64/steamwebhelper_sniper_wrap.sh Unit=middleclick-autoscroll.service [Install] WantedBy=default.target