mirror of
https://github.com/rwinkhart/cachyos-postinstall-helper.git
synced 2026-08-27 20:36:32 -04:00
Capitalize "back" and "all" in menus
This commit is contained in:
+1
-1
@@ -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
@@ -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
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user