Make further adjustments
This commit is contained in:
parent
3aaa130385
commit
c7fa14d370
8 changed files with 81 additions and 10 deletions
3
.Xmodmap
Normal file
3
.Xmodmap
Normal file
|
@ -0,0 +1,3 @@
|
|||
remove Lock = Caps_Lock
|
||||
keysym Caps_Lock = Escape
|
||||
add Lock = Caps_Lock
|
7
.bashrc
7
.bashrc
|
@ -116,14 +116,15 @@ if ! shopt -oq posix; then
|
|||
fi
|
||||
fi
|
||||
|
||||
gpgconf --kill gpg-agent
|
||||
gpg-agent --daemon
|
||||
export SSH_AUTH_SOCK=~/.gnupg/S.gpg-agent.ssh
|
||||
export SSH_AUTH_SOCK="$(gpgconf --list-dir socketdir)/S.gpg-agent.ssh"
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
export EDITOR=nvim
|
||||
export TERMINAL=gnome-terminal
|
||||
|
||||
export PATH=$HOME/bin:$HOME/.local/bin:$PATH:~/JUCE
|
||||
export JUCE_PATH=~/JUCE
|
||||
export FRUT_PATH=~/FRUT
|
||||
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
|
||||
export CXXFLAGS='-std=c++14'
|
||||
|
|
1
.config/polybar/i3
Symbolic link
1
.config/polybar/i3
Symbolic link
|
@ -0,0 +1 @@
|
|||
/home/dustvoice/Projects/dotfiles/.config/i3
|
1
.config/polybar/nitrogen
Symbolic link
1
.config/polybar/nitrogen
Symbolic link
|
@ -0,0 +1 @@
|
|||
/home/dustvoice/Projects/dotfiles/.config/nitrogen
|
|
@ -8,3 +8,5 @@
|
|||
default = simple
|
||||
[commit]
|
||||
gpgsign = true
|
||||
[gpg]
|
||||
program = gpg2
|
||||
|
|
1
.gnupg/sshcontrol
Normal file
1
.gnupg/sshcontrol
Normal file
|
@ -0,0 +1 @@
|
|||
26AACF211BE8A6FB4383ACF626B1D4394551CB84
|
14
.xinitrc
Normal file
14
.xinitrc
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
|
||||
setxkbmap de nodeadkeys
|
||||
|
||||
[ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap
|
||||
|
||||
exec i3
|
62
.zshrc
62
.zshrc
|
@ -3,18 +3,63 @@ HISTSIZE=1000
|
|||
SAVEHIST=10000
|
||||
setopt appendhistory
|
||||
|
||||
source .vim.zsh
|
||||
bindkey -v
|
||||
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
terminfo_down_sc=$terminfo[cud1]$terminfo[cud1]$terminfo[cuu1]$terminfo[cuu1]$terminfo[sc]$terminfo[cud1]$terminfo[cud1]
|
||||
#terminfo_down_sc=$terminfo[cud1]$terminfo[cuu1]$terminfo[sc]$terminfo[cud1]
|
||||
|
||||
function insert-mode () { echo "%S%F{cyan} -- INSERT -- %f%s" }
|
||||
function normal-mode () { echo "%S%F{green} -- NORMAL -- %f%s" }
|
||||
|
||||
precmd () {
|
||||
PS1="%{$terminfo_down_sc$VI_MODE$terminfo[rc]%}%F{magenta}%n%f@%F{yellow}%m%f %F{green}%~%f %(!.#.$) "
|
||||
}
|
||||
|
||||
function zle-keymap-select () {
|
||||
VI_KEYMAP=$KEYMAP
|
||||
|
||||
case ${VI_KEYMAP} in
|
||||
(vicmd) VI_MODE="$(normal-mode)" ;;
|
||||
(main|viins) VI_MODE="$(insert-mode)" ;;
|
||||
(*) VI_MODE="$(insert-mode)" ;;
|
||||
esac
|
||||
|
||||
[[ -n "$VI_MODE_KEEP_CURSOR" ]] || if [[ "$VI_KEYMAP" == "vicmd" ]]; then
|
||||
print -n '\e[1 q'
|
||||
else
|
||||
print -n '\e[5 q'
|
||||
fi
|
||||
|
||||
PS1="%{$terminfo_down_sc$VI_MODE$terminfo[rc]%}%F{magenta}%n%f@%F{yellow}%m%f %B%F{cyan}%~%f%b %(!.#.$) "
|
||||
|
||||
zle reset-prompt
|
||||
zle -R
|
||||
}
|
||||
|
||||
function zle-line-init() {
|
||||
zle -K viins
|
||||
}
|
||||
|
||||
preexec () { print -rn -- $terminfo[el]; }
|
||||
|
||||
zle -N zle-line-init
|
||||
zle -N zle-keymap-select
|
||||
|
||||
function _vi_mode_reset_cursor() {
|
||||
[[ -n "$VI_MODE_KEEP_CURSOR" ]] || print -n '\e[1 q'
|
||||
}
|
||||
autoload -U add-zsh-hook
|
||||
add-zsh-hook preexec _vi_mode_reset_cursor
|
||||
|
||||
export KEYTIMEOUT=1
|
||||
|
||||
alias ll='ls -alF'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
|
||||
# You may need to manually set your language environment
|
||||
# export LANG=en_US.UTF-8
|
||||
|
||||
export EDITOR='nvim'
|
||||
|
||||
# Compilation flags
|
||||
export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||
|
@ -26,11 +71,14 @@ export ARCHFLAGS="-arch x86_64"
|
|||
|
||||
export SSH_AUTH_SOCK="$(gpgconf --list-dir socketdir)/S.gpg-agent.ssh"
|
||||
export GPG_TTY=$(tty)
|
||||
gpg-connect-agent updatestartuptty /bye
|
||||
|
||||
export EDITOR=nvim
|
||||
export TERMINAL=gnome-terminal
|
||||
|
||||
export PATH=$HOME/bin:$HOME/.local/bin:$PATH:~/JUCE
|
||||
export JUCE_PATH=~/JUCE
|
||||
export FRUT_PATH=~/FRUT
|
||||
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
|
||||
export CXXFLAGS='-std=c++14'
|
||||
|
|
Loading…
Reference in a new issue