Add new config files

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-04-01 15:18:13 +02:00
parent d674625594
commit 9c21c43382
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
8 changed files with 42 additions and 6 deletions

View file

@ -54,10 +54,12 @@ LINKED_FILES_HOME=(
".config/polybar" ".config/polybar"
".config/python" ".config/python"
".config/redshift" ".config/redshift"
".config/sqlite3"
".config/streamlink" ".config/streamlink"
".config/task" ".config/task"
".config/termite" ".config/termite"
".config/Trolltech.conf" ".config/Trolltech.conf"
".config/user-dirs.dirs"
".config/vim" ".config/vim"
".config/vue" ".config/vue"
".config/wget" ".config/wget"
@ -65,6 +67,8 @@ LINKED_FILES_HOME=(
".config/zathura" ".config/zathura"
".config/zsh" ".config/zsh"
".local/bin" ".local/bin"
".local/share/applications/vim.desktop"
".local/share/gnupg/gpg-agent.conf"
) )
# Symlinks which will be created # Symlinks which will be created

View file

@ -16,6 +16,7 @@
# XDG Overrides for unsupported programs # XDG Overrides for unsupported programs
export HTTPIE_CONFIG_DIR="${XDG_CONFIG_HOME}/httpie" export HTTPIE_CONFIG_DIR="${XDG_CONFIG_HOME}/httpie"
export WGETRC="${XDG_CONFIG_HOME}/wget/wgetrc" export WGETRC="${XDG_CONFIG_HOME}/wget/wgetrc"
export XAUTHORITY="${HOME}/.Xauthority"
export VIMINIT=":source ${XDG_CONFIG_HOME}/vim/vimrc" export VIMINIT=":source ${XDG_CONFIG_HOME}/vim/vimrc"
export CARGO_HOME="${XDG_DATA_HOME}/cargo" export CARGO_HOME="${XDG_DATA_HOME}/cargo"
export RUSTUP_HOME="${XDG_DATA_HOME}/rustup" export RUSTUP_HOME="${XDG_DATA_HOME}/rustup"

View file

@ -29,7 +29,7 @@
a = add --all a = add --all
# Create a commit and sign it off # Create a commit and sign it off
c = commit -s -S c = commit -s
# Push to the master branch of the origin remote # Push to the master branch of the origin remote
p = push --follow-tags p = push --follow-tags
@ -50,6 +50,9 @@
[push] [push]
default = upstream default = upstream
[commit]
gpgsign = true
[url "git@gitlab.com:severinkaderli/"] [url "git@gitlab.com:severinkaderli/"]
insteadOf = gl: insteadOf = gl:

View file

@ -0,0 +1,4 @@
.headers on
.nullvalue NULL
.mode column
pragma foreign_keys = on;

View file

@ -0,0 +1,15 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"
XDG_DESKTOP_DIR="$HOME"
XDG_TEMPLATES_DIR="$HOME"
XDG_PUBLICSHARE_DIR="$HOME"

View file

@ -40,11 +40,8 @@ case "${SELECTION}" in
screenlock screenlock
;; ;;
"5") "5")
gksudo "cpupower frequency-set -g performance" gksu "cpupower frequency-set -g performance"
optirun -b primus nvidia-settings -a '[gpu:0]/GPUPowerMizerMode=2' -c :8 > /dev/null
;; ;;
"6") "6")
gksudo "cpupower frequency-set -g powersave" gksu "cpupower frequency-set -g powersave"
optirun -b primus nvidia-settings -a '[gpu:0]/GPUPowerMizerMode=0' -c :8 > /dev/null
;;
esac esac

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Name=Vim
GenericName=Text Editor
Comment=Vim in Termite
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
Icon=gvim
Exec=termite -e "vim %f"
Type=Application
Terminal=false
Categories=Development;TextEditor;
Keywords=Text;Editor;

View file

@ -0,0 +1 @@
default-cache-ttl 3600