Move .crontab to .config/cron/crontab

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2019-02-05 15:50:14 +01:00
parent 4d9092f4b7
commit d2a27f0df5
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
8 changed files with 220 additions and 33 deletions

View file

@ -23,6 +23,12 @@ by my install script.
### `.config/autokey`
This folder contains my phrases and scripts for [AutoKey](https://github.com/autokey/autokey).
### `.config/compton`
This folder contains my [compton](https://github.com/yshui/compton/releases) configuration.
### `.config/cron`
This folder contains my crontab file.
### `.config/dconf`
This folder contains my configurations that are stored in dconf by applications. These are getting loaded on boot in `.bash_profile`.
@ -53,9 +59,6 @@ This folder contains my [Streamlink](https://streamlink.github.io/) configuratio
This folder contains my configuration for my terminal emulator
[Termite](https://github.com/thestinger/termite).
### `.config/compton`
This folder contains my [compton](https://github.com/yshui/compton/releases) configuration.
### `.config/Trolltech.conf`
This file contains my QT4 configuration.

View file

@ -36,6 +36,7 @@ LINKED_FILES_HOME=(
".bashrc"
".config/autokey"
".config/compton"
".config/cron/crontab"
".config/dconf"
".config/dunst"
".config/git"
@ -47,7 +48,6 @@ LINKED_FILES_HOME=(
".config/streamlink"
".config/termite"
".config/Trolltech.conf"
".crontab"
".dircolors"
".env"
".gtkrc-2.0.mine"
@ -83,7 +83,6 @@ do
create_directory "${dir}"
done
# Install base-devel for building aur packages
print_header "Installing packages"
#sudo pacman -S git base-devel --noconfirm
@ -96,7 +95,6 @@ print_header "Installing packages"
# Install packages
#yay -S --noconfirm $(cat "${PACKAGES_DIR}/packages.list")
#yay -S --noconfirm $(cat "${PACKAGES_DIR}/packages2.list")
print_header "Creating symlinks"
for file in "${LINKED_FILES_HOME[@]}";

View file

@ -1,74 +1,256 @@
adapta-gtk-theme
adapta-kde
adobe-source-code-pro-fonts
adobe-source-sans-pro-fonts
alsa-utils
arandr
autoconf
autokey-py3
automake
autopep8
bash
bash-completion
bbswitch
biber
binutils
bison
bless
blueman
bluez-utils
bumblebee
compton
bzip2
citra-git
citra-qt-git
cmus
composer
compton-git
coreutils
cpupower
cronie
cryptsetup
cups
cups-pdf
cutentr-git
deluge
desmume
device-mapper
dhcpcd
diffutils
discord
docker
dolphin-emu-git
dunst
e2fsprogs
efibootmgr
exa
exfat-utils
fakeroot
feh
file
filemanager-actions
filesystem
filezilla
wqy-zenhei
steam
nvidia
lib32-mesa
nvidia-utils
lib32-primus
primus
lib32-nvidia-utils
findutils
firefox
flex
flips-git
fuseiso
g810-led-git
gawk
gcc
gcc-libs
gettext
gimp
git
gksu
glibc
google-chrome-beta
gparted
gpicview-gtk3
grep
grive-git
grub
gscreenshot
gtk-engine-murrine
gtk-engines
gucharmap
guvcview
gzip
hplip
htop
i3-gaps
i3lock
i3lock-fancy-git
ibus
ibus-anthy
ibus-qt
inetutils
inotify-tools
intellij-idea-ultimate-edition
iproute2
iputils
jdk8
jfsutils
jrommanager
jstest-gtk-git
keepassxc
kvantum-theme-adapta
less
lib32-mesa
lib32-nvidia-utils
lib32-primus
lib32-virtualgl
libreoffice-fresh
licenses
light
linux
linux-firmware
logrotate
lutris-git
lvm2
lxappearance
ly-git
m4
make
man-db
man-pages
mariadb
mdadm
melonds-git
mesa
mesa-demos
mkcert
mono
mplayer
mpv
mtpfs
mupen64plus
mupen64plus-qt
nano
nemo
nemo-fileroller
nemo-share
netctl
network-manager-applet
networkmanager
nmap
nodejs
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
npm
nvidia
nvidia-settings
obs-studio
openssh
p7zip
pacman
pamixer
pandoc
pandoc-citeproc
paper-icon-theme
patch
pavucontrol
pciutils
perl
perl-archive-zip
phonon-qt4
polybar
primus
procps-ng
psmisc
pulseaudio
pulseaudio-alsa
pyside2
python-atspi
python-black
python-gspread-git
python-oauth2client
python-pycodestyle
python-pylint
python-pyqt5
python-pyusb
python-reportlab
python2-notify
qt5-styleplugins
qt5ct
qutebrowser
redshift
reiserfsprogs
ripgrep
rofi
rpcs3-git
ruby
scrot
rust-racer
rustup
s-nail
sed
shadow
shellcheck
simple-scan
steam
streamlink-git
sudo
sysfsutils
systemd-sysvcompat
tar
termite
texinfo
texlive-bibtexextra
texlive-core
texlive-fontsextra
texlive-formatsextra
texlive-games
texlive-humanities
texlive-langchinese
texlive-langcyrillic
texlive-langextra
texlive-langgreek
texlive-langjapanese
texlive-langkorean
texlive-latexextra
texlive-music
texlive-pictures
texlive-pstricks
texlive-publishers
texlive-science
tk
ttf-arphic-uming
ttf-baekmuk
tldr
ttf-croscore
ttf-dejavu
ttf-droid
ttf-fira-sans
ttf-font-awesome
ttf-freefont
ttf-hack
ttf-liberation
ttf-mac-fonts
ttf-ms-fonts
ttf-roboto
unzip
ttf-ubuntu-font-family
unrar
usbutils
util-linux
vagrant
vi
vim
virtualbox
virtualbox-host-modules-arch
visual-studio-code-bin
vlc
which
wine
winetricks
wqy-zenhei
xdelta3
xf86-video-intel
xfsprogs
xorg-server
xorg-utils
xorg-xbacklight
xorg-xev
xorg-xinit
xorg-xkill
xorg-xprop
xorg-xrandr
xpad
xreader
xwiimote-git
yay

View file

@ -1 +0,0 @@
polybar

View file

@ -23,7 +23,7 @@ fi
dconf load / < "${HOME}/.config/dconf/root.conf"
# Activate correct crontab file
crontab "${HOME}/.crontab"
crontab "${$XDG_CONFIG_HOME}/cron/crontab"
# If we are on tty1 we start the x-server
if [ "$(tty)" = "/dev/tty1" ]; then

View file

@ -17,6 +17,11 @@ shopt -s histappend
shopt -s checkwinsize
shopt -s globstar
# Sourcing environment variables
if [ -f "${HOME}/.env" ]; then
. "${HOME}/.env"
fi
# Enable color support of ls
if [ -f "${HOME}/.dircolors" ]; then
dircolors -b "${HOME}/.dircolors" > /dev/null 2>&1
@ -37,8 +42,3 @@ if [ -f "/usr/share/bash-completion/bash_completion" ]; then
. /usr/share/bash-completion/bash_completion
fi
complete -cf sudo
# Sourcing alias definitions
if [ -f "${HOME}/.env" ]; then
. "${HOME}/.env"
fi

View file

@ -1,5 +1,5 @@
# SCRIPT NAME:
# .crontab
# .config/cron/crontab
#
# AUTHOR:
# Severin Kaderli <severin.kaderli@gmail.com>

View file

@ -13,6 +13,11 @@
# This script is sourced by .bashrc
. "${HOME}/bin/utils.sh"
# XDG_Base_Directories
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
# Bash
export HISTCONTROL=ignoreboth
export HISTSIZE=1000