;show_widget=true

[@Enhance]

[gap]
;mode=table
;background=false
;gap=6

[Title ID]
;mode=table
;polling=true
'Title ID'='{title_id}'
'Build ID'='{build_id}'

[exeFS Patches]

[*Active?1]
;mode=toggle
;grouping=split5
on:
    file_source '/atmosphere/exefs_patches/*/{title_id}*'
    filter /atmosphere/exefs_patches/.offload/
    filter /atmosphere/exefs_patches/am/
    filter /atmosphere/exefs_patches/es_patches/
    filter /atmosphere/exefs_patches/nfim_ctest/
    filter /atmosphere/exefs_patches/vi_patches/
    filter /atmosphere/exefs_patches/btm_patches/
    filter /atmosphere/exefs_patches/bluetooth_patches/
    filter /atmosphere/exefs_patches/nvnflinger_cmu/
    filter /atmosphere/exefs_patches/NxThemesInstaller/
    filter /atmosphere/exefs_patches/SaltyNX_Fixes/
    filter /atmosphere/exefs_patches/hid_patches/
    filter /atmosphere/exefs_patches/boot_logo/
    mkdir /atmosphere/exefs_patches/.offload/
    move '/atmosphere/exefs_patches/{folder_name}/' '/atmosphere/exefs_patches/.offload/{folder_name}/'
off:
    file_source '/atmosphere/exefs_patches/.offload/*/{title_id}*'
    move '/atmosphere/exefs_patches/.offload/{folder_name}/' '/atmosphere/exefs_patches/{folder_name}/'

[gap]
;mode=table
;background=false
;gap=12

[*Toggle?1]
;mode=toggle
;grouping=split3
on:
    file_source /atmosphere/exefs_patches/*/
    filter /atmosphere/exefs_patches/.offload/
    filter /atmosphere/exefs_patches/am/
    filter /atmosphere/exefs_patches/es_patches/
    filter /atmosphere/exefs_patches/nfim_ctest/
    filter /atmosphere/exefs_patches/vi_patches/
    filter /atmosphere/exefs_patches/btm_patches/
    filter /atmosphere/exefs_patches/bluetooth_patches/
    filter /atmosphere/exefs_patches/nvnflinger_cmu/
    filter /atmosphere/exefs_patches/NxThemesInstaller/
    filter /atmosphere/exefs_patches/SaltyNX_Fixes/
    filter /atmosphere/exefs_patches/hid_patches/
    filter /atmosphere/exefs_patches/boot_logo/
    mkdir /atmosphere/exefs_patches/.offload/
    move {file_source} '/atmosphere/exefs_patches/.offload/{file_name}/'
off:
    file_source /atmosphere/exefs_patches/.offload/*/
    move {file_source} '/atmosphere/exefs_patches/{file_name}/'


[*Delete?1]
;grouping=split3
;hold=true
file_source /atmosphere/exefs_patches/.offload/*/
file_source /atmosphere/exefs_patches/*/
filter /atmosphere/exefs_patches/am/
filter /atmosphere/exefs_patches/es_patches/
filter /atmosphere/exefs_patches/nfim_ctest/
filter /atmosphere/exefs_patches/vi_patches/
filter /atmosphere/exefs_patches/btm_patches/
filter /atmosphere/exefs_patches/bluetooth_patches/
filter /atmosphere/exefs_patches/nvnflinger_cmu/
filter /atmosphere/exefs_patches/NxThemesInstaller/
filter /atmosphere/exefs_patches/SaltyNX_Fixes/
filter /atmosphere/exefs_patches/hid_patches/
filter /atmosphere/exefs_patches/boot_logo/
delete {file_source}


[gap]
;mode=table
;background=false
;gap=12

[*Groups]
[*Search Pattern?active]
;mode=option
list_file_source './../search_patterns.txt'
set-footer '{list_file_source(*)}'

[*Search Results?active]
;mode=toggle
;grouping=split3
ini_file './config.ini'
file_source '/atmosphere/exefs_patches/*{ini_file("*Search Pattern?active",footer)}*/'
filter /atmosphere/exefs_patches/am/
filter /atmosphere/exefs_patches/es_patches/
filter /atmosphere/exefs_patches/nfim_ctest/
filter /atmosphere/exefs_patches/vi_patches/
filter /atmosphere/exefs_patches/btm_patches/
filter /atmosphere/exefs_patches/bluetooth_patches/
filter /atmosphere/exefs_patches/NxThemesInstaller/
filter /atmosphere/exefs_patches/SaltyNX_Fixes/
filter /atmosphere/exefs_patches/hid_patches/
filter /atmosphere/exefs_patches/boot_logo/
on:
    filter /atmosphere/exefs_patches/.offload/
    file_source '/atmosphere/exefs_patches/*{ini_file("*Search Pattern?active",footer)}*/'
    move {file_source} '/atmosphere/exefs_patches/.offload/{file_name}/'
off:
    file_source '/atmosphere/exefs_patches/.offload/*{ini_file("*Search Pattern?active",footer)}*/'
    move {file_source} '/atmosphere/exefs_patches/{file_name}/'

[Enable All]
logging
ini_file './config.ini'
move '/atmosphere/exefs_patches/.offload/*{ini_file("*Search Pattern?active",footer)}*/' /atmosphere/exefs_patches/

[Disable All]
ini_file './config.ini'
move '/atmosphere/exefs_patches/*{ini_file("*Search Pattern?active",footer)}*/' /atmosphere/exefs_patches/.offload/

[gap]
;mode=table
;background=false
;gap=12

[group info]
;mode=table
;background=false
;alignment=left
;offset=7
;spacing=10
''='Patterns can be added to "search_patterns.txt"'


[exeFS Patches]

[gap]
;mode=table
;background=false
;gap=12

[exefs info]
;mode=table
;background=false
;alignment=left
;offset=20
;spacing=10
''='Your installed IPS mods will show up here.'


