Added script to burn ISO using dd
This commit is contained in:
@@ -13,7 +13,8 @@ are also for my Linux
|
||||
|
||||
<!--- Basic Info {{{ -->
|
||||
## Basic Info
|
||||
* **OS**: [Arch Linux](https://www.archlinux.org/) ([packages](https://github.com/Kevin-Mok/linux-config/blob/master/txt/pacman-pkgs/auto-pacman-pkgs.txt))
|
||||
* **OS**: [Arch Linux](https://www.archlinux.org/) ([packages](https://github.com/Kevin-Mok/linux-config/blob/master/txt/pacman-pkgs/auto-pacman-pkgs.txt))
|
||||
* 15s boot time, 25s restart time on an SSD. :smiley:
|
||||
* **Terminal**: [rxvt-unicode-pixbuf](https://www.wikiwand.com/en/Rxvt)
|
||||
* **Shell**: [Zsh](http://zsh.sourceforge.net/) + [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
|
||||
* **Window Manager**: [i3wm](https://i3wm.org/) + [i3-gaps](https://github.com/Airblader/i3)
|
||||
|
||||
@@ -39,12 +39,16 @@ function rg() { grep -nr $1 * ; }
|
||||
function cpd() { cp -avr $1 $2 ; }
|
||||
|
||||
# extract tar archive
|
||||
function untar() { tar -xzvf $1 && rm $1; }
|
||||
function utar() { tar -xzvf $1 && rm $1; }
|
||||
function rzip() { unzip $1 && rm $1; }
|
||||
function lzip() { unzip -l $1 | less; }
|
||||
alias mkpk="makepkg -sri"
|
||||
|
||||
alias mkex="chmod 777"
|
||||
alias udm="udisksctl mount -b"
|
||||
alias udu="udisksctl unmount -b"
|
||||
alias mkex="chmod 777"
|
||||
alias ctle="systemctl enable"
|
||||
alias ctls="systemctl start"
|
||||
|
||||
# }}} command line related #
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# header {{{ #
|
||||
|
||||
# Neofetch config file
|
||||
# https://github.com/dylanaraps/neofetch
|
||||
|
||||
@@ -8,36 +10,47 @@ print_info() {
|
||||
info title
|
||||
info underline
|
||||
|
||||
info "OS" distro
|
||||
# }}} header #
|
||||
|
||||
# enabled {{{ #
|
||||
|
||||
info "Kernel" kernel
|
||||
info "Terminal" term
|
||||
info "Terminal Font" term_font
|
||||
info "Shell" shell
|
||||
# info "Font" font
|
||||
info "Packages" packages
|
||||
info "WM" wm
|
||||
info "WM Theme" wm_theme
|
||||
# info "Font" font
|
||||
# info "Theme" theme
|
||||
# info "Icons" icons
|
||||
info "CPU" cpu
|
||||
info "CPU Usage" cpu_usage
|
||||
info "GPU" gpu
|
||||
# info "CPU Usage" cpu_usage
|
||||
info "GPU Driver" gpu_driver # Linux only
|
||||
info "Memory" memory
|
||||
info "Disk" disk
|
||||
info "Resolution" resolution
|
||||
# info "Uptime" uptime
|
||||
info "Install Date" install_date
|
||||
info "Song" song
|
||||
# info "Install Date" install_date
|
||||
|
||||
# }}} enabled #
|
||||
|
||||
# others {{{ #
|
||||
|
||||
# info "Host" model
|
||||
# info "Uptime" uptime
|
||||
# info "DE" de
|
||||
# info "Users" users
|
||||
# info "Host" model
|
||||
# info "Kernel" kernel
|
||||
# info "DE" de
|
||||
# info "GPU Driver" gpu_driver # Linux only
|
||||
# info "Battery" battery
|
||||
# info "Local IP" local_ip
|
||||
# info "Public IP" public_ip
|
||||
# info "Locale" locale # This only works on glibc systems.
|
||||
|
||||
# }}} others #
|
||||
|
||||
# options {{{ #
|
||||
|
||||
info line_break
|
||||
info cols
|
||||
info line_break
|
||||
@@ -136,7 +149,8 @@ shell_version="on"
|
||||
# Flag: --speed_type
|
||||
# Supports: Linux with 'cpufreq'
|
||||
# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value.
|
||||
speed_type="bios_limit"
|
||||
# speed_type="bios_limit"
|
||||
speed_type="scaling_max_freq"
|
||||
|
||||
# CPU speed shorthand
|
||||
#
|
||||
@@ -202,7 +216,7 @@ cpu_cores="logical"
|
||||
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
|
||||
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
|
||||
# off: 'Intel i7-6500U (4) @ 3.1GHz'
|
||||
cpu_temp="off"
|
||||
cpu_temp="on"
|
||||
|
||||
|
||||
# GPU
|
||||
@@ -732,3 +746,5 @@ stdout="off"
|
||||
# NOTE: Don't change this value, neofetch reads this to determine
|
||||
# how to handle backwards compatibility.
|
||||
config_version="3.3.0"
|
||||
|
||||
# }}} options #
|
||||
|
||||
6
scripts/burn-iso.sh
Executable file
6
scripts/burn-iso.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
usb=/dev/sdc
|
||||
iso=/run/media/kevin/pc-backup/isos/w10.iso
|
||||
|
||||
sudo dd bs=4M if=$iso of=$usb conv=fdatasync status=progress
|
||||
@@ -4,6 +4,7 @@
|
||||
d ~/linux-config/txt/key_dirs.txt
|
||||
f ~/linux-config/txt/key_files.txt
|
||||
i ~/.config/i3blocks/i3blocks.conf
|
||||
p ~/linux-config/txt/pacman-pkgs/auto-pacman-pkgs.txt
|
||||
r ~/.config/ranger/rc.conf
|
||||
sr ~/linux-config/configs/ranger/shortcuts.conf
|
||||
ss ~/.shortcuts
|
||||
@@ -19,7 +20,8 @@ z ~/linux-config/aliases/zsh_aliases
|
||||
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
|
||||
jn ~/Documents/journal/todo/11.md
|
||||
jnt ~/Documents/journal/todo/todo.md
|
||||
n ./.gitignore
|
||||
no ./.gitignore
|
||||
ne ~/linux-config/configs/neofetch/config.conf
|
||||
tm ~/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets
|
||||
|
||||
# }}} cdn *
|
||||
|
||||
@@ -39,7 +39,7 @@ redshift
|
||||
sed
|
||||
sudo
|
||||
tar
|
||||
udiskie
|
||||
udisks2
|
||||
unzip
|
||||
vi
|
||||
wireless_tools
|
||||
|
||||
Reference in New Issue
Block a user