wip
This commit is contained in:
27
.config/television/cable/pkgs-flatpak.toml
Normal file
27
.config/television/cable/pkgs-flatpak.toml
Normal file
@@ -0,0 +1,27 @@
|
||||
[metadata]
|
||||
name = "pkgs-flatpak"
|
||||
description = "List and manage Flatpak applications"
|
||||
requirements = ["flatpak"]
|
||||
|
||||
[source]
|
||||
command = "flatpak list --app --columns=application,name,version 2>/dev/null"
|
||||
display = "{split:\t:1} ({split:\t:2})"
|
||||
output = "{split:\t:0}"
|
||||
|
||||
[preview]
|
||||
command = "flatpak info '{split:\t:0}' 2>/dev/null"
|
||||
|
||||
[actions.run]
|
||||
description = "Launch the selected application"
|
||||
command = "flatpak run '{split:\t:0}'"
|
||||
mode = "execute"
|
||||
|
||||
[actions.uninstall]
|
||||
description = "Uninstall the selected application"
|
||||
command = "flatpak uninstall '{split:\t:0}'"
|
||||
mode = "execute"
|
||||
|
||||
[actions.update]
|
||||
description = "Update the selected application"
|
||||
command = "flatpak update '{split:\t:0}'"
|
||||
mode = "execute"
|
||||
Reference in New Issue
Block a user