<?xml version="1.0" encoding="UTF-8"?>
<!--

    BleachBit
    Copyright (C) 2008-2025 Andrew Ziem
    https://www.bleachbit.org

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

-->
<cleaner id="gimp">
  <label>GIMP</label>
  <description>Graphics editor</description>
  <!-- GIMP 2.4 -->
  <running type="exe" os="windows" same_user="true">gimp-2.4.exe</running>
  <running type="exe" os="linux" same_user="true">gimp-2.4</running>
  <!-- GIMP 2.6 -->
  <running type="exe" os="windows" same_user="true">gimp-2.6.exe</running>
  <running type="exe" os="linux" same_user="true">gimp-2.6</running>
  <!-- GIMP 2.8 -->
  <running type="exe" os="windows" same_user="true">gimp-2.8.exe</running>
  <running type="exe" os="linux" same_user="true">gimp-2.8</running>
  <!-- GIMP 2.10 -->
  <running type="exe" os="windows" same_user="true">gimp-2.10.exe</running>
  <running type="exe" os="linux" same_user="true">gimp-2.10</running>
  <var name="base">
    <!-- GIMP 2.4/2.6/2.8 -->
    <value os="windows">%USERPROFILE%\.gimp-2.4</value>
    <value os="windows">%USERPROFILE%\.gimp-2.6</value>
    <value os="windows">%USERPROFILE%\.gimp-2.8</value>
    <value os="linux">~/.gimp-2.4</value>
    <value os="linux">~/.gimp-2.6</value>
    <value os="linux">~/.gimp-2.8</value>
    <!-- GIMP 2.10 -->
    <value os="windows">%AppData%\GIMP\2.10</value>
    <value os="linux">~/.config/GIMP/2.10</value>
  </var>
  <option id="tmp">
    <label>Temporary files</label>
    <description>Delete the temporary files</description>
    <!-- GIMP -->
    <action command="delete" search="walk.files" path="$$base$$/tmp/"/>
  </option>
</cleaner>
