From 5e08d969eb0ea6795bc37b7d73ab9bd6a3209319 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Fri, 14 Dec 2018 16:22:51 +0100 Subject: [PATCH] Update README.md Signed-off-by: Severin Kaderli --- README.md | 44 +++++++++++++++++++++++++++++++++++ system/.aliases | 3 +-- system/.bash_logout | 2 +- system/.bashrc | 7 ------ system/.config/i3/config | 4 ++-- system/.config/polybar/config | 4 ++-- system/bin/resolution.sh | 2 +- system/bin/upgrade.sh | 2 +- 8 files changed, 52 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index d2145a8..7e8fc16 100644 --- a/README.md +++ b/README.md @@ -42,3 +42,47 @@ This folder contains a bunch of scripts that I use. Some of them are used by Pol ### `dconf` 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. \ No newline at end of file diff --git a/system/.aliases b/system/.aliases index 09cf0e5..3694d9c 100644 --- a/system/.aliases +++ b/system/.aliases @@ -16,8 +16,7 @@ alias cls="clear" # Alias for using exa as ls replacement -alias ls="exa -al" -alias ll="exa -al" +alias ls="exa -l" # Alias for using ripgrep as grep replacement alias grep="rg -n" diff --git a/system/.bash_logout b/system/.bash_logout index 32ebbf0..bcd7759 100644 --- a/system/.bash_logout +++ b/system/.bash_logout @@ -13,6 +13,6 @@ # This script is automatically executed when the login shell exits. # Clear console output -if [ "$SHLVL" = 1 ]; then +if [ "${SHLVL}" = 1 ]; then [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q fi diff --git a/system/.bashrc b/system/.bashrc index 83dd500..c21c4ed 100644 --- a/system/.bashrc +++ b/system/.bashrc @@ -17,13 +17,6 @@ shopt -s histappend shopt -s checkwinsize 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 if [ -f "${HOME}/.dircolors" ]; then dircolors -b "${HOME}/.dircolors" > /dev/null 2>&1 diff --git a/system/.config/i3/config b/system/.config/i3/config index 08216c3..94386b7 100644 --- a/system/.config/i3/config +++ b/system/.config/i3/config @@ -64,8 +64,8 @@ bindsym $mod+a focus parent #bindsym $mod+d focus child # Set monitor names -set $output1 HDMI1 -set $output2 eDP1 +set $output1 HDMI-1 +set $output2 eDP-1 # Set workspace titles set $workspace1 "1: " diff --git a/system/.config/polybar/config b/system/.config/polybar/config index 36e95de..67e4e52 100644 --- a/system/.config/polybar/config +++ b/system/.config/polybar/config @@ -3,7 +3,7 @@ background = #222D32 foreground = #A1B0B8 [bar/top] -monitor = HDMI1 +monitor = HDMI-1 width = 100% height = 35 offset-x = 0 @@ -33,7 +33,7 @@ tray-position = right [bar/top2] inherit = bar/top -monitor = eDP1 +monitor = eDP-1 [module/i3] diff --git a/system/bin/resolution.sh b/system/bin/resolution.sh index 5d04707..420cc9a 100755 --- a/system/bin/resolution.sh +++ b/system/bin/resolution.sh @@ -13,4 +13,4 @@ # USAGE: # ./resolution.sh 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 diff --git a/system/bin/upgrade.sh b/system/bin/upgrade.sh index 0160ca1..d57e26e 100755 --- a/system/bin/upgrade.sh +++ b/system/bin/upgrade.sh @@ -15,5 +15,5 @@ . utils.sh print_header "Update packages" -aurman -Syuu --rebuild +aurman -Syu --rebuild npm update -g \ No newline at end of file