Files
community-plugins/nextboot-selector/README.md
T
Aviv Bintang AringgaandGitHub 56ccc9e5f4 feat(nextboot-selector): add nextboot-selector plugin (#36)
* feat(nextboot-selector): add nextboot-selector plugin

* fix(nextboot-selector): change readme

* fix(nextboot-selector): change readme

* fix(nextboot-selector): change en.json structure

* fix(nextboot-selector): check command result before rebooting and notify if error

* fix(nextboot-selector): add reboot and sudo as dependencies
2026-07-18 10:19:19 -04:00

37 lines
1.7 KiB
Markdown

# Next Boot Selector
Next Boot Selector selects which boot entry to boot for the next reboot only. Useful if you're dual-booting and goes back and forth to/from Windows.
## Plugin
| Field | Value |
| --- | --- |
| ID | `avivbintangaringga/nextboot-selector` |
| Entries | Bar widget: `nextboot-selector`; panel: `panel` |
## Requirements
This plugin mainly requires `efibootmgr` but need to escalate using `pkexec` or `sudo`. Note that if you use `sudo`, you need to set the option `NOPASSWD` for the `efibootmgr` command so it doesn't requires password to run. `reboot` command is also required if reboot on select is enabled.
## Usage
Add the `nextboot-selector` widget to a bar. Click it to show a panel that lists all boot entries on your computer. Click one of the entry to change the next boot to it.
Open the panel directly with:
```sh
noctalia msg panel-toggle avivbintangaringga/nextboot-selector:panel
```
You can add more keywords to the exclusion list in the settings to hide unwanted entries. You also can make it automatically reboots after selecting an entry.
## Settings
| Setting | Type | Default | Description |
| --- | --- | --- | --- |
| `excluded_keywords` | `string_list` | `["pxe", "uefi os", "uefi shell", "shell", "ipv4", "ipv6", "network", "diagnostics", "setup", "recovery"]` | Keywords to exclude unwanted boot entries |
| `privilege_command` | `string` | `pkexec` | Command to escalate the privilege of the `efibootmgr` command |
| `close_on_select` | `bool` | `false` | Whether to close the panel after selecting an entry |
| `reboot_on_select` | `bool` | `false` | Whether to automatically reboot after selecting an entry |
| `reboot_command` | `string` | `reboot` | Command to be executed when reboot on select is enabled |