Browse Source

Added script to burn ISO using dd

red-hat-laptop
Kevin Mok 6 years ago
parent
commit
5573bbb562
  1. 1
      README.md
  2. 8
      aliases/zsh_aliases
  3. 38
      configs/neofetch/config.conf
  4. 6
      scripts/burn-iso.sh
  5. 4
      txt/key_files.txt
  6. 2
      txt/pacman-pkgs/auto-pacman-pkgs.txt

1
README.md

@ -14,6 +14,7 @@ are also for my Linux
<!--- Basic Info {{{ --> <!--- Basic Info {{{ -->
## 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) * **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) * **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) * **Window Manager**: [i3wm](https://i3wm.org/) + [i3-gaps](https://github.com/Airblader/i3)

8
aliases/zsh_aliases

@ -39,12 +39,16 @@ function rg() { grep -nr $1 * ; }
function cpd() { cp -avr $1 $2 ; } function cpd() { cp -avr $1 $2 ; }
# extract tar archive # extract tar archive
function untar() { tar -xzvf $1 && rm $1; }
function utar() { tar -xzvf $1 && rm $1; }
function rzip() { unzip $1 && rm $1; } function rzip() { unzip $1 && rm $1; }
function lzip() { unzip -l $1 | less; } function lzip() { unzip -l $1 | less; }
alias mkpk="makepkg -sri" alias mkpk="makepkg -sri"
alias mkex="chmod 777" 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 # # }}} command line related #

38
configs/neofetch/config.conf

@ -1,3 +1,5 @@
# header {{{ #
# Neofetch config file # Neofetch config file
# https://github.com/dylanaraps/neofetch # https://github.com/dylanaraps/neofetch
@ -8,36 +10,47 @@ print_info() {
info title info title
info underline info underline
info "OS" distro
# }}} header #
# enabled {{{ #
info "Kernel" kernel
info "Terminal" term info "Terminal" term
info "Terminal Font" term_font info "Terminal Font" term_font
info "Shell" shell info "Shell" shell
# info "Font" font
info "Packages" packages info "Packages" packages
info "WM" wm info "WM" wm
info "WM Theme" wm_theme info "WM Theme" wm_theme
# info "Font" font
# info "Theme" theme # info "Theme" theme
# info "Icons" icons # info "Icons" icons
info "CPU" cpu info "CPU" cpu
info "CPU Usage" cpu_usage
info "GPU" gpu info "GPU" gpu
# info "CPU Usage" cpu_usage
info "GPU Driver" gpu_driver # Linux only
info "Memory" memory info "Memory" memory
info "Disk" disk info "Disk" disk
info "Resolution" resolution info "Resolution" resolution
# info "Uptime" uptime
info "Install Date" install_date
info "Song" song info "Song" song
# info "Install Date" install_date
# }}} enabled #
# others {{{ #
# info "Host" model
# info "Uptime" uptime
# info "DE" de
# info "Users" users # info "Users" users
# info "Host" model
# info "Kernel" kernel
# info "DE" de
# info "GPU Driver" gpu_driver # Linux only
# info "Battery" battery # info "Battery" battery
# info "Local IP" local_ip # info "Local IP" local_ip
# info "Public IP" public_ip # info "Public IP" public_ip
# info "Locale" locale # This only works on glibc systems. # info "Locale" locale # This only works on glibc systems.
# }}} others #
# options {{{ #
info line_break info line_break
info cols info cols
info line_break info line_break
@ -136,7 +149,8 @@ shell_version="on"
# Flag: --speed_type # Flag: --speed_type
# Supports: Linux with 'cpufreq' # Supports: Linux with 'cpufreq'
# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. # 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 # CPU speed shorthand
# #
@ -202,7 +216,7 @@ cpu_cores="logical"
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' # C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' # F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
# off: 'Intel i7-6500U (4) @ 3.1GHz' # off: 'Intel i7-6500U (4) @ 3.1GHz'
cpu_temp="off"
cpu_temp="on"
# GPU # GPU
@ -732,3 +746,5 @@ stdout="off"
# NOTE: Don't change this value, neofetch reads this to determine # NOTE: Don't change this value, neofetch reads this to determine
# how to handle backwards compatibility. # how to handle backwards compatibility.
config_version="3.3.0" config_version="3.3.0"
# }}} options #

6
scripts/burn-iso.sh

@ -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
txt/key_files.txt

@ -4,6 +4,7 @@
d ~/linux-config/txt/key_dirs.txt d ~/linux-config/txt/key_dirs.txt
f ~/linux-config/txt/key_files.txt f ~/linux-config/txt/key_files.txt
i ~/.config/i3blocks/i3blocks.conf i ~/.config/i3blocks/i3blocks.conf
p ~/linux-config/txt/pacman-pkgs/auto-pacman-pkgs.txt
r ~/.config/ranger/rc.conf r ~/.config/ranger/rc.conf
sr ~/linux-config/configs/ranger/shortcuts.conf sr ~/linux-config/configs/ranger/shortcuts.conf
ss ~/.shortcuts ss ~/.shortcuts
@ -19,7 +20,8 @@ z ~/linux-config/aliases/zsh_aliases
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
jn ~/Documents/journal/todo/11.md jn ~/Documents/journal/todo/11.md
jnt ~/Documents/journal/todo/todo.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 tm ~/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets
# }}} cdn * # }}} cdn *

2
txt/pacman-pkgs/auto-pacman-pkgs.txt

@ -39,7 +39,7 @@ redshift
sed sed
sudo sudo
tar tar
udiskie
udisks2
unzip unzip
vi vi
wireless_tools wireless_tools

Loading…
Cancel
Save