refactor(plugins/alpha): add last session and update buttons order

This commit is contained in:
Nicolas Goudry 2024-06-09 23:07:45 +02:00
parent 08aee7c9e0
commit d91509cb1e
No known key found for this signature in database
GPG key ID: 5FC434D9FFD1DF44

View file

@ -28,13 +28,14 @@ let
type = "group"; type = "group";
opts.spacing = 1; opts.spacing = 1;
# Use function defined in lua config (see below) to generate buttons # Use function defined in lua config (see extra.config) to generate buttons
val = [ val = [
{ __raw = "alpha_button('LDR n ', '${icons.FileNew} New File')"; } { __raw = "alpha_button('LDR S l', '${icons.Refresh} Last Session')"; }
{ __raw = "alpha_button('LDR e ', '${icons.FolderOpen} Explorer')"; } { __raw = "alpha_button('LDR e ', '${icons.FolderOpen} Explorer')"; }
{ __raw = "alpha_button('LDR f f', '${icons.Search} Find File')"; }
{ __raw = "alpha_button('LDR f o', '${icons.DefaultFile} Recents')"; } { __raw = "alpha_button('LDR f o', '${icons.DefaultFile} Recents')"; }
{ __raw = "alpha_button('LDR f f', '${icons.Search} Find File')"; }
{ __raw = "alpha_button('LDR f g', '${icons.WordFile} Live Grep')"; } { __raw = "alpha_button('LDR f g', '${icons.WordFile} Live Grep')"; }
{ __raw = "alpha_button('LDR n ', '${icons.FileNew} New File')"; }
]; ];
}; };