Update README.md

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2018-12-14 16:22:51 +01:00
parent cf0215f422
commit 5e08d969eb
8 changed files with 52 additions and 16 deletions

View file

@ -42,3 +42,47 @@ This folder contains a bunch of scripts that I use. Some of them are used by Pol
### `dconf` ### `dconf`
This folder contains my configurations that are stored in dconf by applications. These are getting loaded on boot in `.bash_profile`. This folder contains my configurations that are stored in dconf by applications. These are getting loaded on boot in `.bash_profile`.
### `.aliases`
This file contains my aliases that I use on a regular basis. I also use it to replace some standard commands wiht alternatives, like using `exa` instead of `ls`.
### `.bash_logout`
This file contains code that gets executed when the shell is existed.
### `.bash_profile`
This file contains code that gets executed when a login shell is started.
### `.bashrc`
This file contains code that gets executed when a new shell is started.
### `.dircolors`
This file contains my used color scheme for `ls`.
### `.env`
This file contains my used environment variables.
### `.gitconfig`
This file contains my git configuration.
### `.gtkrc-2.0`
This file contains the GTK 2 configuration. This file is created by LXAppearance just like the GTK 3 configuration. I don't edit things in this file directly.
### `.gtkrc-2.0.mine`
This file is used for my custom GTK 2 configuration. This file gets included in `.gtkrc-2.0`.
### `.keyleds`
This file contains the configuration for my keyboard backlight.
### `.vimrc`
This file contains my [vim](https://www.vim.org/) configuration.
### `.xinitrc`
This file is called when a new x-server is started manually. It loads the contents of `.xsetup` and then starts i3.
### `.xprofile`
This file is used by LightDM to load my normal `.bash_profile` file and `.xsetup`.
### `.Xresources`
This file currently contains my color configuration for [Rofi](https://github.com/DaveDavenport/rofi).
### `.xsetup`
This file contains code that I need on start. That's why it's sourced by both `.xinitrc` and `.xprofile`. This way I only need to write this code once.

View file

@ -16,8 +16,7 @@
alias cls="clear" alias cls="clear"
# Alias for using exa as ls replacement # Alias for using exa as ls replacement
alias ls="exa -al" alias ls="exa -l"
alias ll="exa -al"
# Alias for using ripgrep as grep replacement # Alias for using ripgrep as grep replacement
alias grep="rg -n" alias grep="rg -n"

View file

@ -13,6 +13,6 @@
# This script is automatically executed when the login shell exits. # This script is automatically executed when the login shell exits.
# Clear console output # Clear console output
if [ "$SHLVL" = 1 ]; then if [ "${SHLVL}" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi fi

View file

@ -17,13 +17,6 @@ shopt -s histappend
shopt -s checkwinsize shopt -s checkwinsize
shopt -s globstar shopt -s globstar
# set a fancy prompt (non-color, unless we know we "want" color)
#case "$TERM" in
# xterm|xterm-color|*-256color) color_prompt=yes;;
#esac
#unset color_prompt force_color_prompt
# Enable color support of ls # Enable color support of ls
if [ -f "${HOME}/.dircolors" ]; then if [ -f "${HOME}/.dircolors" ]; then
dircolors -b "${HOME}/.dircolors" > /dev/null 2>&1 dircolors -b "${HOME}/.dircolors" > /dev/null 2>&1

View file

@ -64,8 +64,8 @@ bindsym $mod+a focus parent
#bindsym $mod+d focus child #bindsym $mod+d focus child
# Set monitor names # Set monitor names
set $output1 HDMI1 set $output1 HDMI-1
set $output2 eDP1 set $output2 eDP-1
# Set workspace titles # Set workspace titles
set $workspace1 "1: " set $workspace1 "1: "

View file

@ -3,7 +3,7 @@ background = #222D32
foreground = #A1B0B8 foreground = #A1B0B8
[bar/top] [bar/top]
monitor = HDMI1 monitor = HDMI-1
width = 100% width = 100%
height = 35 height = 35
offset-x = 0 offset-x = 0
@ -33,7 +33,7 @@ tray-position = right
[bar/top2] [bar/top2]
inherit = bar/top inherit = bar/top
monitor = eDP1 monitor = eDP-1
[module/i3] [module/i3]

View file

@ -13,4 +13,4 @@
# USAGE: # USAGE:
# ./resolution.sh # ./resolution.sh
xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --output HDMI3 --off --output HDMI2 --off --output HDMI1 --mode 1280x1024 --pos 80x56 --rotate normal --output eDP1 --primary --mode 1920x1080 --pos 1360x0 --rotate normal --output DP3 --off --output DP2 --off --output DP1 --off xrandr --output HDMI3 --off --output HDMI2 --off --output HDMI-1 --mode 1280x1024 --pos 80x56 --rotate normal --output eDP-1 --primary --mode 1920x1080 --pos 1360x0 --rotate normal --output DP3 --off --output DP2 --off --output DP1 --off

View file

@ -15,5 +15,5 @@
. utils.sh . utils.sh
print_header "Update packages" print_header "Update packages"
aurman -Syuu --rebuild aurman -Syu --rebuild
npm update -g npm update -g