Added pacman package installation script
Updated pacman packages lists.
This commit is contained in:
20
README.md
20
README.md
@@ -11,23 +11,19 @@ are also for my Linux
|
|||||||
|
|
||||||
<!--- Basic Info {{{ -->
|
<!--- Basic Info {{{ -->
|
||||||
## Basic Info
|
## Basic Info
|
||||||
* **OS**: [Arch Linux](https://www.archlinux.org/)
|
* **OS**: [Arch Linux](https://www.archlinux.org/) ([packages](https://github.com/Kevin-Mok/linux-config/blob/master/txt/pacman-pkgs/auto-pacman-pkgs.txt))
|
||||||
* **Terminal**: [urxvt](https://www.wikiwand.com/en/Rxvt)
|
* **Terminal**: [rxvt-unicode-pixbuf](https://www.wikiwand.com/en/Rxvt)
|
||||||
* **Shell**: [Zsh](http://zsh.sourceforge.net/)
|
* **Shell**: [Zsh](http://zsh.sourceforge.net/) + [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
|
||||||
* **WM**: [i3-gaps](https://github.com/Airblader/i3)
|
* **Window Manager**: [i3wm](https://i3wm.org/) + [i3-gaps](https://github.com/Airblader/i3)
|
||||||
* **Editor**: [Neovim](https://github.com/neovim/neovim)
|
* **Editor**: [Neovim](https://github.com/neovim/neovim) ([plugins](https://github.com/Kevin-Mok/linux-config/blob/master/dotfiles/vimrc#L51))
|
||||||
* **File Explorer**: [ranger](https://ranger.github.io/)
|
* **File Manager**: [ranger](https://ranger.github.io/)
|
||||||
* [Packages I Use](https://github.com/Kevin-Mok/linux-config/blob/master/pacman-pkgs.txt)
|
|
||||||
|
|
||||||
<!--- }}} Basic Info -->
|
<!--- }}} Basic Info -->
|
||||||
|
|
||||||
<!--- Setup {{{ -->
|
<!--- Setup {{{ -->
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
I wrote a couple simple scripts
|
I wrote [a script](https://github.com/Kevin-Mok/linux-config/blob/master/setup.sh) to
|
||||||
([`set-configs.sh`](https://github.com/Kevin-Mok/linux-config/blob/master/configs/set-configs.sh) &
|
symbolically link the files/directories in the repository to the locations
|
||||||
[`set-dotfiles.sh`](https://github.com/Kevin-Mok/linux-config/blob/master/dotfiles/set-dotfiles.sh))
|
|
||||||
to symbolically link the files/directories in the repository to the locations
|
|
||||||
they should be in the system.
|
they should be in the system.
|
||||||
|
|
||||||
<!--- }}} Setup -->
|
<!--- }}} Setup -->
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Get directory variables from script.
|
|
||||||
. ../scripts/dirs.sh
|
|
||||||
# List of config dirs in system config dir that I want to link to.
|
|
||||||
config_dirs=(neofetch i3 i3blocks sam-i3blocks ranger)
|
|
||||||
# config_dirs=(neofetch i3 i3blocks ranger)
|
|
||||||
for cur_dir in $config_dirs; do
|
|
||||||
# Remove system file.
|
|
||||||
rm -rf "$sys_config_dir"/"$cur_dir"
|
|
||||||
# Link config file in repository to system config location.
|
|
||||||
ln -s "$config_dir"/"$cur_dir" "$sys_config_dir"/"$cur_dir"
|
|
||||||
done
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
#!/bin/zsh
|
|
||||||
|
|
||||||
# link files {{{ #
|
|
||||||
|
|
||||||
# Get directory variables from script.
|
|
||||||
. ../scripts/dirs.sh
|
|
||||||
# List of dotfiles I want to link to system.
|
|
||||||
dotfiles=(bashrc gitconfig inputrc imwheelrc vimrc xinitrc Xmodmap Xresources zshrc)
|
|
||||||
# cd $dot_dir
|
|
||||||
for dotfile in $dotfiles; do
|
|
||||||
# Remove system dotfile.
|
|
||||||
rm ~/."$dotfile"
|
|
||||||
# Link dotfile in repository to system dotfile.
|
|
||||||
ln -s "$dot_dir"/"$dotfile" ~/."$dotfile"
|
|
||||||
done
|
|
||||||
|
|
||||||
# }}} link files #
|
|
||||||
|
|
||||||
# setup nvim config {{{ #
|
|
||||||
|
|
||||||
orig_file="$sys_config_dir"/nvim/init.vim
|
|
||||||
# Remove system dotfile.
|
|
||||||
rm "$orig_file"
|
|
||||||
# Link dotfile in repository to system dotfile.
|
|
||||||
ln -s "$dot_dir"/nvim "$orig_file"
|
|
||||||
|
|
||||||
# }}} setup nvim config #
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
linux_config_dir=~/linux-config
|
|
||||||
dot_dir=$linux_config_dir/dotfiles
|
|
||||||
config_dir=$linux_config_dir/configs
|
|
||||||
sys_config_dir=~/.config
|
|
||||||
pc=$(hostname)
|
|
||||||
3
scripts/install-pacman-pkgs.sh
Executable file
3
scripts/install-pacman-pkgs.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo pacman -Sy --needed - < ../txt/pacman-pkgs/auto-pacman-pkgs.txt
|
||||||
@@ -1,11 +1,9 @@
|
|||||||
alsa-utils
|
alsa-utils
|
||||||
bc
|
bc
|
||||||
chromium
|
chromium
|
||||||
cmake
|
|
||||||
dhcpcd
|
dhcpcd
|
||||||
dialog
|
dialog
|
||||||
dmenu
|
dmenu
|
||||||
eog
|
|
||||||
fakeroot
|
fakeroot
|
||||||
feh
|
feh
|
||||||
findutils
|
findutils
|
||||||
@@ -13,7 +11,6 @@ fzf
|
|||||||
git
|
git
|
||||||
grep
|
grep
|
||||||
grub
|
grub
|
||||||
gscreenshot
|
|
||||||
htop
|
htop
|
||||||
i3-gaps
|
i3-gaps
|
||||||
i3blocks
|
i3blocks
|
||||||
@@ -23,8 +20,6 @@ less
|
|||||||
linux
|
linux
|
||||||
linux-firmware
|
linux-firmware
|
||||||
linux-headers
|
linux-headers
|
||||||
linux-lts
|
|
||||||
linux-lts-headers
|
|
||||||
lolcat
|
lolcat
|
||||||
make
|
make
|
||||||
neofetch
|
neofetch
|
||||||
@@ -38,11 +33,9 @@ pulseaudio
|
|||||||
python-pip
|
python-pip
|
||||||
python-pywal
|
python-pywal
|
||||||
python-setuptools
|
python-setuptools
|
||||||
python2-pip
|
|
||||||
python-dbus
|
python-dbus
|
||||||
ranger
|
ranger
|
||||||
redshift
|
redshift
|
||||||
rxvt-unicode
|
|
||||||
sed
|
sed
|
||||||
sudo
|
sudo
|
||||||
tar
|
tar
|
||||||
@@ -50,7 +43,6 @@ udiskie
|
|||||||
unzip
|
unzip
|
||||||
vi
|
vi
|
||||||
wireless_tools
|
wireless_tools
|
||||||
wpa_actiond
|
|
||||||
wpa_supplicant
|
wpa_supplicant
|
||||||
xclip
|
xclip
|
||||||
zsh
|
zsh
|
||||||
4
txt/pacman-pkgs/manual-pacman-pkgs.txt
Normal file
4
txt/pacman-pkgs/manual-pacman-pkgs.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
gscreenshot
|
||||||
|
rxvt-unicode-pixbuf
|
||||||
|
rxvt-unicode-pixbuf
|
||||||
|
Hack NF
|
||||||
163
txt/pacman-pkgs/nzxt-pkgs.txt
Normal file
163
txt/pacman-pkgs/nzxt-pkgs.txt
Normal file
@@ -0,0 +1,163 @@
|
|||||||
|
alsa-utils
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
bash
|
||||||
|
bc
|
||||||
|
bison
|
||||||
|
broadcom-wl
|
||||||
|
bzip2
|
||||||
|
chromium
|
||||||
|
chromium-widevine
|
||||||
|
cmake
|
||||||
|
colordiff
|
||||||
|
coreutils
|
||||||
|
cryptsetup
|
||||||
|
device-mapper
|
||||||
|
dhcpcd
|
||||||
|
dialog
|
||||||
|
diffutils
|
||||||
|
dmenu
|
||||||
|
e2fsprogs
|
||||||
|
fakeroot
|
||||||
|
feh
|
||||||
|
file
|
||||||
|
filesystem
|
||||||
|
findutils
|
||||||
|
flex
|
||||||
|
fzf
|
||||||
|
gawk
|
||||||
|
gcc
|
||||||
|
gcc-libs
|
||||||
|
gdb
|
||||||
|
gettext
|
||||||
|
git
|
||||||
|
glibc
|
||||||
|
grep
|
||||||
|
grub
|
||||||
|
gscreenshot
|
||||||
|
gzip
|
||||||
|
htop
|
||||||
|
i3-gaps
|
||||||
|
i3blocks
|
||||||
|
i3status
|
||||||
|
imwheel
|
||||||
|
inetutils
|
||||||
|
iniparser
|
||||||
|
iproute2
|
||||||
|
iputils
|
||||||
|
jfsutils
|
||||||
|
less
|
||||||
|
lib32-nvidia-utils
|
||||||
|
licenses
|
||||||
|
linux
|
||||||
|
linux-firmware
|
||||||
|
linux-headers
|
||||||
|
logrotate
|
||||||
|
lolcat
|
||||||
|
lsof
|
||||||
|
lvm2
|
||||||
|
make
|
||||||
|
man-db
|
||||||
|
man-pages
|
||||||
|
mdadm
|
||||||
|
nano
|
||||||
|
neofetch
|
||||||
|
neovim
|
||||||
|
netctl
|
||||||
|
noto-fonts
|
||||||
|
ntfs-3g
|
||||||
|
nvidia
|
||||||
|
pacman
|
||||||
|
patch
|
||||||
|
pciutils
|
||||||
|
perl
|
||||||
|
pkgconf
|
||||||
|
procps-ng
|
||||||
|
psmisc
|
||||||
|
pulseaudio
|
||||||
|
python-dbus
|
||||||
|
python-pip
|
||||||
|
python-pywal
|
||||||
|
python-setuptools
|
||||||
|
ranger
|
||||||
|
redshift
|
||||||
|
reiserfsprogs
|
||||||
|
rxvt-unicode-pixbuf
|
||||||
|
s-nail
|
||||||
|
sed
|
||||||
|
shadow
|
||||||
|
spotify
|
||||||
|
st
|
||||||
|
sudo
|
||||||
|
sysfsutils
|
||||||
|
sysstat
|
||||||
|
systemd-sysvcompat
|
||||||
|
tar
|
||||||
|
texinfo
|
||||||
|
ttf-dejavu
|
||||||
|
udiskie
|
||||||
|
udisks2
|
||||||
|
unzip
|
||||||
|
usbutils
|
||||||
|
util-linux
|
||||||
|
vi
|
||||||
|
w3m
|
||||||
|
which
|
||||||
|
wireless_tools
|
||||||
|
wpa_supplicant
|
||||||
|
xclip
|
||||||
|
xf86-input-evdev
|
||||||
|
xf86-input-keyboard
|
||||||
|
xf86-input-mouse
|
||||||
|
xf86-input-synaptics
|
||||||
|
xf86-input-vmmouse
|
||||||
|
xf86-input-void
|
||||||
|
xf86-video-amdgpu
|
||||||
|
xf86-video-ati
|
||||||
|
xf86-video-dummy
|
||||||
|
xf86-video-fbdev
|
||||||
|
xf86-video-intel
|
||||||
|
xf86-video-nouveau
|
||||||
|
xf86-video-openchrome
|
||||||
|
xf86-video-qxl
|
||||||
|
xf86-video-vesa
|
||||||
|
xf86-video-vmware
|
||||||
|
xf86-video-voodoo
|
||||||
|
xfsprogs
|
||||||
|
xorg-bdftopcf
|
||||||
|
xorg-iceauth
|
||||||
|
xorg-luit
|
||||||
|
xorg-mkfontdir
|
||||||
|
xorg-mkfontscale
|
||||||
|
xorg-server
|
||||||
|
xorg-sessreg
|
||||||
|
xorg-smproxy
|
||||||
|
xorg-x11perf
|
||||||
|
xorg-xbacklight
|
||||||
|
xorg-xcmsdb
|
||||||
|
xorg-xcursorgen
|
||||||
|
xorg-xdpyinfo
|
||||||
|
xorg-xdriinfo
|
||||||
|
xorg-xev
|
||||||
|
xorg-xgamma
|
||||||
|
xorg-xhost
|
||||||
|
xorg-xinit
|
||||||
|
xorg-xinput
|
||||||
|
xorg-xkbevd
|
||||||
|
xorg-xkbutils
|
||||||
|
xorg-xkill
|
||||||
|
xorg-xlsatoms
|
||||||
|
xorg-xlsclients
|
||||||
|
xorg-xpr
|
||||||
|
xorg-xprop
|
||||||
|
xorg-xrandr
|
||||||
|
xorg-xrefresh
|
||||||
|
xorg-xset
|
||||||
|
xorg-xsetroot
|
||||||
|
xorg-xvinfo
|
||||||
|
xorg-xwd
|
||||||
|
xorg-xwininfo
|
||||||
|
xorg-xwud
|
||||||
|
zathura
|
||||||
|
zathura-pdf-poppler
|
||||||
|
zsh
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Get directory variables from script.
|
|
||||||
. ../../scripts/dirs.sh
|
|
||||||
|
|
||||||
config_file_name="10-evdev.conf"
|
|
||||||
sys_layout_file="/etc/X11/xorg.conf.d/$config_file_name"
|
|
||||||
config_dir="$linux_config_dir/x/marble-mouse"
|
|
||||||
|
|
||||||
# Remove system file.
|
|
||||||
sudo rm -rf "$sys_layout_file"
|
|
||||||
# Link config file in repository to system config location.
|
|
||||||
sudo ln -s "$config_dir"/"$config_file_name" "$sys_layout_file"
|
|
||||||
Reference in New Issue
Block a user