Compare commits

..

5 Commits

9 changed files with 188 additions and 7 deletions

View File

@ -9,8 +9,6 @@ alias ls='ls --color=auto'
alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '
alias ll='ls -alF'
alias sd="cd \$(find . -type d -not -path '*/.*' 2>/dev/null | sed 's/^..//' | fzf)"
alias asd="cd \$(find . -type d 2>/dev/null | sed 's/^..//' | fzf)"
alias cls="printf '\033[2J\033[3J\033[1;1H'"
export PATH=$PATH:/home/andreas/ext_sw/flutter/bin
@ -94,3 +92,5 @@ EOF
complete -F _pym_complete -o nospace -o bashdefault -o default pym
complete -F _pym_complete -o nospace -o bashdefault -o default python
source /usr/share/fzf/key-bindings.bash

View File

@ -1,6 +1,5 @@
set $mod Mod4
# exec_always "setxkbmap -layout de"
exec_always "setxkbmap -layout de -variant nodeadkeys"
exec_always "setxkbmap -layout 'de,gr,de' -variant 'nodeadkeys,basic,neo'"
include ~/.config/i3/config.d/*

View File

@ -4,3 +4,4 @@ include current-theme.conf
# END_KITTY_THEME
#
background_opacity 0.87
enable_audio_bell no

View File

@ -44,7 +44,7 @@ end
return {
{
"goolord/alpha-nvim",
event = "VimEnter",
lazy=false,
config = function()
local dashboard = require("alpha.themes.dashboard")
dashboard.section.header.val = get_random_image()

View File

@ -0,0 +1,5 @@
return {
{
'vimpostor/vim-tpipeline'
}
}

View File

@ -44,7 +44,7 @@ font-1 = "Hack Nerd Font:size=10;2"
modules-left = xwindow xworkspaces
modules-center = date
modules-right = pulseaudio memory cpu cpu-temp battery wifi
modules-right = pulseaudio memory cpu cpu-temp xkeyboard battery wifi
cursor-click = pointer
cursor-scroll = ns-resize

View File

@ -1,3 +1,5 @@
README.md
.git/
.gitignore
.git
.gitmodules

63
.tmux.conf Normal file
View File

@ -0,0 +1,63 @@
set-option -g default-shell /bin/zsh
setw -g mode-keys vi
set -g base-index 1
setw -g pane-base-index 1
set -g focus-events on
set -g status-style bg=default
set -g status-left-length 90
set -g status-right-length 90
set -g status-justify centre
## COLORSCHEME: gruvbox dark (medium)
set-option -g status "on"
# default statusbar color
set-option -g status-style bg=colour237,fg=colour223 # bg=bg1, fg=fg1
# default window title colors
set-window-option -g window-status-style bg=colour214,fg=colour237 # bg=yellow, fg=bg1
# default window with an activity alert
set-window-option -g window-status-activity-style bg=colour237,fg=colour248 # bg=bg1, fg=fg3
# active window title colors
set-window-option -g window-status-current-style bg=red,fg=colour237 # fg=bg1
# pane border
set-option -g pane-active-border-style fg=colour250 #fg2
set-option -g pane-border-style fg=colour237 #bg1
# message infos
set-option -g message-style bg=colour239,fg=colour223 # bg=bg2, fg=fg1
# writing commands inactive
set-option -g message-command-style bg=colour239,fg=colour223 # bg=fg3, fg=bg1
# pane number display
set-option -g display-panes-active-colour colour250 #fg2
set-option -g display-panes-colour colour237 #bg1
# clock
set-window-option -g clock-mode-colour colour109 #blue
# bell
set-window-option -g window-status-bell-style bg=colour167,fg=colour235 # bg=red, fg=bg
## Theme settings mixed with colors (unfortunately, but there is no cleaner way)
set-option -g status-justify "left"
set-option -g status-left-style none
set-option -g status-left-length "80"
set-option -g status-right-style none
set-option -g status-right-length "80"
set-window-option -g window-status-separator ""
set-option -g status-left "#[bg=colour241,fg=colour248] #S #[bg=colour237,fg=colour241,nobold,noitalics,nounderscore]"
set-option -g status-right "#[bg=colour237,fg=colour239 nobold, nounderscore, noitalics]#[bg=colour239,fg=colour246] %Y-%m-%d  %H:%M #[bg=colour239,fg=colour248,nobold,noitalics,nounderscore]#[bg=colour248,fg=colour237] #h "
set-window-option -g window-status-current-format "#[bg=colour214,fg=colour237,nobold,noitalics,nounderscore]#[bg=colour214,fg=colour239] #I #[bg=colour214,fg=colour239,bold] #W#{?window_zoomed_flag,*Z,} #[bg=colour237,fg=colour214,nobold,noitalics,nounderscore]"
set-window-option -g window-status-format "#[bg=colour239,fg=colour237,noitalics]#[bg=colour239,fg=colour223] #I #[bg=colour239,fg=colour223] #W #[bg=colour237,fg=colour239,noitalics]"
# vim: set ft=tmux tw=0 nowrap:

111
.zshrc Normal file
View File

@ -0,0 +1,111 @@
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt extendedglob
unsetopt beep
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/andreas/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
bindkey -v '^?' backward-delete-char
autoload -Uz vcs_info
precmd() { vcs_info }
zstyle ':vcs_info:git:*' formats '%b '
setopt PROMPT_SUBST
PROMPT='%F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ '
source /usr/share/fzf/key-bindings.zsh
alias ssh='kitty +kitten ssh'
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias ll='ls -alF'
export PATH=$PATH:/home/andreas/.local/bin
alias get-idf='. $HOME/git/esp-idf/export.sh'
alias ic='cd ~/.config/i3'
alias nc='cd ~/.config/nvim'
alias ezc='nvim ~/.zshrc'
alias ait='cd ~/Documents/kit/AIT'
alias kit='cd ~/Documents/kit'
alias eml='cd ~/Documents/kit/EMLLAB/emllab-challenge && . venv/bin/activate'
alias let='cd ~/git/ba-letter'
alias hyp='cd ~/git/HyperLink_SW'
#source /usr/share/git/completion/git-completion.zsh
#
#eval "$(thefuck --alias)"
#
#export VISUAL=nvim
#export EDITOR="$VISUAL"
#
#function pym {
# python -m $@
#}
#
#function _pym_complete {
#
# local executable current previous options
# executable=${COMP_WORDS[0]}
# current="${COMP_WORDS[COMP_CWORD]}"
# previous="${COMP_WORDS[COMP_CWORD-1]}"
#
# COMPREPLY=()
# if [[ ( "$executable" == python* && "$previous" == "-m" ) ||
# ( "$executable" == pym && ! "$current" == -* ) ]]; then
#
# options="`python <<EOF
#import os
#import pkgutil
#import sys
#current = '$current'
#if '.' in current:
# package_name = current.rsplit('.', 1)[0]
# try:
# package = __import__(package_name, fromlist=['__name__'])
# except:
# exit()
#else:
# package_name = ''
# package = None
#def walk_packages(paths, match, prefix=''):
# for loader, name, ispkg in pkgutil.iter_modules(paths, prefix):
# if not name.startswith(match):
# continue
# yield loader, name, ispkg
# if ispkg:
# for x in walk_packages([os.path.join(loader.path, name.split('.')[-1])], match, name + '.'):
# yield x
#for loader, name, ispkg in walk_packages(
# package and getattr(package, '__path__', ()),
# current,
# package_name and (package_name + '.'),
#):
# if ispkg:
# continue
# if name.endswith('.__main__'):
# print(name.rsplit('.', 1)[0])
# else:
# print(name)
#EOF
# `"
# COMPREPLY=( $(compgen -W "${options}") )
# return 0
# fi
#}
#
#complete -F _pym_complete -o nospace -o bashdefault -o default pym
#complete -F _pym_complete -o nospace -o bashdefault -o default python
#