Multiple changes

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2018-12-09 23:35:23 +01:00
parent ac5cfa4350
commit f60c23feaa
10 changed files with 115 additions and 192 deletions

View file

@ -4,9 +4,12 @@
# Shortcut for clear because I often type the DOS command instead # Shortcut for clear because I often type the DOS command instead
alias cls="clear" alias cls="clear"
# Some aliases for ls # Use exa as ls replacement
alias ls="ls -Fhl --color=auto" alias ls="exa -al"
alias ll="ls -aFhl --color=auto" alias ll="exa -al"
# Use ripgrep as grep replacement
alias grep="rg -n"
# cd shortcut to get to my Projects folder # cd shortcut to get to my Projects folder
alias pj="cd ~/Projects" alias pj="cd ~/Projects"

View file

@ -242,7 +242,8 @@ assign [class="Nemo"] $workspace4
assign [class="discord"] $workspace5 assign [class="discord"] $workspace5
assign [class="Steam"] $workspace6 assign [class="Steam"] $workspace6
assign [class="keepassxc"] $workspace8 assign [class="keepassxc"] $workspace8
assign [class="Vlc"] $workspace9 assign [class="vlc"] $workspace9
assign [class="mpv"] $workspace9
# Disable window titlebars # Disable window titlebars
for_window [class="^.*"] border pixel 0 for_window [class="^.*"] border pixel 0

View file

@ -0,0 +1,3 @@
player=mpv
player-no-close
twitch-oauth-token=30ktx6jc273cdc9gmkb7jftny3vrgn

View file

@ -1,2 +1,2 @@
# Synchronize Google Drive # Synchronize Google Drive
*/10 * * * * grive -p $HOME/GoogleDrive/ > /dev/null 2>&1 */5 * * * * grive -p $HOME/GoogleDrive/ > /dev/null 2>&1

View file

@ -12,9 +12,9 @@ if [[ -z $1 ]]; then
fi fi
if [[ -z $2 ]]; then if [[ -z $2 ]]; then
resolution="source" resolution="best"
else else
resolution="$2" resolution="$2"
fi fi
streamlink "twitch.tv/$1" "$resolution" streamlink -v -l debug "twitch.tv/$1" "$resolution"

View file

@ -3,45 +3,51 @@
# Author: Severin Kaderli <severin.kaderli@gmail.com> # Author: Severin Kaderli <severin.kaderli@gmail.com>
# Usage: ./install.sh # Usage: ./install.sh
FILES=( FILES=(
".gitconfig" ".aliases"
".vimrc"
".bash_logout" ".bash_logout"
".bash_profile" ".bash_profile"
".bashrc" ".bashrc"
".aliases" ".config/compton.conf"
".config/dunst"
".config/i3"
".config/polybar"
".config/termite"
".config/streamlink"
".crontab"
".dircolors"
".gitconfig"
".hyper.js"
".vimrc"
".xinitrc" ".xinitrc"
".Xresources" ".Xresources"
".config/i3"
".config/termite"
".config/polybar"
".config/dunst"
".config/compton.conf"
".dircolors"
".hyper.js"
"bin" "bin"
".crontab"
) )
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
function print_header() {
echo -e "\e[32m########################################"
echo -e "# $1"
echo -e "########################################\e[39m"
}
# Install base-devel for building aur packages # Install base-devel for building aur packages
echo -e "- Installing packages" print_header "Installing packages"
sudo pacman -S git base-devel --noconfirm #sudo pacman -S git base-devel --noconfirm
# Install aurman # Install aurman
git clone https://aur.archlinux.org/aurman.git #git clone https://aur.archlinux.org/aurman.git
cd aurman #cd aurman
makepkg -si --noconfirm --skippgpcheck #makepkg -si --noconfirm --skippgpcheck
cd .. #cd ..
rm -rf aurman #rm -rf aurman
# Install packages - "yaourt -Qqe > packages.list" # Install packages
#yaourt -S --noconfirm $(cat "$DIR/yaourt/packages.list") #aurman -S --noconfirm $(cat "$DIR/packages.list")
# Install aur packages - "yaourt -Qqm > packages.aur.list" #aurman -S --noconfirm $(cat "$DIR/packages2.list")
#yaourt -S --noconfirm $(cat "$DIR/yaourt/packages.aur.list")
# Create symlinks to dotfiles # Create symlinks to dotfiles
echo -e "- Creating symlinks" print_header "Creating symlinks"
for file in "${FILES[@]}" for file in "${FILES[@]}"
do do
rm -rf "$HOME/$file" rm -rf "$HOME/$file"
@ -49,5 +55,8 @@ do
done done
# Give scripts execute permissions # Give scripts execute permissions
echo -e "- Give permissions" print_header "Give permissions"
chmod -R +x "$HOME/bin" chmod -R +x "$HOME/bin"
# TODO: Enable services
print_header "Enabling systemd services"

66
packages.list Normal file
View file

@ -0,0 +1,66 @@
adapta-gtk-theme
alsa-utils
arandr
blueman
bluez-utils
bumblebee
compton
cronie
cups
deluge
discord
dunst
exa
fakeroot
feh
filezilla
gimp
git
google-chrome-beta
grive-git
hplip
htop
i3-gaps
i3lock-fancy-git
ibus
keepassxc
light
lxappearance
mesa
mesa-demos
mpv
nemo
nodejs
pamixer
paper-icon-theme
pavucontrol
pulseaudio
pulseaudio-alsa
ripgrep
rofi
ruby
scrot
simple-scan
streamlink-git
sudo
termite
tk
ttf-arphic-uming
ttf-baekmuk
ttf-font-awesome
ttf-freefont
ttf-mac-fonts
ttf-ms-fonts
ttf-roboto
unzip
vim
visual-studio-code-bin
vlc
xorg-server
xorg-utils
xorg-xbacklight
xorg-xev
xorg-xinit
xorg-xkill
xorg-xprop
xorg-xrandr

1
packages2.list Normal file
View file

@ -0,0 +1 @@
polybar

View file

@ -1,16 +0,0 @@
adapta-gtk-theme
android-udev-git
google-chrome-beta
grive
heroku-toolbelt
hyper
i3blocks
icu57
minecraft-launcher
package-query
paper-icon-theme
ttf-font-awesome
ttf-mac-fonts
ttf-ms-fonts
yaourt
yarn

View file

@ -1,144 +0,0 @@
adapta-gtk-theme
alsa-utils
android-tools
android-udev-git
anki
apache
atom
autoconf
automake
bash
bash-completion
binutils
bison
bzip2
compton
coreutils
cronie
cryptsetup
cups
device-mapper
dhcpcd
diffutils
e2fsprogs
fakeroot
feh
file
filesystem
filezilla
findutils
firefox
flex
gawk
gcc
gcc-libs
gettext
gimp
git
glibc
gnome-keyring
gnome-terminal
google-chrome-beta
grep
grive
grub
gutenprint
gvfs
gvfs-mtp
gzip
heimdall
heroku-toolbelt
hplip
htop
hyper
i3-wm
i3blocks
i3lock
i3status
ibus-anthy
ibus-qt
inetutils
iproute2
iputils
jdk8-openjdk
jfsutils
keepassx2
less
libreoffice-fresh
libtool
licenses
linux
livestreamer
logrotate
lvm2
lxappearance
m4
make
man-db
man-pages
mariadb
mdadm
minecraft-launcher
nano
netctl
nodejs
notify-osd
npm
openssh
package-query
pacman
paper-icon-theme
patch
pavucontrol
pciutils
pcmanfm-gtk3
pcmciautils
perl
php
php-apache
picard
pkg-config
procps-ng
psmisc
pulseaudio
python-gobject
python-pillow
python-pyqt5
python-reportlab
reiserfsprogs
rofi
s-nail
scrot
sed
shadow
simple-scan
steam
sudo
sysfsutils
systemd-sysvcompat
tar
texinfo
transmission-gtk
ttf-arphic-uming
ttf-baekmuk
ttf-font-awesome
ttf-freefont
ttf-mac-fonts
ttf-ms-fonts
ttf-roboto
unzip
usbutils
util-linux
vi
vim
vlc
which
xfsprogs
xorg-server
xorg-utils
xorg-xinit
xorg-xkill
xorg-xrandr
xterm
yaourt
yarn