mirror of
https://github.com/Ascyii/dotfiles.git
synced 2026-01-01 06:54:24 -05:00
Initial commit
This commit is contained in:
BIN
home/.Xauthority
Normal file
BIN
home/.Xauthority
Normal file
Binary file not shown.
248
home/.Xmodmap
Normal file
248
home/.Xmodmap
Normal file
@@ -0,0 +1,248 @@
|
||||
keycode 8 =
|
||||
keycode 9 = Caps_Lock NoSymbol Caps_Lock
|
||||
keycode 10 = 1 exclam 1 exclam
|
||||
keycode 11 = 2 at 2 at
|
||||
keycode 12 = 3 numbersign 3 numbersign
|
||||
keycode 13 = 4 dollar 4 dollar
|
||||
keycode 14 = 5 percent 5 percent
|
||||
keycode 15 = 6 asciicircum 6 asciicircum
|
||||
keycode 16 = 7 ampersand 7 ampersand
|
||||
keycode 17 = 8 asterisk 8 asterisk
|
||||
keycode 18 = 9 parenleft 9 parenleft
|
||||
keycode 19 = 0 parenright 0 parenright
|
||||
keycode 20 = minus underscore minus underscore
|
||||
keycode 21 = equal plus equal plus
|
||||
keycode 22 = BackSpace BackSpace BackSpace BackSpace NoSymbol NoSymbol Terminate_Server
|
||||
keycode 23 = Tab ISO_Left_Tab Tab ISO_Left_Tab
|
||||
keycode 24 = q Q q Q
|
||||
keycode 25 = w W w W
|
||||
keycode 26 = e E e E
|
||||
keycode 27 = r R r R
|
||||
keycode 28 = t T t T
|
||||
keycode 29 = y Y y Y
|
||||
keycode 30 = u U u U
|
||||
keycode 31 = i I i I
|
||||
keycode 32 = o O o O
|
||||
keycode 33 = p P p P
|
||||
keycode 34 = bracketleft braceleft bracketleft braceleft
|
||||
keycode 35 = bracketright braceright bracketright braceright
|
||||
keycode 36 = Return NoSymbol Return
|
||||
keycode 37 = Control_L NoSymbol Control_L
|
||||
keycode 38 = a A a A
|
||||
keycode 39 = s S s S
|
||||
keycode 40 = d D d D
|
||||
keycode 41 = f F f F
|
||||
keycode 42 = g G g G
|
||||
keycode 43 = h H h H
|
||||
keycode 44 = j J j J
|
||||
keycode 45 = k K k K
|
||||
keycode 46 = l L l L
|
||||
keycode 47 = semicolon colon semicolon colon
|
||||
keycode 48 = apostrophe quotedbl apostrophe quotedbl
|
||||
keycode 49 = grave asciitilde grave asciitilde
|
||||
keycode 50 = Shift_L NoSymbol Shift_L
|
||||
keycode 51 = backslash bar backslash bar
|
||||
keycode 52 = z Z z Z
|
||||
keycode 53 = x X x X
|
||||
keycode 54 = c C c C
|
||||
keycode 55 = v V v V
|
||||
keycode 56 = b B b B
|
||||
keycode 57 = n N n N
|
||||
keycode 58 = m M m M
|
||||
keycode 59 = comma less comma less
|
||||
keycode 60 = period greater period greater
|
||||
keycode 61 = slash question slash question
|
||||
keycode 62 = Shift_R NoSymbol Shift_R
|
||||
keycode 63 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab
|
||||
keycode 64 = Alt_L Meta_L Alt_L Meta_L
|
||||
keycode 65 = space NoSymbol space
|
||||
keycode 66 = Escape NoSymbol Escape
|
||||
keycode 67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
|
||||
keycode 68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2
|
||||
keycode 69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3
|
||||
keycode 70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4
|
||||
keycode 71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5
|
||||
keycode 72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6
|
||||
keycode 73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7
|
||||
keycode 74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8
|
||||
keycode 75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9
|
||||
keycode 76 = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10
|
||||
keycode 77 = Num_Lock NoSymbol Num_Lock
|
||||
keycode 78 = Scroll_Lock NoSymbol Scroll_Lock
|
||||
keycode 79 = KP_Home KP_7 KP_Home KP_7
|
||||
keycode 80 = KP_Up KP_8 KP_Up KP_8
|
||||
keycode 81 = KP_Prior KP_9 KP_Prior KP_9
|
||||
keycode 82 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode
|
||||
keycode 83 = KP_Left KP_4 KP_Left KP_4
|
||||
keycode 84 = KP_Begin KP_5 KP_Begin KP_5
|
||||
keycode 85 = KP_Right KP_6 KP_Right KP_6
|
||||
keycode 86 = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode
|
||||
keycode 87 = KP_End KP_1 KP_End KP_1
|
||||
keycode 88 = KP_Down KP_2 KP_Down KP_2
|
||||
keycode 89 = KP_Next KP_3 KP_Next KP_3
|
||||
keycode 90 = KP_Insert KP_0 KP_Insert KP_0
|
||||
keycode 91 = KP_Delete KP_Decimal KP_Delete KP_Decimal
|
||||
keycode 92 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
|
||||
keycode 93 =
|
||||
keycode 94 = less greater less greater bar brokenbar bar
|
||||
keycode 95 = F11 F11 F11 F11 F11 F11 XF86Switch_VT_11
|
||||
keycode 96 = F12 F12 F12 F12 F12 F12 XF86Switch_VT_12
|
||||
keycode 97 =
|
||||
keycode 98 = Katakana NoSymbol Katakana
|
||||
keycode 99 = Hiragana NoSymbol Hiragana
|
||||
keycode 100 = Henkan_Mode NoSymbol Henkan_Mode
|
||||
keycode 101 = Hiragana_Katakana NoSymbol Hiragana_Katakana
|
||||
keycode 102 = Muhenkan NoSymbol Muhenkan
|
||||
keycode 103 =
|
||||
keycode 104 = KP_Enter NoSymbol KP_Enter
|
||||
keycode 105 = Control_R NoSymbol Control_R
|
||||
keycode 106 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab
|
||||
keycode 107 = Print Sys_Req Print Sys_Req
|
||||
keycode 108 = Alt_R Meta_R Alt_R Meta_R
|
||||
keycode 109 = Linefeed NoSymbol Linefeed
|
||||
keycode 110 = Home NoSymbol Home
|
||||
keycode 111 = Up NoSymbol Up
|
||||
keycode 112 = Prior NoSymbol Prior
|
||||
keycode 113 = Left NoSymbol Left
|
||||
keycode 114 = Right NoSymbol Right
|
||||
keycode 115 = End NoSymbol End
|
||||
keycode 116 = Down NoSymbol Down
|
||||
keycode 117 = Next NoSymbol Next
|
||||
keycode 118 = Insert NoSymbol Insert
|
||||
keycode 119 = Delete NoSymbol Delete
|
||||
keycode 120 =
|
||||
keycode 121 = XF86AudioMute NoSymbol XF86AudioMute
|
||||
keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume
|
||||
keycode 123 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume
|
||||
keycode 124 = XF86PowerOff NoSymbol XF86PowerOff
|
||||
keycode 125 = KP_Equal NoSymbol KP_Equal
|
||||
keycode 126 = plusminus NoSymbol plusminus
|
||||
keycode 127 = Pause Break Pause Break
|
||||
keycode 128 = XF86LaunchA NoSymbol XF86LaunchA
|
||||
keycode 129 = KP_Decimal KP_Decimal KP_Decimal KP_Decimal
|
||||
keycode 130 = Hangul NoSymbol Hangul
|
||||
keycode 131 = Hangul_Hanja NoSymbol Hangul_Hanja
|
||||
keycode 132 =
|
||||
keycode 133 = Super_L NoSymbol Super_L
|
||||
keycode 134 = Super_R NoSymbol Super_R
|
||||
keycode 135 = Menu NoSymbol Menu
|
||||
keycode 136 = Cancel NoSymbol Cancel
|
||||
keycode 137 = Redo NoSymbol Redo
|
||||
keycode 138 = SunProps NoSymbol SunProps
|
||||
keycode 139 = Undo NoSymbol Undo
|
||||
keycode 140 = SunFront NoSymbol SunFront
|
||||
keycode 141 = XF86Copy NoSymbol XF86Copy
|
||||
keycode 142 = XF86Open NoSymbol XF86Open
|
||||
keycode 143 = XF86Paste NoSymbol XF86Paste
|
||||
keycode 144 = Find NoSymbol Find
|
||||
keycode 145 = XF86Cut NoSymbol XF86Cut
|
||||
keycode 146 = Help NoSymbol Help
|
||||
keycode 147 = XF86MenuKB NoSymbol XF86MenuKB
|
||||
keycode 148 = XF86Calculator NoSymbol XF86Calculator
|
||||
keycode 149 =
|
||||
keycode 150 = XF86Sleep NoSymbol XF86Sleep
|
||||
keycode 151 = XF86WakeUp NoSymbol XF86WakeUp
|
||||
keycode 152 = XF86Explorer NoSymbol XF86Explorer
|
||||
keycode 153 = XF86Send NoSymbol XF86Send
|
||||
keycode 154 =
|
||||
keycode 155 = XF86Xfer NoSymbol XF86Xfer
|
||||
keycode 156 = XF86Launch1 NoSymbol XF86Launch1
|
||||
keycode 157 = XF86Launch2 NoSymbol XF86Launch2
|
||||
keycode 158 = XF86WWW NoSymbol XF86WWW
|
||||
keycode 159 = XF86DOS NoSymbol XF86DOS
|
||||
keycode 160 = XF86ScreenSaver NoSymbol XF86ScreenSaver
|
||||
keycode 161 = XF86RotateWindows NoSymbol XF86RotateWindows
|
||||
keycode 162 = XF86TaskPane NoSymbol XF86TaskPane
|
||||
keycode 163 = XF86Mail NoSymbol XF86Mail
|
||||
keycode 164 = XF86Favorites NoSymbol XF86Favorites
|
||||
keycode 165 = XF86MyComputer NoSymbol XF86MyComputer
|
||||
keycode 166 = XF86Back NoSymbol XF86Back
|
||||
keycode 167 = XF86Forward NoSymbol XF86Forward
|
||||
keycode 168 =
|
||||
keycode 169 = XF86Eject NoSymbol XF86Eject
|
||||
keycode 170 = XF86Eject NoSymbol XF86Eject
|
||||
keycode 171 = XF86AudioNext NoSymbol XF86AudioNext
|
||||
keycode 172 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause
|
||||
keycode 173 = XF86AudioPrev NoSymbol XF86AudioPrev
|
||||
keycode 174 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject
|
||||
keycode 175 = XF86AudioRecord NoSymbol XF86AudioRecord
|
||||
keycode 176 = XF86AudioRewind NoSymbol XF86AudioRewind
|
||||
keycode 177 = XF86Phone NoSymbol XF86Phone
|
||||
keycode 178 =
|
||||
keycode 179 = XF86Tools NoSymbol XF86Tools
|
||||
keycode 180 = XF86HomePage NoSymbol XF86HomePage
|
||||
keycode 181 = XF86Reload NoSymbol XF86Reload
|
||||
keycode 182 = XF86Close NoSymbol XF86Close
|
||||
keycode 183 =
|
||||
keycode 184 =
|
||||
keycode 185 = XF86ScrollUp NoSymbol XF86ScrollUp
|
||||
keycode 186 = XF86ScrollDown NoSymbol XF86ScrollDown
|
||||
keycode 187 = parenleft NoSymbol parenleft
|
||||
keycode 188 = parenright NoSymbol parenright
|
||||
keycode 189 = XF86New NoSymbol XF86New
|
||||
keycode 190 = Redo NoSymbol Redo
|
||||
keycode 191 = XF86Tools NoSymbol XF86Tools
|
||||
keycode 192 = XF86Launch5 NoSymbol XF86Launch5
|
||||
keycode 193 = XF86Launch6 NoSymbol XF86Launch6
|
||||
keycode 194 = XF86Launch7 NoSymbol XF86Launch7
|
||||
keycode 195 = XF86Launch8 NoSymbol XF86Launch8
|
||||
keycode 196 = XF86Launch9 NoSymbol XF86Launch9
|
||||
keycode 197 =
|
||||
keycode 198 = XF86AudioMicMute NoSymbol XF86AudioMicMute
|
||||
keycode 199 = XF86TouchpadToggle NoSymbol XF86TouchpadToggle
|
||||
keycode 200 = XF86TouchpadOn NoSymbol XF86TouchpadOn
|
||||
keycode 201 = XF86TouchpadOff NoSymbol XF86TouchpadOff
|
||||
keycode 202 =
|
||||
keycode 203 = ISO_Level5_Shift NoSymbol ISO_Level5_Shift
|
||||
keycode 204 = NoSymbol Alt_L NoSymbol Alt_L
|
||||
keycode 205 = NoSymbol Meta_L NoSymbol Meta_L
|
||||
keycode 206 = NoSymbol Super_L NoSymbol Super_L
|
||||
keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L
|
||||
keycode 208 = XF86AudioPlay NoSymbol XF86AudioPlay
|
||||
keycode 209 = XF86AudioPause NoSymbol XF86AudioPause
|
||||
keycode 210 = XF86Launch3 NoSymbol XF86Launch3
|
||||
keycode 211 = XF86Launch4 NoSymbol XF86Launch4
|
||||
keycode 212 = XF86LaunchB NoSymbol XF86LaunchB
|
||||
keycode 213 = XF86Suspend NoSymbol XF86Suspend
|
||||
keycode 214 = XF86Close NoSymbol XF86Close
|
||||
keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay
|
||||
keycode 216 = XF86AudioForward NoSymbol XF86AudioForward
|
||||
keycode 217 =
|
||||
keycode 218 = Print NoSymbol Print
|
||||
keycode 219 =
|
||||
keycode 220 = XF86WebCam NoSymbol XF86WebCam
|
||||
keycode 221 = XF86AudioPreset NoSymbol XF86AudioPreset
|
||||
keycode 222 =
|
||||
keycode 223 = XF86Mail NoSymbol XF86Mail
|
||||
keycode 224 = XF86Messenger NoSymbol XF86Messenger
|
||||
keycode 225 = XF86Search NoSymbol XF86Search
|
||||
keycode 226 = XF86Go NoSymbol XF86Go
|
||||
keycode 227 = XF86Finance NoSymbol XF86Finance
|
||||
keycode 228 = XF86Game NoSymbol XF86Game
|
||||
keycode 229 = XF86Shop NoSymbol XF86Shop
|
||||
keycode 230 =
|
||||
keycode 231 = Cancel NoSymbol Cancel
|
||||
keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown
|
||||
keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp
|
||||
keycode 234 = XF86AudioMedia NoSymbol XF86AudioMedia
|
||||
keycode 235 = XF86Display NoSymbol XF86Display
|
||||
keycode 236 = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff
|
||||
keycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown
|
||||
keycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp
|
||||
keycode 239 = XF86Send NoSymbol XF86Send
|
||||
keycode 240 = XF86Reply NoSymbol XF86Reply
|
||||
keycode 241 = XF86MailForward NoSymbol XF86MailForward
|
||||
keycode 242 = XF86Save NoSymbol XF86Save
|
||||
keycode 243 = XF86Documents NoSymbol XF86Documents
|
||||
keycode 244 = XF86Battery NoSymbol XF86Battery
|
||||
keycode 245 = XF86Bluetooth NoSymbol XF86Bluetooth
|
||||
keycode 246 = XF86WLAN NoSymbol XF86WLAN
|
||||
keycode 247 = XF86UWB NoSymbol XF86UWB
|
||||
keycode 248 =
|
||||
keycode 249 = XF86Next_VMode NoSymbol XF86Next_VMode
|
||||
keycode 250 = XF86Prev_VMode NoSymbol XF86Prev_VMode
|
||||
keycode 251 = XF86MonBrightnessCycle NoSymbol XF86MonBrightnessCycle
|
||||
keycode 252 = XF86BrightnessAuto NoSymbol XF86BrightnessAuto
|
||||
keycode 253 = XF86DisplayOff NoSymbol XF86DisplayOff
|
||||
keycode 254 = XF86WWAN NoSymbol XF86WWAN
|
||||
keycode 255 = XF86RFKill NoSymbol XF86RFKill
|
||||
1
home/.bash_profile
Normal file
1
home/.bash_profile
Normal file
@@ -0,0 +1 @@
|
||||
source .bashrc
|
||||
28
home/.bashrc
Normal file
28
home/.bashrc
Normal file
@@ -0,0 +1,28 @@
|
||||
source $HOME/.common_shell
|
||||
|
||||
# useful fror checking for nix or other
|
||||
if [ -f /etc/NIXOS ]; then
|
||||
# We're on NixOS
|
||||
eval "$(starship init bash)"
|
||||
else
|
||||
#Default prompt
|
||||
if [ -f "$HOME/programs_local/starship" ]; then
|
||||
export STARSHIP_CONFIG=~/configuration/other/starship.toml
|
||||
|
||||
eval "$(starship init bash)"
|
||||
else
|
||||
PS1='\u@\h:\w\$ '
|
||||
fi
|
||||
fi
|
||||
|
||||
export EDITOR="nvim"
|
||||
export PATH=$HOME/programs_local/:~/projects/scripts:$PATH
|
||||
|
||||
alias r="ranger"
|
||||
alias rr="yazi"
|
||||
alias oati="~/projects/scripts/oathi.sh"
|
||||
alias chch="~/projects/scripts/check_git.sh"
|
||||
alias aut="~/projects/scripts/autostart-server.sh"
|
||||
alias z="cd"
|
||||
alias tt="~/projects/scripts/find_gits.sh"
|
||||
|
||||
107
home/.common_shell
Normal file
107
home/.common_shell
Normal file
@@ -0,0 +1,107 @@
|
||||
#############################
|
||||
# common conf across shells #
|
||||
#############################
|
||||
|
||||
# Setting some aliases
|
||||
alias on="nvim ~/projects/planner/quick.md"
|
||||
alias ns="nix-shell -p "
|
||||
alias um="umount /mnt/webdav"
|
||||
alias mm="systemctl start mnt-webdav.mount"
|
||||
alias wi="wiki-tui"
|
||||
alias a="alpine"
|
||||
alias ff="~/projects/scripts/hyprfix.sh" # Fix the touchpad not working on the laptop with a simple script
|
||||
alias sp="spotify_player"
|
||||
alias ne="newsboat"
|
||||
alias po="castero"
|
||||
alias h="zsh"
|
||||
alias tw="torify w3m duckduckgo.com"
|
||||
|
||||
alias rmbak="mkdir -p ~/.local/share/Trash/files && find . -name '.bak.*' -exec mv '{}' ~/.local/share/Trash/files \;"
|
||||
alias f="~/projects/scripts/search.sh"
|
||||
|
||||
alias studup="~/projects/scripts/update_stud.sh"
|
||||
|
||||
alias ssd="s && shd"
|
||||
alias lg="lazygit"
|
||||
alias m="make"
|
||||
alias mn="make nix"
|
||||
alias syn="~/projects/scripts/run_unison.sh"
|
||||
alias s="~/projects/scripts/run_unison.sh"
|
||||
#alias synu="unison MainAll_CIP"
|
||||
alias rmt="rm /tmp/all_git_projects"
|
||||
alias fu="chch && fla && shd"
|
||||
alias fla="sudo nixos-rebuild switch --flake '/home/jonas/configuration/#'"
|
||||
alias flr="NIX_SSHOPTS='-o RequestTTY=force'; nixos-rebuild --use-remote-sudo --target-host root@hahn1.one --build-host root@hahn1.one switch --flake ~/configuration#stranox"
|
||||
alias tt="~/projects/scripts/find_gits.sh"
|
||||
alias dotu="bash ~/configuration/install_dots.sh"
|
||||
alias tkkk="tmux kill-server"
|
||||
|
||||
alias feh="feh -d"
|
||||
alias os="cd /nix/store && yazi"
|
||||
|
||||
# command to rest to the current dir of the tmux session (as in the session name)
|
||||
# replace a leading _ in the session name with a .
|
||||
# This breaks the shell if no tmux session is there
|
||||
# alias rr="\cd ~$(tmux display-message -p '#S' | sed 's/^_/\./')"
|
||||
|
||||
# ripgrep all
|
||||
alias rga="rg --hidden --no-ignore"
|
||||
# light ripgrep
|
||||
# Does not work as excpected
|
||||
#alias rgl='rg --files --hidden --glob "!**/.git/*" --glob "!**/.cache/*" --glob "!**/.local/*" --glob "!**/bigfiles/*" --glob "!**/*.{jpg,png,gif,mp4,mkv,tar,zip,iso}"'
|
||||
# ripgrep preview
|
||||
# TODO: make find dotfiles
|
||||
alias g='nvim -c "lua require(\"telescope.builtin\").live_grep()"'
|
||||
alias n="nvim"
|
||||
alias nr='nvim -c "lua require(\"telescope.builtin\").oldfiles()"'
|
||||
alias nn='nvim -c "lua require(\"helpers.functions\") find_eff()"'
|
||||
alias k='nvim -c "lua require(\"config.keymaps\") open_cal()"'
|
||||
alias rt='rm /tmp/all_git_projects'
|
||||
alias nt='nvim -c ":e ~/management/brainstore/todos/todo.txt"'
|
||||
|
||||
alias ta="todo.sh add"
|
||||
alias t="todo.sh"
|
||||
alias tl="todo.sh list"
|
||||
alias td="todo.sh do"
|
||||
|
||||
alias de="sudo loadkeys de"
|
||||
alias us="sudo loadkeys us"
|
||||
alias b="btop"
|
||||
alias c="cat"
|
||||
alias chch="~/projects/scripts/check_git.sh"
|
||||
alias fa="fastfetch"
|
||||
alias gui="Hyprland && clear"
|
||||
alias ls='ls --color=auto'
|
||||
# This updates the tofi database
|
||||
alias tofiu='rm ~/.cache/tofi-drun'
|
||||
|
||||
alias ll='exa -la '
|
||||
#alias shd="~/projects/scripts/run_unison.sh && pkill -u $(whoami)"
|
||||
# TODO: implement a way to always sync on startup and shutdown
|
||||
alias shd="shutdown now"
|
||||
alias ttt='timer -f 10m'
|
||||
alias zshconfig="mate ~/.zshrc"
|
||||
alias giter="git add . && git commit -a -m 'auto commit' && git push"
|
||||
alias grep='grep --color=always'
|
||||
|
||||
# Office stuff
|
||||
alias oiiiii="bash ~/management/office/sync.sh in"
|
||||
alias ou="bash ~/management/office/sync.sh out"
|
||||
|
||||
alias aiiiii="bash ~/projects/scripts/sync_all.sh in"
|
||||
alias au="bash ~/projects/scripts/sync_all.sh out"
|
||||
|
||||
###########################################################################
|
||||
|
||||
# Exports #
|
||||
export EDITOR='nvim'
|
||||
export HTTP_HOME="duckduckgo.com"
|
||||
export RANGER_LOAD_DEFAULT_RC=false
|
||||
export PATH=$HOME/programs_local/:$HOME/.cargo/bin:~/projects/scripts:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||
export MANPAGER="nvim +Man!"
|
||||
|
||||
export PATH=$HOME/go/bin:$PATH
|
||||
|
||||
# Used by some scripts as shortcuts
|
||||
export loc="$HOME/files_local/"
|
||||
|
||||
48
home/.gitconfig
Normal file
48
home/.gitconfig
Normal file
@@ -0,0 +1,48 @@
|
||||
[alias]
|
||||
br = "branch"
|
||||
cm = "commit -a -m 'auto commit'"
|
||||
lg = "log --oneline --graph --decorate"
|
||||
st = "status"
|
||||
up = "!f() { git add .; git commit -a -m 'auto commit'; git fetch -a && git pull && git push; }; f"
|
||||
|
||||
[branch]
|
||||
autoSetupMerge = true
|
||||
[init]
|
||||
defaultBranch = "main"
|
||||
|
||||
[pull]
|
||||
rebase = true
|
||||
[push]
|
||||
autoSetupRemote = true
|
||||
default = "current"
|
||||
|
||||
[user]
|
||||
email = "jonashahn1@gmx.net"
|
||||
name = "Jonas Hahn"
|
||||
|
||||
[diff]
|
||||
tool = nvimdiff
|
||||
[difftool "nvimdiff"]
|
||||
#cmd = nvim -d \"$LOCAL\" \"$REMOTE\"
|
||||
cmd = ~/projects/scripts/diffv_wrap.sh \"$LOCAL\" \"$REMOTE\"
|
||||
trustExitCode = true
|
||||
|
||||
[merge]
|
||||
tool = nvimdiff
|
||||
[mergetool "nvimdiff"]
|
||||
#cmd = nvim -d \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
|
||||
# just pass all that is available to the script
|
||||
cmd = ~/projects/scripts/diffv_wrap.sh \"$LOCAL\" \"$REMOTE\" \"$MERGED\" \"$BASE\"
|
||||
|
||||
trustExitCode = true
|
||||
[mergetool]
|
||||
prompt = false
|
||||
|
||||
[core]
|
||||
autocrlf = input
|
||||
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
22
home/.newsboat/config
Normal file
22
home/.newsboat/config
Normal file
@@ -0,0 +1,22 @@
|
||||
# a comment
|
||||
max-items 100 # such comments are possible, too
|
||||
browser w3m
|
||||
show-read-feeds no # Dont know this setting
|
||||
|
||||
|
||||
# Setting the theme
|
||||
color info color255 color100
|
||||
color listfocus color255 color11
|
||||
color listfocus_unread color255 color11
|
||||
|
||||
# The prefix key is , so you have to press comma before any macros
|
||||
# Remember to change the browser here when changing the default browser
|
||||
# Of newsboat
|
||||
macro F set browser "firefox %u" ; open-in-browser ; set browser "w3m %u"
|
||||
|
||||
# Keybindings
|
||||
unbind-key R
|
||||
bind-key ^R reload-all
|
||||
bind-key k up all # Good vim
|
||||
bind-key j down all
|
||||
|
||||
5
home/.newsboat/urls
Normal file
5
home/.newsboat/urls
Normal file
@@ -0,0 +1,5 @@
|
||||
https://www.tagesschau.de/infoservices/alle-meldungen-100~rss2.xml
|
||||
https://www.tagesschau.de/inland/regional/bremen/index~rss2.xml
|
||||
https://www.tagesschau.de/wirtschaft/weltwirtschaft/index~rss2.xml
|
||||
https://www.tagesschau.de/wissen/forschung/index~rss2.xml
|
||||
https://www.welt.de/feeds/latest.rss
|
||||
15
home/.offlineimaprc
Normal file
15
home/.offlineimaprc
Normal file
@@ -0,0 +1,15 @@
|
||||
[general]
|
||||
accounts = Test
|
||||
|
||||
[Account Test]
|
||||
localrepository = Local
|
||||
remoterepository = Remote
|
||||
|
||||
[Repository Local]
|
||||
type = Maildir
|
||||
localfolders = ~/files_local/storedmail/
|
||||
|
||||
[Repository Remote]
|
||||
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
|
||||
type = IMAP
|
||||
remotehost = email.gwdg.de
|
||||
693
home/.pinerc
Normal file
693
home/.pinerc
Normal file
@@ -0,0 +1,693 @@
|
||||
#
|
||||
# Alpine configuration file
|
||||
#
|
||||
# This file sets the configuration options used by Alpine and PC-Alpine. These
|
||||
# options are usually set from within Alpine or PC-Alpine. There may be a
|
||||
# system-wide configuration file which sets the defaults for some of the
|
||||
# variables. On Unix, run alpine -conf to see how system defaults have been set.
|
||||
# For variables that accept multiple values, list elements are separated by
|
||||
# commas. A line beginning with a space or tab is considered to be a
|
||||
# continuation of the previous line. For a variable to be unset its value must
|
||||
# be blank. To set a variable to the empty string its value should be "".
|
||||
# You can override system defaults by setting a variable to the empty string.
|
||||
# Lines beginning with "#" are comments, and ignored by Alpine.
|
||||
|
||||
# Over-rides your full name from Unix password file. Required for PC-Alpine.
|
||||
personal-name=Jonas Hahn
|
||||
|
||||
# List of SMTP servers for sending mail. If blank: Unix Alpine uses sendmail.
|
||||
smtp-server=mail.gmx.net:587/tls/user=jonashahn1@gmx.net
|
||||
#smtp-server=mail.hahn1.one/tls/user=jonas@hahn1.one
|
||||
|
||||
# Use the first news server I found
|
||||
# It seems actually really big
|
||||
nntp-server=news.nntp4.net/user=nntp4_2504121037
|
||||
|
||||
# Need this to fix the default smtp server
|
||||
customized-hdrs=From: Jonas Hahn <jonashahn1@gmx.net>
|
||||
#customized-hdrs=From: Jonas Hahn <jonas@hahn1.one>
|
||||
|
||||
# Only have gmx pattern at the moment
|
||||
# will ad the own domain in the future
|
||||
#patterns-roles=LIT:pattern="/NICK=JonasHahn1Gmx/FLDTYPE=EMAIL" action="/ROLE=1/FROM=Jonas Hahn <jonashahn1@gmx.net>/SMTP=smtp.gmx.net:\/tls/user=jonashahn1@gmx.net/RTYPE=YES/FTYPE=YES/CTYPE=NO",
|
||||
patterns-roles=LIT:pattern="/NICK=JonasHahn1Gmx/FLDTYPE=EMAIL" action="/ROLE=1/FROM=Jonas Hahn <jonashahn1@gmx.net>/SMTP=smtp.gmx.net:587/RTYPE=YES/FTYPE=YES/CTYPE=NO",
|
||||
LIT:pattern="/NICK=JonasHahn/FLDTYPE=EMAIL" action="/ROLE=1/FROM=Jonas <jonas@hahn1.one>/SMTP=mail.hahn1.one\/tls\/user=jonas@hahn1.one/RTYPE=YES/FTYPE=YES/CTYPE=NO"
|
||||
|
||||
# Default folder lists
|
||||
folder-collections=Mail mail/[],
|
||||
JonasGmxMain {imap.gmx.net/ssl/user=jonashahn1@gmx.net}[],
|
||||
JonasHahn {mail.hahn1.one/ssl/user=jonas@hahn1.one}[],
|
||||
JonasUni {email.stud.uni-goettingen.de/ssl/user=ug-student\j.hahn02}[],
|
||||
NewsOnNNTP4 {news.nntp4.net/user=nntp4_2504121037/nntp}#news.[],
|
||||
JonasWeb {imap.web.de/ssl/user=jonasahorn@web.de}[]
|
||||
|
||||
# Set by Alpine; controls beginning-of-month sent-mail pruning.
|
||||
last-time-prune-questioned=125.8
|
||||
last-version-used=6.26
|
||||
|
||||
user-domain=hahn1.one
|
||||
# This has do be disabled for authentication on some serves
|
||||
disable-these-authenticators=GSSAPI
|
||||
url-viewers=/run/current-system/sw/bin/firefox
|
||||
dead-letter-files=0
|
||||
|
||||
# NNTP server for posting news. Also sets news-collections for news reading.
|
||||
|
||||
# Path of (local or remote) INBOX, e.g. ={mail.somewhere.edu}inbox
|
||||
# Normal Unix default is the local INBOX (usually /usr/spool/mail/$USER).
|
||||
inbox-path=
|
||||
|
||||
# List of folder pairs; the first indicates a folder to archive, and the
|
||||
# second indicates the folder read messages in the first should
|
||||
# be moved to.
|
||||
incoming-archive-folders=
|
||||
|
||||
# List of folders, assumed to be in first folder collection,
|
||||
# offered for pruning each month. For example: mumble
|
||||
pruned-folders=
|
||||
|
||||
# Over-rides default path for sent-mail folder, e.g. =old-mail (using first
|
||||
# folder collection dir) or ={host2}sent-mail or ="" (to suppress saving).
|
||||
# Default: sent-mail (Unix) or SENTMAIL.MTX (PC) in default folder collection.
|
||||
default-fcc=sent-mail
|
||||
|
||||
# Over-rides default path for saved-msg folder, e.g. =saved-messages (using 1st
|
||||
# folder collection dir) or ={host2}saved-mail or ="" (to suppress saving).
|
||||
# Default: saved-messages (Unix) or SAVEMAIL.MTX (PC) in default collection.
|
||||
default-saved-msg-folder=
|
||||
|
||||
# Over-rides default path for postponed messages folder, e.g. =pm (which uses
|
||||
# first folder collection dir) or ={host4}pm (using home dir on host4).
|
||||
# Default: postponed-msgs (Unix) or POSTPOND.MTX (PC) in default fldr coltn.
|
||||
postponed-folder=
|
||||
|
||||
# If set, specifies where already-read messages will be moved upon quitting.
|
||||
read-message-folder=
|
||||
|
||||
# If set, specifies where form letters should be stored.
|
||||
form-letter-folder=
|
||||
|
||||
# If set, specifies where trash is moved to in Web Alpine.
|
||||
trash-folder=
|
||||
|
||||
# Contains the actual signature contents as opposed to the signature filename.
|
||||
# If defined, this overrides the signature-file. Default is undefined.
|
||||
literal-signature=
|
||||
|
||||
# Over-rides default path for signature file. Default is ~/.signature
|
||||
signature-file=
|
||||
|
||||
# List of features; see Alpine's Setup/options menu for the current set.
|
||||
# e.g. feature-list= select-without-confirm, signature-at-bottom
|
||||
# Default condition for all of the features is no-.
|
||||
feature-list=
|
||||
|
||||
# Alpine executes these keys upon startup (e.g. to view msg 13: i,j,1,3,CR,v)
|
||||
initial-keystroke-list=
|
||||
|
||||
# Only show these headers (by default) when composing messages
|
||||
default-composer-hdrs=
|
||||
|
||||
# When viewing messages, include this list of headers
|
||||
viewer-hdrs=
|
||||
|
||||
# When viewing messages, number of blank spaces between left display edge and text
|
||||
viewer-margin-left=
|
||||
|
||||
# When viewing messages, number of blank spaces between right display edge and text
|
||||
viewer-margin-right=
|
||||
|
||||
# When viewing messages, number of lines of quote displayed before suppressing
|
||||
quote-suppression-threshold=
|
||||
|
||||
# Determines default folder name for Saves...
|
||||
# Choices: default-folder, by-sender, by-from, by-recipient, last-folder-used.
|
||||
# Default: "default-folder", i.e. "saved-messages" (Unix) or "SAVEMAIL" (PC).
|
||||
saved-msg-name-rule=
|
||||
|
||||
# Determines default name for Fcc...
|
||||
# Choices: default-fcc, by-recipient, last-fcc-used.
|
||||
# Default: "default-fcc" (see also "default-fcc=" variable.)
|
||||
fcc-name-rule=
|
||||
|
||||
# Sets presentation order of messages in Index. Choices:
|
||||
# Subject, From, Arrival, Date, Size, To, Cc, OrderedSubj, Score, and Thread.
|
||||
# Order may be reversed by appending /Reverse. Default: "Arrival".
|
||||
sort-key=
|
||||
|
||||
# Sets presentation order of address book entries. Choices: dont-sort,
|
||||
# fullname-with-lists-last, fullname, nickname-with-lists-last, nickname
|
||||
# Default: "fullname-with-lists-last".
|
||||
addrbook-sort-rule=
|
||||
|
||||
# Sets presentation order of folder list entries. Choices: alphabetical,
|
||||
# alpha-with-dirs-last, alpha-with-dirs-first.
|
||||
# Default: "alpha-with-directories-last".
|
||||
folder-sort-rule=
|
||||
|
||||
# Sets the default folder and collection offered at the Goto Command's prompt.
|
||||
goto-default-rule=
|
||||
|
||||
# Sets message which cursor begins on. Choices: first-unseen, first-recent,
|
||||
# first-important, first-important-or-unseen, first-important-or-recent,
|
||||
# first, last. Default: "first-unseen".
|
||||
incoming-startup-rule=
|
||||
|
||||
# Allows a default answer for the prune folder questions. Choices: yes-ask,
|
||||
# yes-no, no-ask, no-no, ask-ask, ask-no. Default: "ask-ask".
|
||||
pruning-rule=
|
||||
|
||||
# Controls behavior when reopening an already open folder.
|
||||
folder-reopen-rule=
|
||||
|
||||
# Style that MESSAGE INDEX is displayed in when threading.
|
||||
threading-display-style=
|
||||
|
||||
# Style of THREAD INDEX or default MESSAGE INDEX when threading.
|
||||
threading-index-style=
|
||||
|
||||
# When threading, character used to indicate collapsed messages underneath.
|
||||
threading-indicator-character=
|
||||
|
||||
# When threading, character used to indicate expanded messages underneath.
|
||||
threading-expanded-character=
|
||||
|
||||
# When threading, character used to indicate this is the last reply
|
||||
# to the parent of this message.
|
||||
threading-lastreply-character=
|
||||
|
||||
# Reflects capabilities of the display you have.
|
||||
# If unset, the default is taken from your locale. That is usually the right
|
||||
# thing to use. Typical alternatives include UTF-8, ISO-8859-x, and EUC-JP
|
||||
# (where x is a number between 1 and 9).
|
||||
display-character-set=
|
||||
|
||||
# Reflects capabilities of the keyboard you have.
|
||||
# If unset, the default is to use the same value
|
||||
# used for the display-character-set.
|
||||
keyboard-character-set=
|
||||
|
||||
# Defaults to UTF-8. This is used for outgoing messages.
|
||||
# It is usually correct to leave this unset.
|
||||
posting-character-set=
|
||||
|
||||
# Defaults to nothing, which is equivalent to US-ASCII. This is used for
|
||||
# unlabeled incoming messages. It is ok to leave this unset but if you receive
|
||||
# unlabeled mail that is usually in some known character set, set that here.
|
||||
unknown-character-set=
|
||||
|
||||
# Specifies the program invoked by ^_ in the Composer,
|
||||
# or the "enable-alternate-editor-implicitly" feature.
|
||||
editor=
|
||||
|
||||
# Specifies the program invoked by ^T in the Composer.
|
||||
speller=
|
||||
|
||||
# Specifies the column of the screen where the composer should wrap.
|
||||
composer-wrap-column=
|
||||
|
||||
# Specifies the string to insert when replying to a message.
|
||||
reply-indent-string=
|
||||
|
||||
# Specifies the introduction to insert when replying to a message.
|
||||
reply-leadin=
|
||||
|
||||
# Specifies the string to replace quotes with when viewing a message.
|
||||
quote-replace-string=
|
||||
|
||||
# When these characters appear in the middle of a word in the composer
|
||||
# the forward word function will stop at the first text following (as happens
|
||||
# with SPACE characters by default)
|
||||
composer-word-separators=
|
||||
|
||||
# Specifies the string to use when sending a message with no to or cc.
|
||||
empty-header-message=
|
||||
|
||||
# Program to view images (e.g. GIF or TIFF attachments).
|
||||
image-viewer=
|
||||
|
||||
# If "user-domain" not set, strips hostname in FROM address. (Unix only)
|
||||
use-only-domain-name=
|
||||
|
||||
# This variable takes a list of programs that message text is piped into
|
||||
# after MIME decoding, prior to display.
|
||||
display-filters=
|
||||
|
||||
# This defines a program that message text is piped into before MIME
|
||||
# encoding, prior to sending
|
||||
sending-filters=
|
||||
|
||||
# A list of alternate addresses the user is known by
|
||||
alt-addresses=
|
||||
|
||||
# A list of keywords for use in categorizing messages
|
||||
keywords=
|
||||
|
||||
# Characters which surround keywords in SUBJKEY token.
|
||||
# Default is "{" "} "
|
||||
keyword-surrounding-chars=
|
||||
|
||||
# Characters between subject and opening text in SUBJECTTEXT token.
|
||||
# Default is " - "
|
||||
opening-text-separator-chars=
|
||||
|
||||
# This is a list of formats for address books. Each entry in the list is made
|
||||
# up of space-delimited tokens telling which fields are displayed and in
|
||||
# which order. See help text
|
||||
addressbook-formats=
|
||||
|
||||
# This gives a format for displaying the index. It is made
|
||||
# up of space-delimited tokens telling which fields are displayed and in
|
||||
# which order. See help text
|
||||
index-format=
|
||||
|
||||
# The number of lines of overlap when scrolling through message text
|
||||
viewer-overlap=
|
||||
|
||||
# Number of lines from top and bottom of screen where single
|
||||
# line scrolling occurs.
|
||||
scroll-margin=
|
||||
|
||||
# The number of seconds to sleep after writing a status message
|
||||
status-message-delay=
|
||||
|
||||
# Number of times per-second to update busy cue messages
|
||||
busy-cue-rate=
|
||||
|
||||
# The approximate number of seconds between checks for new mail
|
||||
mail-check-interval=
|
||||
|
||||
# The approximate number of seconds between checks for new mail in folders
|
||||
# other than the current folder and inbox.
|
||||
# Default is same as mail-check-interval
|
||||
mail-check-interval-noncurrent=
|
||||
|
||||
# The minimum number of seconds between checks for new mail in a Mail Drop.
|
||||
# This is always effectively at least as large as the mail-check-interval
|
||||
maildrop-check-minimum=
|
||||
|
||||
# For newsgroups accessed using NNTP, only messages numbered in the range
|
||||
# lastmsg-range+1 to lastmsg will be considered
|
||||
nntp-range=100
|
||||
|
||||
# Full path and name of NEWSRC file
|
||||
newsrc-path=
|
||||
|
||||
# Path and filename of news configuration's active file.
|
||||
# The default is typically "/usr/lib/news/active".
|
||||
news-active-file-path=
|
||||
|
||||
# Directory containing system's news data.
|
||||
# The default is typically "/usr/spool/news"
|
||||
news-spool-directory=
|
||||
|
||||
# Path and filename of the program used to upload text from your terminal
|
||||
# emulator's into Alpine's composer.
|
||||
upload-command=
|
||||
|
||||
# Text sent to terminal emulator prior to invoking the program defined by
|
||||
# the upload-command variable.
|
||||
# Note: _FILE_ will be replaced with the temporary file used in the upload.
|
||||
upload-command-prefix=
|
||||
|
||||
# Path and filename of the program used to download text via your terminal
|
||||
# emulator from Alpine's export and save commands.
|
||||
download-command=
|
||||
|
||||
# Text sent to terminal emulator prior to invoking the program defined by
|
||||
# the download-command variable.
|
||||
# Note: _FILE_ will be replaced with the temporary file used in the download.
|
||||
download-command-prefix=
|
||||
|
||||
# Sets the search path for the mailcap configuration file.
|
||||
# NOTE: colon delimited under UNIX, semi-colon delimited under DOS/Windows/OS2.
|
||||
mailcap-search-path=
|
||||
|
||||
# Sets the search path for the mimetypes configuration file.
|
||||
# NOTE: colon delimited under UNIX, semi-colon delimited under DOS/Windows/OS2.
|
||||
mimetype-search-path=
|
||||
|
||||
# Sets the path for the system ssl certificates issued by a trusted
|
||||
# certificate authority. Note that this could be a list of paths, if the same
|
||||
# pinerc is used in different systems. Alpine always chooses the first one that
|
||||
# it finds. Value must be an absolute path.
|
||||
system-certs-path=
|
||||
|
||||
# Sets the path for the system ssl file container of certificates issued by a
|
||||
# certificate authority. Note that this could be a list of container files,
|
||||
# if the same pinerc is used in different systems. Alpine always chooses the,
|
||||
# first one that it finds. Value must be an absolute path.
|
||||
system-certs-file=
|
||||
|
||||
# Sets the path for a file that contains certificates that a user trusts.
|
||||
#Note that this could be a list of container files,
|
||||
# if the same pinerc is used in different systems. Alpine always chooses the,
|
||||
# first one that it finds. Value must be an absolute path.
|
||||
user-certs-path=
|
||||
|
||||
# Sets the path for a file that contains certificates that a user trusts.
|
||||
#Note that this could be a list of container files,
|
||||
# if the same pinerc is used in different systems. Alpine always chooses the,
|
||||
# first one that it finds. Value must be an absolute path.
|
||||
user-certs-file=
|
||||
|
||||
# Colon separated list of ciphers that should be negotiated with the remote
|
||||
# ssl server upon connection.
|
||||
ssl-ciphers=
|
||||
|
||||
# List of directories that are preferred locations to save or export attachments.
|
||||
default-directories=~/mail/export
|
||||
|
||||
# The maximum number of non-stayopen remote connections that Alpine will use
|
||||
max-remote-connections=
|
||||
|
||||
# A list of folders that should be left open once opened (INBOX is implicit)
|
||||
stay-open-folders=
|
||||
|
||||
# Sets the time in seconds that Alpine will attempt to open a network
|
||||
# connection when checking for new unseen messages in an incoming folder.
|
||||
# The default is 5.
|
||||
incoming-check-timeout=
|
||||
|
||||
# Sets the approximate number of seconds between checks for unseen messages
|
||||
# in incoming folders. The default is 180.
|
||||
incoming-check-interval=
|
||||
|
||||
# Sets the approximate number of seconds between checks for unseen messages
|
||||
# for other than local or IMAP folders. The default is 180.
|
||||
incoming-check-interval-secondary=
|
||||
|
||||
# List of incoming folders to check for unseen messages. The default if left
|
||||
# blank is to check all incoming folders.
|
||||
incoming-check-list=
|
||||
|
||||
# Specifies the number of dead letter files to keep when canceling.
|
||||
|
||||
# Sets the filename for the newmail fifo (named pipe). Unix only.
|
||||
newmail-fifo-path=
|
||||
|
||||
# Sets the width for the NewMail screen.
|
||||
newmail-window-width=
|
||||
|
||||
# List of incoming msg folders besides INBOX, e.g. ={host2}inbox, {host3}inbox
|
||||
# Syntax: optnl-label {optnl-imap-host-name}folder-path
|
||||
incoming-folders=
|
||||
|
||||
# List, only needed if nntp-server not set, or news is on a different host
|
||||
# than used for NNTP posting. Examples: News *[] or News *{host3/nntp}[]
|
||||
# Syntax: optnl-label *{news-host/protocol}[]
|
||||
#news-collections=News {news.nntp4.net/user=nntp4_2504121037/nntp}#news.[]
|
||||
|
||||
# List of file or path names for personal addressbook(s).
|
||||
# Default: ~/.addressbook (Unix) or \PINE\ADDRBOOK (PC)
|
||||
# Syntax: optnl-label path-name
|
||||
address-book=
|
||||
|
||||
# List of file or path names for global/shared addressbook(s).
|
||||
# Default: none
|
||||
# Syntax: optnl-label path-name
|
||||
global-address-book=
|
||||
|
||||
# This names the path to an alternative program, and any necessary arguments,
|
||||
# to be used in posting mail messages. Example:
|
||||
# /usr/lib/sendmail -oem -t -oi
|
||||
# or,
|
||||
# /usr/local/bin/sendit.sh
|
||||
# The latter a script found in Alpine distribution's contrib/util directory.
|
||||
# NOTE: The program MUST read the message to be posted on standard input,
|
||||
# AND operate in the style of sendmail's "-t" option.
|
||||
sendmail-path=
|
||||
|
||||
# This names the root of the tree to which the user is restricted when reading
|
||||
# and writing folders and files. For example, on Unix ~/work confines the
|
||||
# user to the subtree beginning with their work subdirectory.
|
||||
# (Note: this alone is not sufficient for preventing access. You will also
|
||||
# need to restrict shell access and so on, see Alpine Technical Notes.)
|
||||
# Default: not set (so no restriction)
|
||||
operating-dir=
|
||||
|
||||
# If no user input for this many hours, Alpine will exit if in an idle loop
|
||||
# waiting for a new command. If set to zero (the default), then there will
|
||||
# be no timeout.
|
||||
user-input-timeout=
|
||||
|
||||
# Sets the time in seconds that Alpine will attempt to open a network
|
||||
# connection. The default is 30, the minimum is 5, and the maximum is
|
||||
# system defined (typically 75).
|
||||
tcp-open-timeout=
|
||||
|
||||
# Network read warning timeout. The default is 15, the minimum is 5, and the
|
||||
# maximum is 1000.
|
||||
tcp-read-warning-timeout=
|
||||
|
||||
# Network write warning timeout. The default is 0 (unset), the minimum
|
||||
# is 5 (if not 0), and the maximum is 1000.
|
||||
tcp-write-warning-timeout=
|
||||
|
||||
# If this much time has elapsed at the time of a tcp read or write
|
||||
# timeout, Alpine will ask if you want to break the connection.
|
||||
# Default is 60 seconds, minimum is 5, maximum is 1000.
|
||||
tcp-query-timeout=
|
||||
|
||||
# If this much time has elapsed at the time of a tcp read or write timeout,
|
||||
# Alpine will close the connection automatically without user intervention.
|
||||
# Setting this value to zero (the default) disables this. Setting this variable
|
||||
# to a smaller value than tcp-query-timeout will close the connection
|
||||
# automatically, and you will never be asked if you want to wait.
|
||||
close-connection-timeout=
|
||||
|
||||
# Sets the format of the command used to open a UNIX remote
|
||||
# shell connection. The default is "%s %s -l %s exec /etc/r%sd"
|
||||
# NOTE: the 4 (four) "%s" entries MUST exist in the provided command
|
||||
# where the first is for the command's path, the second is for the
|
||||
# host to connect to, the third is for the user to connect as, and the
|
||||
# fourth is for the connection method (typically "imap")
|
||||
rsh-command=
|
||||
|
||||
# Sets the name of the command used to open a UNIX remote shell connection.
|
||||
# The default is typically /usr/ucb/rsh.
|
||||
rsh-path=
|
||||
|
||||
# Sets the time in seconds that Alpine will attempt to open a UNIX remote
|
||||
# shell connection. The default is 15, min is 5, and max is unlimited.
|
||||
# Zero disables rsh altogether.
|
||||
rsh-open-timeout=
|
||||
|
||||
# Sets the format of the command used to open a UNIX secure
|
||||
# shell connection. The default is "%s %s -l %s exec /etc/r%sd"
|
||||
# NOTE: the 4 (four) "%s" entries MUST exist in the provided command
|
||||
# where the first is for the command's path, the second is for the
|
||||
# host to connect to, the third is for the user to connect as, and the
|
||||
# fourth is for the connection method (typically "imap")
|
||||
ssh-command=
|
||||
|
||||
# Sets the name of the command used to open a UNIX secure shell connection.
|
||||
# Typically this is /usr/bin/ssh.
|
||||
ssh-path=
|
||||
|
||||
# Sets the time in seconds that Alpine will attempt to open a UNIX secure
|
||||
# shell connection. The default is 15, min is 5, and max is unlimited.
|
||||
# Zero disables ssh altogether.
|
||||
ssh-open-timeout=
|
||||
|
||||
# Sets the version number Alpine will use as a threshold for offering
|
||||
# its new version message on startup.
|
||||
new-version-threshold=
|
||||
|
||||
# List of mail drivers to disable.
|
||||
disable-these-drivers=
|
||||
|
||||
# A range in the form min,max that sets the minimum amd maximum versions of the
|
||||
# SSL protocol that Alpine will use when connecting to a secure server.
|
||||
encryption-protocol-range=
|
||||
|
||||
# Set by Alpine; contains data for caching remote address books.
|
||||
remote-abook-metafile=
|
||||
|
||||
# How many extra copies of remote address book should be kept. Default: 3
|
||||
remote-abook-history=
|
||||
|
||||
# Minimum number of minutes between checks for remote address book changes.
|
||||
# 0 means never check except when opening a remote address book.
|
||||
# -1 means never check. Default: 5
|
||||
remote-abook-validity=
|
||||
|
||||
# Your default printer selection
|
||||
printer=
|
||||
|
||||
# List of special print commands
|
||||
personal-print-command=
|
||||
|
||||
# Which category default print command is in
|
||||
personal-print-category=
|
||||
|
||||
# Your client-id and client-secret information to authenticate using XOAUTH2
|
||||
xoauth2-info=
|
||||
|
||||
# Patterns and their actions are stored here.
|
||||
|
||||
# Patterns and their actions are stored here.
|
||||
patterns-filters2=
|
||||
|
||||
# Patterns and their actions are stored here.
|
||||
patterns-scores2=
|
||||
|
||||
# Patterns and their actions are stored here.
|
||||
patterns-indexcolors=
|
||||
|
||||
# Patterns and their actions are stored here.
|
||||
patterns-other=
|
||||
|
||||
# Patterns and their actions are stored here.
|
||||
patterns-search=
|
||||
|
||||
# Controls display of color
|
||||
color-style=
|
||||
|
||||
# Controls display of color for current index line
|
||||
current-indexline-style=
|
||||
|
||||
# Controls display of color for the titlebar at top of screen
|
||||
titlebar-color-style=
|
||||
|
||||
# Choose: black, blue, green, cyan, red, magenta, yellow, or white.
|
||||
normal-foreground-color=
|
||||
normal-background-color=
|
||||
reverse-foreground-color=
|
||||
reverse-background-color=
|
||||
title-foreground-color=
|
||||
title-background-color=
|
||||
title-closed-foreground-color=
|
||||
title-closed-background-color=
|
||||
folder-foreground-color=
|
||||
folder-background-color=
|
||||
directory-foreground-color=
|
||||
directory-background-color=
|
||||
folder-list-text-foreground-color=
|
||||
folder-list-text-background-color=
|
||||
status-foreground-color=
|
||||
status-background-color=
|
||||
keylabel-foreground-color=
|
||||
keylabel-background-color=
|
||||
keyname-foreground-color=
|
||||
keyname-background-color=
|
||||
selectable-item-foreground-color=
|
||||
selectable-item-background-color=
|
||||
meta-message-foreground-color=
|
||||
meta-message-background-color=
|
||||
quote1-foreground-color=
|
||||
quote1-background-color=
|
||||
quote2-foreground-color=
|
||||
quote2-background-color=
|
||||
quote3-foreground-color=
|
||||
quote3-background-color=
|
||||
incoming-unseen-foreground-color=
|
||||
incoming-unseen-background-color=
|
||||
signature-foreground-color=
|
||||
signature-background-color=
|
||||
prompt-foreground-color=
|
||||
prompt-background-color=
|
||||
header-general-foreground-color=
|
||||
header-general-background-color=
|
||||
index-to-me-foreground-color=
|
||||
index-to-me-background-color=
|
||||
index-important-foreground-color=
|
||||
index-important-background-color=
|
||||
index-deleted-foreground-color=
|
||||
index-deleted-background-color=
|
||||
index-answered-foreground-color=
|
||||
index-answered-background-color=
|
||||
index-new-foreground-color=
|
||||
index-new-background-color=
|
||||
index-recent-foreground-color=
|
||||
index-recent-background-color=
|
||||
index-forward-foreground-color=
|
||||
index-forward-background-color=
|
||||
index-unseen-foreground-color=
|
||||
index-unseen-background-color=
|
||||
index-highpriority-foreground-color=
|
||||
index-highpriority-background-color=
|
||||
index-lowpriority-foreground-color=
|
||||
index-lowpriority-background-color=
|
||||
index-arrow-foreground-color=
|
||||
index-arrow-background-color=
|
||||
index-subject-foreground-color=
|
||||
index-subject-background-color=
|
||||
index-from-foreground-color=
|
||||
index-from-background-color=
|
||||
index-opening-foreground-color=
|
||||
index-opening-background-color=
|
||||
|
||||
# Colors in which tokens will be displayed in the index screen
|
||||
index-token-colors=
|
||||
|
||||
# When viewing messages, these are the header colors
|
||||
viewer-hdr-colors=
|
||||
|
||||
# Colors used to display keywords in the index
|
||||
keyword-colors=
|
||||
|
||||
# Public certificates are kept in files in this directory. The files should
|
||||
# contain certificates in PEM format. The name of each file should look
|
||||
# like <emailaddress>.crt. The default directory is .alpine-smime/public.
|
||||
smime-public-cert-directory=
|
||||
|
||||
# If this option is set then public certificates are kept in a single container
|
||||
# "file" similar to a remote configuration file instead of in the
|
||||
# smime-publiccert-directory. The value can be a remote or local folder
|
||||
# specification like for a non-standard pinerc value. The default
|
||||
# is that it is not set.
|
||||
smime-public-cert-container=
|
||||
|
||||
# Private keys are kept in files in this directory. The files are in PEM format.
|
||||
# The name of a file should look like <emailaddress>.key.
|
||||
# The default directory is .alpine-smime/private.
|
||||
smime-private-key-directory=
|
||||
|
||||
# If this option is set then private keys are kept in a single container
|
||||
# "file" similar to a remote configuration file instead of in the
|
||||
# private-key-directory. The value can be a remote or local folder
|
||||
# specification like for a non-standard pinerc value. The default
|
||||
# is that it is not set.
|
||||
smime-private-key-container=
|
||||
|
||||
# Certificate Authority certificates (in addition to the normal CACerts for the
|
||||
# system) are kept in files in this directory. The files are in PEM format.
|
||||
# Filenames should end with .crt. The default directory is .alpine-smime/ca.
|
||||
smime-cacert-directory=
|
||||
|
||||
# If this option is set then CAcerts are kept in a single container
|
||||
# "file" similar to a remote configuration file instead of in the
|
||||
# ca-cert-directory. The value can be a remote or local folder
|
||||
# specification like for a non-standard pinerc value. The default
|
||||
# is that it is not set.
|
||||
smime-cacert-container=
|
||||
|
||||
# LDAP servers for looking up addresses.
|
||||
ldap-servers=
|
||||
|
||||
# RSS News feed
|
||||
rss-news=
|
||||
|
||||
# RSS Weather feed
|
||||
rss-weather=
|
||||
|
||||
# Web Alpine index table row height
|
||||
wp-indexheight=
|
||||
|
||||
# Web Alpine number of index lines in table
|
||||
wp-indexlines=
|
||||
|
||||
# Web Alpine aggregate operations tab state
|
||||
wp-aggstate=
|
||||
|
||||
# Web Alpine various aspects of cross-session state
|
||||
wp-state=
|
||||
|
||||
# Web Alpine preferred width for message display in characters
|
||||
wp-columns=
|
||||
|
||||
# List, only needed if nntp-server not set, or news is on a different host
|
||||
# than used for NNTP posting. Examples: News *[] or News *{host3/nntp}[]
|
||||
# Syntax: optnl-label *{news-host/protocol}[]
|
||||
news-collections=
|
||||
32
home/.ssh/config
Normal file
32
home/.ssh/config
Normal file
@@ -0,0 +1,32 @@
|
||||
Host bi
|
||||
HostName bitzz.de
|
||||
User jonas
|
||||
|
||||
Host st
|
||||
HostName hahn1.one
|
||||
User jonas
|
||||
|
||||
Host gp
|
||||
HostName c092
|
||||
User j.hahn02
|
||||
ProxyJump gl
|
||||
Host gl
|
||||
HostName login.physik.uni-goettingen.de
|
||||
User j.hahn02
|
||||
|
||||
# This is for syncing stuff to the ~/sync/ dir
|
||||
Host syncer
|
||||
HostName bitzz.de
|
||||
User jonas
|
||||
|
||||
Host pi
|
||||
HostName fruitypi
|
||||
User jonas
|
||||
|
||||
Host mi
|
||||
HostName misox
|
||||
User jonas
|
||||
|
||||
Host gi
|
||||
User j.hahn02
|
||||
HostName shell.informatik.uni-goettingen.de
|
||||
42
home/.tmux.conf
Normal file
42
home/.tmux.conf
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
# set shell
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
set-window-option -g mode-keys vi
|
||||
|
||||
# Switch to another git repo
|
||||
bind-key u new-window -d -n fzf-switcher "bash -c '~/projects/scripts/find_gits.sh; exit'" \; select-window -t fzf-switcher
|
||||
bind-key s choose-tree -ZsK '#{?#{e|<:#{line},9},#{e|+:1,#{line}},#{?#{e|<:#{line},35},M-#{a:#{e|+:97,#{e|-:#{line},9}}},}}'
|
||||
#bind-key -n M-9 run-shell "tmux last-window; tmux select-window -t 9; tmux send-keys '!!' Enter; tmux last-window"
|
||||
|
||||
############# Cosmetics
|
||||
set-option -g status-bg black
|
||||
set-option -g status-fg white
|
||||
|
||||
set -g default-terminal "tmux-256color"
|
||||
|
||||
# Left side: Show window list
|
||||
set-option -g status-left ""
|
||||
#set-option -g default-shell "/bin/zsh"
|
||||
set -g mouse off
|
||||
|
||||
# Right side: Show full session name
|
||||
set-option -g status-right "#S "
|
||||
|
||||
# Remove clock by setting an empty status-right format
|
||||
set-option -g clock-mode-style 24
|
||||
|
||||
# Optionally just check for tpm installation here
|
||||
#if "test ! -d ~/.tmux/plugins/tpm" "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
|
||||
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
|
||||
# Set the theme
|
||||
set -g @plugin 'egel/tmux-gruvbox'
|
||||
set -g @tmux-gruvbox 'dark' # or 'dark256', 'light', 'light256'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
90
home/.todo/config
Normal file
90
home/.todo/config
Normal file
@@ -0,0 +1,90 @@
|
||||
# === EDIT FILE LOCATIONS BELOW ===
|
||||
|
||||
# Your todo.txt directory (this should be an absolute path)
|
||||
export TODO_DIR="/home/jonas/synced/brainstore/todos"
|
||||
|
||||
# Your todo/done/report.txt locations
|
||||
export TODO_FILE="$TODO_DIR/todo.txt"
|
||||
export DONE_FILE="$TODO_DIR/done.txt"
|
||||
export REPORT_FILE="$TODO_DIR/report.txt"
|
||||
|
||||
# You can customize your actions directory location
|
||||
#export TODO_ACTIONS_DIR="$HOME/.todo.actions.d"
|
||||
|
||||
# == EDIT FILE LOCATIONS ABOVE ===
|
||||
|
||||
# === COLOR MAP ===
|
||||
|
||||
## Text coloring and formatting is done by inserting ANSI escape codes.
|
||||
## If you have re-mapped your color codes, or use the todo.txt
|
||||
## output in another output system (like Conky), you may need to
|
||||
## over-ride by uncommenting and editing these defaults.
|
||||
## If you change any of these here, you also need to uncomment
|
||||
## the defaults in the COLORS section below. Otherwise, todo.txt
|
||||
## will still use the defaults!
|
||||
|
||||
# export BLACK='\\033[0;30m'
|
||||
# export RED='\\033[0;31m'
|
||||
# export GREEN='\\033[0;32m'
|
||||
# export BROWN='\\033[0;33m'
|
||||
# export BLUE='\\033[0;34m'
|
||||
# export PURPLE='\\033[0;35m'
|
||||
# export CYAN='\\033[0;36m'
|
||||
# export LIGHT_GREY='\\033[0;37m'
|
||||
# export DARK_GREY='\\033[1;30m'
|
||||
# export LIGHT_RED='\\033[1;31m'
|
||||
# export LIGHT_GREEN='\\033[1;32m'
|
||||
# export YELLOW='\\033[1;33m'
|
||||
# export LIGHT_BLUE='\\033[1;34m'
|
||||
# export LIGHT_PURPLE='\\033[1;35m'
|
||||
# export LIGHT_CYAN='\\033[1;36m'
|
||||
# export WHITE='\\033[1;37m'
|
||||
# export DEFAULT='\\033[0m'
|
||||
|
||||
# === COLORS ===
|
||||
|
||||
## Uncomment and edit to override these defaults.
|
||||
## Reference the constants from the color map above,
|
||||
## or use $NONE to disable highlighting.
|
||||
#
|
||||
# Priorities can be any upper-case letter.
|
||||
# A,B,C are highlighted; you can add coloring for more.
|
||||
#
|
||||
# export PRI_A=$YELLOW # color for A priority
|
||||
# export PRI_B=$GREEN # color for B priority
|
||||
# export PRI_C=$LIGHT_BLUE # color for C priority
|
||||
# export PRI_D=... # define your own
|
||||
# export PRI_X=$WHITE # color unless explicitly defined
|
||||
|
||||
# There is highlighting for tasks that have been done,
|
||||
# but haven't been archived yet.
|
||||
#
|
||||
# export COLOR_DONE=$LIGHT_GREY
|
||||
|
||||
# There is highlighting for projects, contexts, dates, and item numbers.
|
||||
#
|
||||
# export COLOR_PROJECT=$RED
|
||||
# export COLOR_CONTEXT=$RED
|
||||
# export COLOR_DATE=$BLUE
|
||||
# export COLOR_NUMBER=$LIGHT_GRAY
|
||||
|
||||
# There is highlighting for metadata key:value pairs e.g.
|
||||
# DUE:2006-08-01 or note:MYNOTE
|
||||
#
|
||||
# export COLOR_META=$CYAN
|
||||
|
||||
# === BEHAVIOR ===
|
||||
|
||||
## customize list output
|
||||
#
|
||||
# TODOTXT_SORT_COMMAND will filter after line numbers are
|
||||
# inserted, but before colorization, and before hiding of
|
||||
# priority, context, and project.
|
||||
#
|
||||
# export TODOTXT_SORT_COMMAND='env LC_COLLATE=C sort -f -k2'
|
||||
|
||||
# TODOTXT_FINAL_FILTER will filter list output after colorization,
|
||||
# priority hiding, context hiding, and project hiding. That is,
|
||||
# just before the list output is displayed.
|
||||
#
|
||||
# export TODOTXT_FINAL_FILTER='cat'
|
||||
194
home/.tor/torrc
Normal file
194
home/.tor/torrc
Normal file
@@ -0,0 +1,194 @@
|
||||
# /etc/tor/torrc
|
||||
|
||||
## Configuration file for a typical Tor user
|
||||
## Last updated 9 October 2013 for Tor 0.2.5.2-alpha.
|
||||
## (may or may not work for much older or much newer versions of Tor.)
|
||||
##
|
||||
## Lines that begin with "## " try to explain what's going on. Lines
|
||||
## that begin with just "#" are disabled commands: you can enable them
|
||||
## by removing the "#" symbol.
|
||||
##
|
||||
## See 'man tor', or https://www.torproject.org/docs/tor-manual.html,
|
||||
## for more options you can use in this file.
|
||||
##
|
||||
## Tor will look for this file in various places based on your platform:
|
||||
## https://www.torproject.org/docs/faq#torrc
|
||||
|
||||
## Tor opens a socks proxy on port 9050 by default -- even if you don't
|
||||
## configure one below. Set "SocksPort 0" if you plan to run Tor only
|
||||
## as a relay, and not make any local application connections yourself.
|
||||
#SocksPort 9050 # Default: Bind to localhost:9050 for local connections.
|
||||
#SocksPort 192.168.0.1:9100 # Bind to this address:port too.
|
||||
|
||||
## Entry policies to allow/deny SOCKS requests based on IP address.
|
||||
## First entry that matches wins. If no SocksPolicy is set, we accept
|
||||
## all (and only) requests that reach a SocksPort. Untrusted users who
|
||||
## can access your SocksPort may be able to learn about the connections
|
||||
## you make.
|
||||
#SocksPolicy accept 192.168.0.0/16
|
||||
#SocksPolicy reject *
|
||||
|
||||
## Logs go to stdout at level "notice" unless redirected by something
|
||||
## else, like one of the below lines. You can have as many Log lines as
|
||||
## you want.
|
||||
##
|
||||
## We advise using "notice" in most cases, since anything more verbose
|
||||
## may provide sensitive information to an attacker who obtains the logs.
|
||||
##
|
||||
## Send all messages of level 'notice' or higher to /var/log/tor/notices.log
|
||||
#Log notice file /var/log/tor/notices.log
|
||||
## Send every possible message to /var/log/tor/debug.log
|
||||
#Log debug file /var/log/tor/debug.log
|
||||
## Use the system log instead of Tor's logfiles
|
||||
#Log notice syslog
|
||||
## To send all messages to stderr:
|
||||
#Log debug stderr
|
||||
|
||||
## Uncomment this to start the process in the background... or use
|
||||
## --runasdaemon 1 on the command line. This is ignored on Windows;
|
||||
## see the FAQ entry if you want Tor to run as an NT service.
|
||||
#RunAsDaemon 1
|
||||
|
||||
## The directory for keeping all the keys/etc. By default, we store
|
||||
## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
|
||||
#DataDirectory /var/lib/tor
|
||||
|
||||
## The port on which Tor will listen for local connections from Tor
|
||||
## controller applications, as documented in control-spec.txt.
|
||||
#ControlPort 9051
|
||||
## If you enable the controlport, be sure to enable one of these
|
||||
## authentication methods, to prevent attackers from accessing it.
|
||||
#HashedControlPassword 16:872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
|
||||
#CookieAuthentication 1
|
||||
|
||||
############### This section is just for location-hidden services ###
|
||||
|
||||
## Once you have configured a hidden service, you can look at the
|
||||
## contents of the file ".../hidden_service/hostname" for the address
|
||||
## to tell people.
|
||||
##
|
||||
## HiddenServicePort x y:z says to redirect requests on port x to the
|
||||
## address y:z.
|
||||
|
||||
#HiddenServiceDir /var/lib/tor/hidden_service/
|
||||
#HiddenServicePort 80 127.0.0.1:80
|
||||
|
||||
#HiddenServiceDir /var/lib/tor/other_hidden_service/
|
||||
#HiddenServicePort 80 127.0.0.1:80
|
||||
#HiddenServicePort 22 127.0.0.1:22
|
||||
|
||||
################ This section is just for relays #####################
|
||||
#
|
||||
## See https://www.torproject.org/docs/tor-doc-relay for details.
|
||||
|
||||
## Required: what port to advertise for incoming Tor connections.
|
||||
#ORPort 9001
|
||||
## If you want to listen on a port other than the one advertised in
|
||||
## ORPort (e.g. to advertise 443 but bind to 9090), you can do it as
|
||||
## follows. You'll need to do ipchains or other port forwarding
|
||||
## yourself to make this work.
|
||||
#ORPort 443 NoListen
|
||||
#ORPort 127.0.0.1:9090 NoAdvertise
|
||||
|
||||
## The IP address or full DNS name for incoming connections to your
|
||||
## relay. Leave commented out and Tor will guess.
|
||||
#Address noname.example.com
|
||||
|
||||
## If you have multiple network interfaces, you can specify one for
|
||||
## outgoing traffic to use.
|
||||
# OutboundBindAddress 10.0.0.5
|
||||
|
||||
## A handle for your relay, so people don't have to refer to it by key.
|
||||
#Nickname ididnteditheconfig
|
||||
|
||||
## Define these to limit how much relayed traffic you will allow. Your
|
||||
## own traffic is still unthrottled. Note that RelayBandwidthRate must
|
||||
## be at least 20 KB.
|
||||
## Note that units for these config options are bytes per second, not bits
|
||||
## per second, and that prefixes are binary prefixes, i.e. 2^10, 2^20, etc.
|
||||
#RelayBandwidthRate 100 KB # Throttle traffic to 100KB/s (800Kbps)
|
||||
#RelayBandwidthBurst 200 KB # But allow bursts up to 200KB/s (1600Kbps)
|
||||
|
||||
## Use these to restrict the maximum traffic per day, week, or month.
|
||||
## Note that this threshold applies separately to sent and received bytes,
|
||||
## not to their sum: setting "4 GB" may allow up to 8 GB total before
|
||||
## hibernating.
|
||||
##
|
||||
## Set a maximum of 4 gigabytes each way per period.
|
||||
#AccountingMax 4 GB
|
||||
## Each period starts daily at midnight (AccountingMax is per day)
|
||||
#AccountingStart day 00:00
|
||||
## Each period starts on the 3rd of the month at 15:00 (AccountingMax
|
||||
## is per month)
|
||||
#AccountingStart month 3 15:00
|
||||
|
||||
## Administrative contact information for this relay or bridge. This line
|
||||
## can be used to contact you if your relay or bridge is misconfigured or
|
||||
## something else goes wrong. Note that we archive and publish all
|
||||
## descriptors containing these lines and that Google indexes them, so
|
||||
## spammers might also collect them. You may want to obscure the fact that
|
||||
## it's an email address and/or generate a new address for this purpose.
|
||||
#ContactInfo Random Person <nobody AT example dot com>
|
||||
## You might also include your PGP or GPG fingerprint if you have one:
|
||||
#ContactInfo 0xFFFFFFFF Random Person <nobody AT example dot com>
|
||||
|
||||
## Uncomment this to mirror directory information for others. Please do
|
||||
## if you have enough bandwidth.
|
||||
#DirPort 9030 # what port to advertise for directory connections
|
||||
## If you want to listen on a port other than the one advertised in
|
||||
## DirPort (e.g. to advertise 80 but bind to 9091), you can do it as
|
||||
## follows. below too. You'll need to do ipchains or other port
|
||||
## forwarding yourself to make this work.
|
||||
#DirPort 80 NoListen
|
||||
#DirPort 127.0.0.1:9091 NoAdvertise
|
||||
## Uncomment to return an arbitrary blob of html on your DirPort. Now you
|
||||
## can explain what Tor is if anybody wonders why your IP address is
|
||||
## contacting them. See contrib/tor-exit-notice.html in Tor's source
|
||||
## distribution for a sample.
|
||||
#DirPortFrontPage /etc/tor/tor-exit-notice.html
|
||||
|
||||
## Uncomment this if you run more than one Tor relay, and add the identity
|
||||
## key fingerprint of each Tor relay you control, even if they're on
|
||||
## different networks. You declare it here so Tor clients can avoid
|
||||
## using more than one of your relays in a single circuit. See
|
||||
## https://www.torproject.org/docs/faq#MultipleRelays
|
||||
## However, you should never include a bridge's fingerprint here, as it would
|
||||
## break its concealability and potentionally reveal its IP/TCP address.
|
||||
#MyFamily $keyid,$keyid,...
|
||||
|
||||
## A comma-separated list of exit policies. They're considered first
|
||||
## to last, and the first match wins. If you want to _replace_
|
||||
## the default exit policy, end this with either a reject *:* or an
|
||||
## accept *:*. Otherwise, you're _augmenting_ (prepending to) the
|
||||
## default exit policy. Leave commented to just use the default, which is
|
||||
## described in the man page or at
|
||||
## https://www.torproject.org/documentation.html
|
||||
##
|
||||
## Look at https://www.torproject.org/faq-abuse.html#TypicalAbuses
|
||||
## for issues you might encounter if you use the default exit policy.
|
||||
##
|
||||
## If certain IPs and ports are blocked externally, e.g. by your firewall,
|
||||
## you should update your exit policy to reflect this -- otherwise Tor
|
||||
## users will be told that those destinations are down.
|
||||
##
|
||||
## For security, by default Tor rejects connections to private (local)
|
||||
## networks, including to your public IP address. See the man page entry
|
||||
## for ExitPolicyRejectPrivate if you want to allow "exit enclaving".
|
||||
##
|
||||
#ExitPolicy accept *:6660-6667,reject *:* # allow irc ports but no more
|
||||
#ExitPolicy accept *:119 # accept nntp as well as default exit policy
|
||||
#ExitPolicy reject *:* # no exits allowed
|
||||
|
||||
## Bridge relays (or "bridges") are Tor relays that aren't listed in the
|
||||
## main directory. Since there is no complete public list of them, even an
|
||||
## ISP that filters connections to all the known Tor relays probably
|
||||
## won't be able to block all the bridges. Also, websites won't treat you
|
||||
## differently because they won't know you're running Tor. If you can
|
||||
## be a real relay, please do; but if not, be a bridge!
|
||||
#BridgeRelay 1
|
||||
## By default, Tor will advertise your bridge to users through various
|
||||
## mechanisms like https://bridges.torproject.org/. If you want to run
|
||||
## a private bridge, for example because you'll give out your bridge
|
||||
## address manually to your friends, uncomment this line:
|
||||
#PublishServerDescriptor 0
|
||||
|
||||
41
home/.unison/custom.prf
Normal file
41
home/.unison/custom.prf
Normal file
@@ -0,0 +1,41 @@
|
||||
# Unison preferences
|
||||
label = Sync the main stuff into the cloud to the start hub
|
||||
#root = /home/jonas/synced
|
||||
#root = ssh://jonas@hahn1.one/synced
|
||||
|
||||
# Automatically sync
|
||||
auto = true
|
||||
batch = true
|
||||
|
||||
|
||||
# Warning this overwrites files and the overwritten ones are backuped
|
||||
prefer = newer
|
||||
|
||||
# Settings for this sync
|
||||
#merge = Name * -> diff3 -m CURRENT1 CURRENTARCH CURRENT2 > NEW
|
||||
|
||||
# Optional: Ignore temporary or VCS files
|
||||
ignore = Name .DS_Store
|
||||
ignore = Name *~
|
||||
|
||||
# Ignore backups when syncing
|
||||
ignore = Name .bak.?.*
|
||||
ignore = Name .git
|
||||
|
||||
# Ignore the webdav folder
|
||||
ignore = Name webdav_folder
|
||||
ignore = Name other_folder
|
||||
|
||||
# Backup settings
|
||||
backup = Name *
|
||||
backuplocation = local
|
||||
#backupdir = /home/jonas/.unison/backup
|
||||
#backupcurrent = Name *
|
||||
maxbackups = 5
|
||||
|
||||
# Performance/logging
|
||||
log = false
|
||||
times = true
|
||||
silent = false
|
||||
sshargs = -C
|
||||
|
||||
6
home/.vitetris
Normal file
6
home/.vitetris
Normal file
@@ -0,0 +1,6 @@
|
||||
softdrop=1
|
||||
rotate=3
|
||||
height=0
|
||||
level=0
|
||||
mode=1
|
||||
[stdin]
|
||||
165
home/.w3m/config
Normal file
165
home/.w3m/config
Normal file
@@ -0,0 +1,165 @@
|
||||
tabstop 8
|
||||
indent_incr 4
|
||||
pixel_per_char 7
|
||||
pixel_per_line 14
|
||||
frame 0
|
||||
target_self 0
|
||||
open_tab_blank 0
|
||||
open_tab_dl_list 0
|
||||
display_link 0
|
||||
display_link_number 0
|
||||
decode_url 0
|
||||
display_lineinfo 0
|
||||
ext_dirlist 1
|
||||
dirlist_cmd file:///$LIB/dirlist.cgi
|
||||
use_dictcommand 1
|
||||
dictcommand file:///$LIB/w3mdict.cgi
|
||||
multicol 0
|
||||
alt_entity 0
|
||||
graphic_char 0
|
||||
display_borders 0
|
||||
disable_center 0
|
||||
fold_textarea 0
|
||||
display_ins_del 1
|
||||
ignore_null_img_alt 1
|
||||
view_unseenobject 0
|
||||
display_image 1
|
||||
pseudo_inlines 1
|
||||
auto_image 1
|
||||
max_load_image 4
|
||||
ext_image_viewer 1
|
||||
image_scale 100
|
||||
inline_img_protocol 0
|
||||
imgdisplay w3mimgdisplay
|
||||
image_map_list 1
|
||||
fold_line 0
|
||||
show_lnum 0
|
||||
show_srch_str 1
|
||||
label_topline 0
|
||||
nextpage_topline 0
|
||||
color 1
|
||||
high-intensity 0
|
||||
basic_color terminal
|
||||
anchor_color blue
|
||||
image_color green
|
||||
form_color red
|
||||
mark_color cyan
|
||||
bg_color terminal
|
||||
active_style 0
|
||||
active_color cyan
|
||||
visited_anchor 0
|
||||
visited_color magenta
|
||||
pagerline 10000
|
||||
use_history 1
|
||||
history 100
|
||||
save_hist 1
|
||||
confirm_qq 1
|
||||
close_tab_back 0
|
||||
mark 0
|
||||
emacs_like_lineedit 0
|
||||
space_autocomplete 0
|
||||
vi_prec_num 0
|
||||
mark_all_pages 0
|
||||
wrap_search 0
|
||||
ignorecase_search 1
|
||||
use_mouse 1
|
||||
reverse_mouse 0
|
||||
relative_wheel_scroll 0
|
||||
relative_wheel_scroll_ratio 30
|
||||
fixed_wheel_scroll_count 5
|
||||
clear_buffer 1
|
||||
decode_cte 0
|
||||
auto_uncompress 0
|
||||
preserve_timestamp 1
|
||||
keymap_file keymap
|
||||
document_root
|
||||
personal_document_root
|
||||
cgi_bin
|
||||
index_file
|
||||
tmp_dir
|
||||
mime_types ~/.mime.types, /nix/store/4azy3cbsnxhrnrkf3j1jn6nnfsi9h0js-w3m-0.5.3+git20230121/etc/mime.types
|
||||
mailcap ~/.w3m/mailcap, /nix/store/4azy3cbsnxhrnrkf3j1jn6nnfsi9h0js-w3m-0.5.3+git20230121/etc/w3m/mailcap
|
||||
urimethodmap ~/.w3m/urimethodmap, /nix/store/4azy3cbsnxhrnrkf3j1jn6nnfsi9h0js-w3m-0.5.3+git20230121/etc/w3m/urimethodmap
|
||||
editor /etc/profiles/per-user/jonas/bin/nvim
|
||||
mailto_options 1
|
||||
mailer
|
||||
extbrowser /no-such-path/bin/firefox
|
||||
extbrowser2
|
||||
extbrowser3
|
||||
extbrowser4
|
||||
extbrowser5
|
||||
extbrowser6
|
||||
extbrowser7
|
||||
extbrowser8
|
||||
extbrowser9
|
||||
bgextviewer 1
|
||||
use_lessopen 0
|
||||
passwd_file ~/.w3m/passwd
|
||||
disable_secret_security_check 0
|
||||
ftppasswd
|
||||
ftppass_hostnamegen 1
|
||||
pre_form_file ~/.w3m/pre_form
|
||||
siteconf_file ~/.w3m/siteconf
|
||||
user_agent
|
||||
no_referer 0
|
||||
cross_origin_referer 1
|
||||
accept_language en;q=1.0
|
||||
accept_encoding gzip, compress, bzip, bzip2, deflate
|
||||
accept_media text/html, text/*;q=0.5, image/*
|
||||
argv_is_url 1
|
||||
retry_http 1
|
||||
default_url 1
|
||||
follow_redirection 10
|
||||
meta_refresh 0
|
||||
localhost_only 0
|
||||
dns_order 0
|
||||
nntpserver
|
||||
nntpmode
|
||||
max_news 50
|
||||
use_proxy 1
|
||||
http_proxy
|
||||
https_proxy
|
||||
gopher_proxy
|
||||
ftp_proxy
|
||||
no_proxy
|
||||
noproxy_netaddr 1
|
||||
no_cache 0
|
||||
ssl_forbid_method 2, 3, t, 5
|
||||
ssl_min_version
|
||||
ssl_cipher
|
||||
ssl_verify_server 1
|
||||
ssl_cert_file
|
||||
ssl_key_file
|
||||
ssl_ca_path
|
||||
ssl_ca_file
|
||||
ssl_ca_default 1
|
||||
use_cookie 1
|
||||
show_cookie 0
|
||||
accept_cookie 1
|
||||
accept_bad_cookie 0
|
||||
cookie_reject_domains
|
||||
cookie_accept_domains
|
||||
cookie_avoid_wrong_number_of_dots
|
||||
display_charset UTF-8
|
||||
document_charset UTF-8
|
||||
auto_detect 2
|
||||
system_charset UTF-8
|
||||
follow_locale 1
|
||||
ext_halfdump 0
|
||||
use_wide 1
|
||||
use_combining 1
|
||||
east_asian_width 0
|
||||
use_language_tag 1
|
||||
ucs_conv 1
|
||||
pre_conv 0
|
||||
search_conv 1
|
||||
fix_width_conv 1
|
||||
use_gb12345_map 0
|
||||
use_jisx0201 0
|
||||
use_jisc6226 0
|
||||
use_jisx0201k 0
|
||||
use_jisx0212 0
|
||||
use_jisx0213 0
|
||||
strict_iso2022 1
|
||||
gb18030_as_ucs 0
|
||||
simple_preserve_space 0
|
||||
104
home/.zshrc
Normal file
104
home/.zshrc
Normal file
@@ -0,0 +1,104 @@
|
||||
# Main zsh configuration
|
||||
|
||||
# Common modules
|
||||
source $HOME/.common_shell
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
bindkey -v
|
||||
|
||||
function rgnvim() {
|
||||
rg --vimgrep "$@" \
|
||||
| fzf --delimiter : --nth 1,2,3,4 \
|
||||
--preview 'bat --style=numbers --color=always --highlight-line {2} {1}' \
|
||||
| awk -F: '{print $1, $2}' \
|
||||
| xargs -r sh -c 'nvim +"$1" "$0"'
|
||||
}
|
||||
|
||||
# Functions
|
||||
function battery_status() {
|
||||
# Get the percentage of both batteries using acpi and extract the percentage values
|
||||
#
|
||||
perc1=$(acpi | grep -i 'Battery 0' | sed 's/^[^,]*, //' | awk '{print $1}' | tr -d '%,')
|
||||
perc2=$(acpi | grep -i 'Battery 1' | sed 's/^[^,]*, //' | awk '{print $1}' | tr -d '%,')
|
||||
echo -e "$(((perc1 + perc2) / 2))"
|
||||
}
|
||||
function time_status_custom() {
|
||||
# Get the current local time without seconds
|
||||
time=$(timedatectl | grep Local | awk '{print $5}' | awk -F: '{print $1 ":" $2 }')
|
||||
echo -e "$time"
|
||||
}
|
||||
|
||||
function up() {
|
||||
# TODO: implement this function do autodetect what unison script to run
|
||||
# Depending on the home user
|
||||
user=$(pwd)
|
||||
echo $user
|
||||
}
|
||||
|
||||
function bdata() {
|
||||
cd ~/shelter/projects/bigdata2025/
|
||||
nvim .
|
||||
}
|
||||
|
||||
function sc() {
|
||||
cd ~/shelter/projects/scripts/
|
||||
nvim . -c
|
||||
}
|
||||
function tm() {
|
||||
if [[ -n "$TMUX" ]]; then
|
||||
tmux detach
|
||||
else
|
||||
tmux attach 2>/dev/null || tmux new-session
|
||||
fi
|
||||
}
|
||||
function r() {
|
||||
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
|
||||
yazi "$@" --cwd-file="$tmp"
|
||||
if cwd="$(command cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
|
||||
builtin cd -- "$cwd"
|
||||
fi
|
||||
rm -f -- "$tmp"
|
||||
}
|
||||
|
||||
|
||||
# Update the terminal colors
|
||||
if [ "$TERM" = "linux" ]; then
|
||||
echo -en "\e]P0000000" #black
|
||||
echo -en "\e]P8393939" #darkgrey
|
||||
echo -en "\e]P1D75F5F" #darkred
|
||||
echo -en "\e]P9E33636" #red
|
||||
echo -en "\e]P287AF5F" #darkgreen
|
||||
echo -en "\e]PA98E34D" #green
|
||||
echo -en "\e]P3D7AF87" #brown
|
||||
echo -en "\e]PBFFD75F" #yellow
|
||||
echo -en "\e]P49292E3" #darkblue
|
||||
echo -en "\e]PCB9B9F3" #blue
|
||||
echo -en "\e]P5BD53A5" #darkmagenta
|
||||
echo -en "\e]PDD633B2" #magenta
|
||||
echo -en "\e]P65FAFAF" #darkcyan
|
||||
echo -en "\e]PE44C9C9" #cyan
|
||||
echo -en "\e]P7AAAAAA" #lightgrey
|
||||
echo -en "\e]PFCCCCCC" #white
|
||||
clear #for background artifacting
|
||||
fi
|
||||
|
||||
# useful fror checking for nix or other
|
||||
if [ -f "/etc/NIXOS" ]; then
|
||||
# nachbesserungen
|
||||
alias cd="z"
|
||||
alias ls="eza"
|
||||
alias cat="bat"
|
||||
alias ls='exa'
|
||||
export TERM='kitty'
|
||||
# We're on NixOS
|
||||
eval "$(starship init zsh)"
|
||||
else
|
||||
# Custom manual prompt
|
||||
alias z="cd"
|
||||
#Default prompt
|
||||
if [ -f "$HOME/programs_local/starship" ]; then
|
||||
export STARSHIP_CONFIG=~/configuration/other/starship.toml
|
||||
eval "$(starship init zsh)"
|
||||
else
|
||||
PS1="%n@%m %1~$ "
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user