Capitalize "back" and "all" in menus

This commit is contained in:
2025-09-28 03:33:15 -04:00
parent e618084bc6
commit b6a80753e9
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
func applications() {
for {
var doAll bool
choice := front.InputMenuGen("Application to install:", []string{"back", "all", "pamac-aur", "yay-bin", "htop", "neovim", "virt-manager (also installs qemu-desktop+libvirt)", "librewolf-bin", "zed", "steam"})
choice := front.InputMenuGen("Application to install:", []string{"BACK", "ALL", "pamac-aur", "yay-bin", "htop", "neovim", "virt-manager (also installs qemu-desktop+libvirt)", "librewolf-bin", "zed", "steam"})
switch choice {
case 1:
return
+1 -1
View File
@@ -10,7 +10,7 @@ import (
func configurations() {
for {
var doAll bool
choice := front.InputMenuGen("Custom config:", []string{"back", "all", "shell profile", "zshrc", "neovim", "zed", "makepkg", "pacman"})
choice := front.InputMenuGen("Custom config:", []string{"BACK", "ALL", "shell profile", "zshrc", "neovim", "zed", "makepkg", "pacman"})
switch choice {
case 1:
return
+1 -1
View File
@@ -7,7 +7,7 @@ import (
func removals() {
for {
var doAll bool
choice := front.InputMenuGen("Application to remove:", []string{"back", "all", "linux-cachyos-lts"})
choice := front.InputMenuGen("Application to remove:", []string{"BACK", "ALL", "linux-cachyos-lts"})
var target string
switch choice {
case 1:
+1 -1
View File
@@ -13,7 +13,7 @@ import (
func system() {
for {
var doAll bool
choice := front.InputMenuGen("Tweak:", []string{"back", "all", "replace sudo with doas", "enable ipv6 privacy extensions", "enable ext4 fast_commit", "enable SysRq reboots", "disable kernel security mitigations", "unlock amdgpu tuning", "enable amd_pstate in passive mode (recommended for zenver2)"})
choice := front.InputMenuGen("Tweak:", []string{"BACK", "ALL", "replace sudo with doas", "enable ipv6 privacy extensions", "enable ext4 fast_commit", "enable SysRq reboots", "disable kernel security mitigations", "unlock amdgpu tuning", "enable amd_pstate in passive mode (recommended for zenver2)"})
switch choice {
case 1:
return