changed file structure/zsh

This commit is contained in:
Harri Lahtinen 2020-01-06 18:02:24 +02:00
parent d0bc599feb
commit 813196e603
6 changed files with 44 additions and 7 deletions

View File

@ -10,7 +10,7 @@ gaps inner 15
gaps outer 15
font pango:Ubuntu Mono derivative Powerline 10
set $mod Mod4
set $term st
set $term --no-startup-id $TERMINAL
# Smart gaps (gaps used if only more than one container on the workspace)
smart_gaps on

View File

@ -10,7 +10,7 @@ gaps inner 15
gaps outer 15
font pango:Ubuntu Mono derivative Powerline 10
set $mod Mod4
set $term st
set $term --no-startup-id $TERMINAL
# Smart gaps (gaps used if only more than one container on the workspace)
smart_gaps on

View File

@ -5,10 +5,10 @@ background_color={color0}
bounce=true
bounce_duration=500
font=Ubuntu Mono derivative Powerline
font_size=24
font_size=12
font_variant=medium
foreground_color=#999999
height=32
height=16
in_animation=38
in_animation_duration=2000
max_length=-1

36
.profile Normal file
View File

@ -0,0 +1,36 @@
#ZSH-env
ZDOTDIR=$HOME
# display
export DEFAULT_USER="hate"
export VDPAU_DRIVER="va_gl"
export LIBVA_DRIVER_NAME="iHD"
export VAAPI_MPEG4_ENABLED=true
# Common apps
export ZSH=/home/hate/.oh-my-zsh
export EDITOR=nvim
export BROWSER=/usr/bin/google-chrome-stable
export GNUPGHOME="~/.gnupg"
export SSH_KEY_PATH="~/.ssh/id_rsa"
export TERMINAL="kitty"
#fzf
export FZF_CTRL_R_OPTS='--sort --exact'
export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -200'"
export FZF_DEFAULT_COMMAND='fd --type f --hidden'
export FZF_DEFAULT_OPTS="--layout=reverse --inline-info"
export FZF_CTRL_T_OPTS="--preview '(highlight -O ansi -l {} 2> /dev/null || bat {} || tree -C {}) 2> /dev/null | head -200'"
# Compilation flags
export ARCHFLAGS="-arch x86_64"
# Borg SSH
export BORG_RSH='ssh -i /home/hate/.ssh/id_ed25519'
# HiDPI
export GDK_SCALE=2
export GDK_DPI_SCALE=0.5
export QT_AUTO_SCREEN_SCALE_FACTOR=1
# QGtkStyle
export QT_QPA_PLATFORMTHEME=gtk2

View File

@ -12,6 +12,7 @@ export EDITOR=nvim
export BROWSER=/usr/bin/google-chrome-stable
export GNUPGHOME="~/.gnupg"
export SSH_KEY_PATH="~/.ssh/id_rsa"
export TERMINAL="kitty"
#fzf
export FZF_CTRL_R_OPTS='--sort --exact'

6
.zshrc
View File

@ -14,9 +14,9 @@ if [ -r $HOME/.zaliases ] ; then
source $HOME/.zaliases
fi
if [ -r $HOME/.zshenv ] ; then
source $HOME/.zshenv
fi
#if [ -r $HOME/.zshenv ] ; then
# source $HOME/.zshenv
#fi
ZSH_THEME="agnoster"