update dotfiles
This commit is contained in:
12
i3/config
12
i3/config
@@ -15,7 +15,7 @@
|
||||
# font
|
||||
#set $font "pango:DejaVu Sans Mono for Powerline 10"
|
||||
#set $font "pango:Source Code Pro for Powerline 10"
|
||||
set $font "pango:MesloLGS NF 10"
|
||||
set $font "pango:MesloLGS NF 11"
|
||||
font $font
|
||||
|
||||
# floating modifier
|
||||
@@ -50,10 +50,10 @@ bindsym XF86MonBrightnessDown exec "xbacklight -10"
|
||||
bindsym XF86WebCam exec /bin/cheese
|
||||
|
||||
# lenovo Key wifi-menu
|
||||
bindsym XF86Launch1 exec urxvt -e sh -c "sudo wifi-menu wlp3s0"
|
||||
#bindsym XF86Launch1 exec urxvt -e sh -c "sudo wifi-menu wlp3s0"
|
||||
|
||||
# jauth two factor authenticator
|
||||
bindsym $mod+F4 exec --no-startup-id "gnome-screenshot -w"
|
||||
#bindsym $mod+F4 exec --no-startup-id "gnome-screenshot -w"
|
||||
|
||||
# start dmenu-launcher
|
||||
bindsym $mod+d exec rofi -show drun -theme gruvbox-dark-soft -font "mono 10"
|
||||
@@ -215,7 +215,7 @@ client.urgent $red $bg2 $red $bg $red
|
||||
bar {
|
||||
font $font
|
||||
position top
|
||||
status_command /home/aaron/.cargo/bin/i3status-rs ~/.config/i3status/i3status.toml
|
||||
status_command i3status-rs ~/.config/i3status-rust/config.toml
|
||||
colors {
|
||||
background #222439 # -> BG of Wallpaper for fake transparency
|
||||
statusline $yellow
|
||||
@@ -250,8 +250,8 @@ exec --no-startup-id redshift -l 46.95:7.45 -t 6500:3000
|
||||
# no beep!
|
||||
exec --no-startup-id xset b off
|
||||
# wallpaper
|
||||
exec --no-startup-id feh --bg-fill /home/aaron/.config/wallpapers/wallpaper.png
|
||||
exec --no-startup-id feh --bg-fill /home/aaron/.config/wallpapers/gentoo.jpg
|
||||
# syncthing
|
||||
exec --no-startup-id syncthing --no-browser
|
||||
# use lockscreen as screensaver (needs xss-lock installed)
|
||||
#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -c000000 --nofork
|
||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -c000000 --nofork
|
||||
|
||||
75
i3status-rust/config.toml
Normal file
75
i3status-rust/config.toml
Normal file
@@ -0,0 +1,75 @@
|
||||
# vim: ts=2 sw=2 et ft=toml
|
||||
|
||||
[theme]
|
||||
name = "gruvbox-dark"
|
||||
|
||||
[icons]
|
||||
name = "awesome5"
|
||||
|
||||
[icons.overrides]
|
||||
cpu = " "
|
||||
|
||||
[[block]]
|
||||
block = "custom"
|
||||
command = "if [[ $(date +'%H') < 16 ]]; then; echo '☕'; else; echo '🍺'; fi"
|
||||
interval = 10
|
||||
|
||||
[[block]]
|
||||
block = "disk_space"
|
||||
path = "/"
|
||||
info_type = "free"
|
||||
format = "{icon} {free}"
|
||||
unit = "GB"
|
||||
|
||||
[[block]]
|
||||
block = "net"
|
||||
device = "enp0s31f6"
|
||||
format = "{ip}"
|
||||
interval = 1
|
||||
hide_inactive = true
|
||||
|
||||
[[block]]
|
||||
block = "net"
|
||||
device = "enp10s0u1"
|
||||
format = "{ip}"
|
||||
interval = 1
|
||||
hide_missing = true
|
||||
hide_inactive = true
|
||||
|
||||
[[block]]
|
||||
block = "net"
|
||||
device = "wlp0s20f3"
|
||||
format = "{ip}"
|
||||
interval = 1
|
||||
hide_missing = true
|
||||
hide_inactive = true
|
||||
|
||||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 1
|
||||
format = "{barchart}"
|
||||
|
||||
[[block]]
|
||||
block = "sound"
|
||||
step_width = 1
|
||||
|
||||
[[block]]
|
||||
block = "music"
|
||||
buttons = ["play", "next"]
|
||||
|
||||
[[block]]
|
||||
block = "temperature"
|
||||
collapsed = true
|
||||
interval = 10
|
||||
format = "{min} min, {max} max, {average} avg"
|
||||
|
||||
[[block]]
|
||||
block = "battery"
|
||||
interval = 10
|
||||
format = "{percentage} {time}"
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
format = "%A %v %T"
|
||||
timezone = "Europe/Zurich"
|
||||
interval = 1
|
||||
11
vimrc
11
vimrc
@@ -1,12 +1,5 @@
|
||||
set nocompatible
|
||||
|
||||
" Pluigin installation using vim-plug "
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'morhetz/gruvbox'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
call plug#end()
|
||||
|
||||
" Tabstop, Shiftwith and replace tabs with spaces but not in makefiles "
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
||||
@@ -17,6 +10,10 @@ autocmd FileType make set noexpandtab
|
||||
autocmd BufNewFile,BufRead *.md set ft=markdown tw=79
|
||||
autocmd BufNewFile,BufRead *.tex set ft=tex tw=79
|
||||
autocmd BufNewFile,BufRead *.txt set ft=sh tw=79
|
||||
autocmd BufNewFile,BufRead *.py set ft=python ts=4 sw=4 tw=88 et
|
||||
|
||||
" automatically load all installed plugins in ~/.vim/pack "
|
||||
packloadall
|
||||
|
||||
" Syntaxhighlighting, colorscheme, linenumbers "
|
||||
syntax on
|
||||
|
||||
43
zshrc
43
zshrc
@@ -1,17 +1,17 @@
|
||||
# path
|
||||
export PATH=/home/aaron/.cargo/bin:$PATH
|
||||
|
||||
# Syntax highlighting
|
||||
source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh
|
||||
source /home/$USER/.oh-my-zsh/oh-my-zsh.sh
|
||||
|
||||
# Don't try to display a fancy theme in a tty
|
||||
if [[ $TERM == "linux" ]] || [[ $TERM == "screen" ]] || [[ $TERM == "xterm" ]] ; then
|
||||
# Dont try to display a fancy theme in a tty
|
||||
if [[ $TERM == "linux" ]] || [[ $TERM == "screen" ]]; then
|
||||
[[ ! -f ~/.p10k-portable.zsh ]] || source ~/.p10k-portable.zsh
|
||||
else
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
fi
|
||||
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
# Move one word left or right using alt
|
||||
bindkey "[D" backward-word
|
||||
bindkey "^[h" backward-word
|
||||
@@ -26,6 +26,9 @@ alias showip="ip --brief a"
|
||||
alias ssh='TERM=xterm ssh'
|
||||
alias ll="ls -l"
|
||||
|
||||
# Lines configured by zsh-newuser-install
|
||||
bindkey -e
|
||||
|
||||
# History config
|
||||
HIST_IGNORE_DUPS="true"
|
||||
HIST_STAMPS="mm/dd/yyyy"
|
||||
@@ -38,22 +41,12 @@ setopt SHARE_HISTORY
|
||||
autoload -Uz compinit; compinit
|
||||
zstyle ':completion:*' menu select
|
||||
|
||||
# oh-my-zsh configs
|
||||
DIASBLE_AUTO_TITLE="true"
|
||||
DISABLE_AUTO_UPDATE="false"
|
||||
UPDATE_ZSH_DAYS=5
|
||||
# End of lines configured by zsh-newuser-install
|
||||
# The following lines were added by compinstall
|
||||
zstyle :compinstall filename '/home/aaron/.zshrc'
|
||||
|
||||
# oh-my-zsh plugins
|
||||
#plugins=(
|
||||
# ssh-agent
|
||||
# gpg-agent
|
||||
#)
|
||||
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
|
||||
# End of lines added by compinstall
|
||||
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
Reference in New Issue
Block a user