added update_grub alias and added basic grub config
This commit is contained in:
parent
5a00e45a0d
commit
eb6f2f4e75
3 changed files with 55 additions and 1 deletions
|
|
@ -173,6 +173,7 @@ export PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\033[01;37m
|
||||||
|
|
||||||
# Custom Bash Commands
|
# Custom Bash Commands
|
||||||
alias kernel="uname -r"
|
alias kernel="uname -r"
|
||||||
|
alias {grub_update,update_grub}="doas grub-mkconfig -o /boot/grub/grub.cfg"
|
||||||
alias .="cd"
|
alias .="cd"
|
||||||
alias home="xclear && cd /home/brian && clear && nf && history -c && history -w && hash -r"
|
alias home="xclear && cd /home/brian && clear && nf && history -c && history -w && hash -r"
|
||||||
alias forget="xclear && clear && history -c && history -w && hash -r"
|
alias forget="xclear && clear && history -c && history -w && hash -r"
|
||||||
|
|
@ -349,7 +350,6 @@ export PATH="$PATH:$GOPATH/bin:/home/brian/scripts:/home/brian/.local/bin"
|
||||||
export GREP_COLORS='ms=01;33'
|
export GREP_COLORS='ms=01;33'
|
||||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||||
|
|
||||||
|
|
||||||
# BEGIN_KITTY_SHELL_INTEGRATION
|
# BEGIN_KITTY_SHELL_INTEGRATION
|
||||||
if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi
|
if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi
|
||||||
# END_KITTY_SHELL_INTEGRATION
|
# END_KITTY_SHELL_INTEGRATION
|
||||||
|
|
|
||||||
53
grub/grub
Normal file
53
grub/grub
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
GRUB_DEFAULT="0"
|
||||||
|
GRUB_TIMEOUT="3"
|
||||||
|
GRUB_DISTRIBUTOR="Artix"
|
||||||
|
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
|
||||||
|
GRUB_CMDLINE_LINUX="net.ifnames=0"
|
||||||
|
|
||||||
|
# Preload both GPT and MBR modules so that they are not missed
|
||||||
|
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
|
||||||
|
|
||||||
|
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
|
||||||
|
#GRUB_HIDDEN_TIMEOUT="5"
|
||||||
|
#GRUB_HIDDEN_TIMEOUT_QUIET="true"
|
||||||
|
|
||||||
|
# Uncomment to use basic console
|
||||||
|
GRUB_TERMINAL_INPUT="console"
|
||||||
|
|
||||||
|
# Uncomment to disable graphical terminal
|
||||||
|
#GRUB_TERMINAL_OUTPUT="console"
|
||||||
|
|
||||||
|
# The resolution used on graphical terminal
|
||||||
|
# note that you can use only modes which your graphic card supports via VBE
|
||||||
|
# you can see them in real GRUB with the command `vbeinfo'
|
||||||
|
#GRUB_GFXMODE="1680x1050x8"
|
||||||
|
GRUB_GFXMODE="1024x768,800x600"
|
||||||
|
|
||||||
|
# Uncomment to allow the kernel use the same resolution used by grub
|
||||||
|
GRUB_GFXPAYLOAD_LINUX="keep"
|
||||||
|
|
||||||
|
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
|
||||||
|
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
|
||||||
|
#GRUB_DISABLE_LINUX_UUID="true"
|
||||||
|
|
||||||
|
# Uncomment to disable generation of recovery mode menu entries
|
||||||
|
GRUB_DISABLE_RECOVERY="true"
|
||||||
|
|
||||||
|
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
|
||||||
|
# modes only. Entries specified as foreground/background.
|
||||||
|
export GRUB_COLOR_NORMAL="light-blue/black"
|
||||||
|
export GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
|
||||||
|
|
||||||
|
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
|
||||||
|
#GRUB_BACKGROUND="/path/to/wallpaper"
|
||||||
|
#GRUB_THEME="/usr/share/grub/themes/artix/theme.txt"
|
||||||
|
|
||||||
|
# Uncomment to disable Grub submenu(see all kernels on first screen prompt)
|
||||||
|
GRUB_DISABLE_SUBMENU="y"
|
||||||
|
|
||||||
|
# Uncomment to get a beep at GRUB start
|
||||||
|
#GRUB_INIT_TUNE="480 440 1"
|
||||||
|
|
||||||
|
GRUB_SAVEDEFAULT="true"
|
||||||
|
|
||||||
|
GRUB_DISABLE_LINUX_RECOVERY="true"
|
||||||
1
grub/install.txt
Normal file
1
grub/install.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
doas cp grub /etc/default
|
||||||
Loading…
Add table
Add a link
Reference in a new issue