Browse Source

Added pacman package installation script

Updated pacman packages lists.
red-hat-laptop
Kevin Mok 6 years ago
parent
commit
60c0e48e04
  1. 20
      README.md
  2. 13
      configs/set-configs.sh
  3. 27
      dotfiles/set-dotfiles.sh
  4. 7
      scripts/dirs.sh
  5. 3
      scripts/install-pacman-pkgs.sh
  6. 0
      setup-root.sh
  7. 8
      txt/pacman-pkgs/auto-pacman-pkgs.txt
  8. 4
      txt/pacman-pkgs/manual-pacman-pkgs.txt
  9. 163
      txt/pacman-pkgs/nzxt-pkgs.txt
  10. 13
      x/marble-mouse/set-config.sh

20
README.md

@ -11,23 +11,19 @@ are also for my Linux
<!--- Basic Info {{{ -->
## Basic Info
* **OS**: [Arch Linux](https://www.archlinux.org/)
* **Terminal**: [urxvt](https://www.wikiwand.com/en/Rxvt)
* **Shell**: [Zsh](http://zsh.sourceforge.net/)
* **WM**: [i3-gaps](https://github.com/Airblader/i3)
* **Editor**: [Neovim](https://github.com/neovim/neovim)
* **File Explorer**: [ranger](https://ranger.github.io/)
* [Packages I Use](https://github.com/Kevin-Mok/linux-config/blob/master/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))
* **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)
* **Editor**: [Neovim](https://github.com/neovim/neovim) ([plugins](https://github.com/Kevin-Mok/linux-config/blob/master/dotfiles/vimrc#L51))
* **File Manager**: [ranger](https://ranger.github.io/)
<!--- }}} Basic Info -->
<!--- Setup {{{ -->
## Setup
I wrote a couple simple scripts
([`set-configs.sh`](https://github.com/Kevin-Mok/linux-config/blob/master/configs/set-configs.sh) &
[`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
I wrote [a script](https://github.com/Kevin-Mok/linux-config/blob/master/setup.sh) to
symbolically link the files/directories in the repository to the locations
they should be in the system.
<!--- }}} Setup -->

13
configs/set-configs.sh

@ -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

27
dotfiles/set-dotfiles.sh

@ -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 #

7
scripts/dirs.sh

@ -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

@ -0,0 +1,3 @@
#!/bin/bash
sudo pacman -Sy --needed - < ../txt/pacman-pkgs/auto-pacman-pkgs.txt

0
root-setup.sh → setup-root.sh

8
txt/pacman-pkgs.txt → txt/pacman-pkgs/auto-pacman-pkgs.txt

@ -1,11 +1,9 @@
alsa-utils
bc
chromium
cmake
dhcpcd
dialog
dmenu
eog
fakeroot
feh
findutils
@ -13,7 +11,6 @@ fzf
git
grep
grub
gscreenshot
htop
i3-gaps
i3blocks
@ -23,8 +20,6 @@ less
linux
linux-firmware
linux-headers
linux-lts
linux-lts-headers
lolcat
make
neofetch
@ -38,11 +33,9 @@ pulseaudio
python-pip
python-pywal
python-setuptools
python2-pip
python-dbus
ranger
redshift
rxvt-unicode
sed
sudo
tar
@ -50,7 +43,6 @@ udiskie
unzip
vi
wireless_tools
wpa_actiond
wpa_supplicant
xclip
zsh

4
txt/pacman-pkgs/manual-pacman-pkgs.txt

@ -0,0 +1,4 @@
gscreenshot
rxvt-unicode-pixbuf
rxvt-unicode-pixbuf
Hack NF

163
txt/pacman-pkgs/nzxt-pkgs.txt

@ -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

13
x/marble-mouse/set-config.sh

@ -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"
Loading…
Cancel
Save