Improved README and added warp directories.

clean_emacs
TuDatTr 2018-01-07 02:33:13 +01:00
parent a41ef9e5be
commit 3fd99c7b54
No known key found for this signature in database
GPG Key ID: 6B2AC5D2CAECE06A
4 changed files with 36 additions and 21 deletions

View File

@ -1,7 +1,5 @@
#!/bin/bash
notify-send "Copying files..."
# A script to manage my dotfiles and copy them to my git
dotfiles=$HOME/workspace/Git/TuDatTr/dotfiles
@ -12,6 +10,8 @@ copy(){
rsync -a $HOME/$1 $dotfiles/$1
}
notify-send "Copied dotfiles."
# i3 gaps
# Powerline fonts must be installed
printf "\nCopying i3 configs...\n"

0
.scripts/i3lock.py Normal file → Executable file
View File

4
.warprc Executable file → Normal file
View File

@ -1,4 +1,2 @@
mg:~/workspace/Git/TuDatTr
infragit:~/workspace/Git
protokollv:~/workspace/Git/allgemein/Vorlagen/Protokoll_Vorlage
snippets:~/.emacs.d/snippets
dotfiles:~/workspace/Git/TuDatTr/dotfiles

View File

@ -12,15 +12,23 @@ I'm using:
## Getting Started
### Setting up zsh as default shell.
```
chsh -s /bin/zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
cp -r /usr/share/zsh-theme-powerlevel9k ~/.oh-my-zsh/themes/powerlevel9k
rm -rf ~/.*bash* # remove bash-stuff from your home directory.. don't do it if you wanna keep using bash
```
### Prerequisites
* emacs
* git
* python-pip
* texlive-most
* firefox - Install whatever you like, but you might need to change it up in the .config/i3/config.
* thunderbird - Install whatever you like, but you might need to change it up in the .config/i3/config.
* termite - Prefered terminal emulator, since urxvt can't handle powerline well.
* powerline-fonts - Powerline fonts for the Powerlevel9k-theme
* awesome-terminal-fonts - Font to display cool icons like: , ,  or . Necessary for powerlevel9k.
* zsh-theme-powerlevel9k - Powerlevel9k-theme for zsh
* evince - pdf viewer, default to view compiled LaTeX-files with auctex(emacs plugin)
* palemoon-bin - Not needed anymore, if you got Firefox.
* i3lock-color - Needed for ~/.scripts/i3lock.py
### Install needed packages/uninstall unnecessary ones.
```
sudo pacman -Syu
sudo pacman -S emacs git termite python-pip zsh-theme-powerlevel9k powerline-fonts awesome-terminal-fonts texlive-most firefox thunderbird evince
@ -28,8 +36,17 @@ sudo pacman -R palemoon-bin
yaourt -S i3lock-color
```
### Setting up zsh as default shell.
```
chsh -s /bin/zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" # Downloading/Installing oh-my-zsh
cp -r /usr/share/zsh-theme-powerlevel9k ~/.oh-my-zsh/themes/powerlevel9k # copying powerlevel9k-theme to the desired directory
rm -rf ~/.*bash* # remove bash-stuff from your home directory.. don't do it if you wanna keep using bash
```
### For Emacs
If you have a clear emacs installation you need to add the following snippet to your ~/.emacs file first.
If you have a clean emacs installation you need to add the following snippet to your ~/.emacs file first.
This enables simple package installation.
```
(package-initialize)
(when (>= emacs-major-version 24)
@ -43,6 +60,7 @@ If you have a clear emacs installation you need to add the following snippet to
```
Afterwards you can do this, to get some neat packages.
More information on the following packages can be found inside of my .emacs file.
Open emacs and do the following:
(M = <Alt>/<Meta>)
```
@ -58,26 +76,25 @@ M-x package-install rainbow-mode
You can browse some more packages by entering this `M-x package-list-packages` in emacs.
If you're using elpy you might want to do this.
```pip install --user ~/dotfiles/requirements.txt```
### Setups
Setting up some programs.
#### Installing Nextcloud-Client
```
wget https://download.nextcloud.com/desktop/releases/Linux/Nextcloud-2.3.3-x86_64.AppImage -o ~/Downloads/
wget https://download.nextcloud.com/desktop/releases/Linux/Nextcloud-2.3.3-x86_64.AppImage --P ~/Downloads/
chmod +x ~/Downloads/Nextcloud-2.3.3-x86_64.AppImage
sudo ln -s ~/Downloads/Nextcloud-2.3.3-x86_64.AppImage /usr/bin/nextcloud
```
#### Finally *installing* the dotfiles.
#### Finally *"installing"* the dotfiles.
```
git clone https://github.com/TuDatTr/dotfiles
cp -r ./dotfiles .
cp -r ./dotfiles/.* ~/.
rm -rf ~/.i3/
sudo ln -s ~/.scripts/pipes.sh /usr/local/bin/pipes
```
If you're using elpy you might want to do this.
```pip install -r --user ~/dotfiles/requirements.txt```
# Author
* Tuan-Dat Tran - [TuDatTr](https://github.com/tudattr/)