forked from kunsi/dotfiles
stuff
This commit is contained in:
parent
0083bc65b7
commit
e7371b3e83
6 changed files with 48 additions and 26 deletions
|
@ -9,7 +9,7 @@ git --git-dir=$HOME/.cfg/ --work-tree=$HOME push
|
||||||
# Fetch a fresh copy of all locally cloned git repos
|
# Fetch a fresh copy of all locally cloned git repos
|
||||||
for dir in $(find /home/kunsi/git -mindepth 1 -maxdepth 1 -type d)
|
for dir in $(find /home/kunsi/git -mindepth 1 -maxdepth 1 -type d)
|
||||||
do
|
do
|
||||||
git -C "$dir" fetch || true
|
git -C "$dir" fetch --all || true
|
||||||
done
|
done
|
||||||
|
|
||||||
# Do a backup.
|
# Do a backup.
|
||||||
|
|
|
@ -31,7 +31,4 @@ colors:
|
||||||
cursor:
|
cursor:
|
||||||
blinking: true
|
blinking: true
|
||||||
|
|
||||||
window:
|
|
||||||
decorations: None
|
|
||||||
|
|
||||||
live_config_reload: true
|
live_config_reload: true
|
||||||
|
|
|
@ -3,17 +3,21 @@ set -U -x MPD_HOST 172.19.138.20
|
||||||
set -U fish_features stderr-nocaret qmark-noglob
|
set -U fish_features stderr-nocaret qmark-noglob
|
||||||
set PATH $PATH /home/kunsi/.local/bin /home/kunsi/.gem/ruby/2.6.0/bin/ /home/kunsi/.bin
|
set PATH $PATH /home/kunsi/.local/bin /home/kunsi/.gem/ruby/2.6.0/bin/ /home/kunsi/.bin
|
||||||
|
|
||||||
alias weechat='mosh rx300 -- tmux attach-session -d -t weechat-tmux'
|
set -U -x SSH_AUTH_SOCK $(gpgconf --list-dirs agent-ssh-socket)
|
||||||
alias voc-ansible='/home/kunsi/.bin/voc-ansible'
|
gpgconf --launch gpg-agent
|
||||||
alias share-via-ssh='/home/kunsi/git/share-via-ssh/share-via-ssh'
|
|
||||||
|
|
||||||
alias tmp='cd (mktemp -d -p /home/kunsi --suffix=.(date +%F))'
|
|
||||||
|
|
||||||
alias bwr='cd ~/git/bundlewrap/'
|
alias bwr='cd ~/git/bundlewrap/'
|
||||||
alias v='vim -p'
|
alias cal='cal -v -m -3'
|
||||||
|
alias ipa='ip -brief --color=always addr show; echo; ip --color=always route show; ip -6 --color=always route show'
|
||||||
alias l='ls -lAh'
|
alias l='ls -lAh'
|
||||||
alias please='sudo'
|
alias p='python'
|
||||||
|
alias rm='rm --one-file-system'
|
||||||
|
alias share-via-ssh='/home/kunsi/git/share-via-ssh/share-via-ssh'
|
||||||
|
alias tmp='cd (mktemp -d -p /home/kunsi --suffix=.(date +%F))'
|
||||||
|
alias v='vim -p'
|
||||||
|
alias voc-ansible='/home/kunsi/.bin/voc-ansible'
|
||||||
|
alias voc2gui='cd /home/kunsi/git/voctomix/ && .venv/bin/python voctogui/voctogui.py'
|
||||||
|
alias weechat='mosh rx300 -- tmux attach-session -d -t weechat-tmux'
|
||||||
alias youtube-dl='yt-dlp --compat-options youtube-dl'
|
alias youtube-dl='yt-dlp --compat-options youtube-dl'
|
||||||
|
|
||||||
alias lumos='mosquitto_pub -h 172.19.138.20 -t /switch/wohnzimmer/stehlampe/cmnd/POWER -m "ON"'
|
alias lumos='mosquitto_pub -h 172.19.138.20 -t /switch/wohnzimmer/stehlampe/cmnd/POWER -m "ON"'
|
||||||
|
@ -31,16 +35,8 @@ alias gp='git push'
|
||||||
alias gpu='git push -u origin HEAD'
|
alias gpu='git push -u origin HEAD'
|
||||||
alias gs='git status --short'
|
alias gs='git status --short'
|
||||||
|
|
||||||
alias rm='rm --one-file-system'
|
|
||||||
alias cal='cal -v -m -3'
|
|
||||||
|
|
||||||
alias ipa='ip -brief --color=always addr show; echo; ip --color=always route show; ip -6 --color=always route show'
|
|
||||||
|
|
||||||
alias voc2gui='cd /home/kunsi/git/voctomix/ && .venv/bin/python voctogui/voctogui.py'
|
|
||||||
|
|
||||||
set -x BW_ITEM_WORKERS 16
|
set -x BW_ITEM_WORKERS 16
|
||||||
set -x BW_NODE_WORKERS 16
|
set -x BW_NODE_WORKERS 16
|
||||||
|
|
||||||
set -x BW_KEEPASS_FILE /home/kunsi/git/passwords/voc.kdbx
|
set -x BW_KEEPASS_FILE /home/kunsi/git/passwords/voc.kdbx
|
||||||
|
|
||||||
function fish_greeting
|
function fish_greeting
|
||||||
|
|
|
@ -20,6 +20,19 @@ rules:
|
||||||
- xset s off
|
- xset s off
|
||||||
- systemctl --user stop redshift.service
|
- systemctl --user stop redshift.service
|
||||||
|
|
||||||
|
- name: 'smedia'
|
||||||
|
outputs_connected:
|
||||||
|
- DisplayPort-0
|
||||||
|
- DisplayPort-1
|
||||||
|
configure_row:
|
||||||
|
- eDP
|
||||||
|
- DisplayPort-0
|
||||||
|
- DisplayPort-1
|
||||||
|
primary: DisplayPort-1
|
||||||
|
execute_after:
|
||||||
|
- xset s off
|
||||||
|
- sudo light -S 100
|
||||||
|
|
||||||
- name: 'DP0'
|
- name: 'DP0'
|
||||||
outputs_connected:
|
outputs_connected:
|
||||||
- DisplayPort-0
|
- DisplayPort-0
|
||||||
|
|
|
@ -96,10 +96,10 @@ status.register("shell",
|
||||||
#status.register("wifionice", wifi_adapters=['wlp3s0'])
|
#status.register("wifionice", wifi_adapters=['wlp3s0'])
|
||||||
status.register("wifionice",
|
status.register("wifionice",
|
||||||
hints = {"markup": "pango"},
|
hints = {"markup": "pango"},
|
||||||
travelynx_url='travelynx.franzi.business',
|
url_on_click='https://travelynx.franzi.business/s/{last_station_no}?train={train_type}%20{train_no}',
|
||||||
wifi_adapters=['wlp3s0'],
|
wifi_adapters=['wlp3s0'],
|
||||||
format_offtrain='Wann wieder Zug?',
|
format_offtrain='Wann wieder Zug?',
|
||||||
format_ontrain='[<span color="#999999">{speed}km/h</span> ]> {next_station}[ '
|
format_ontrain='<span color="#00AA00">{train_type} {train_no}</span> [<span color="#999999">{speed}km/h</span> ]> {next_station}[ '
|
||||||
'<span color="#999999">\[{next_platform}\]</span> {arrival_time} '
|
'<span color="#999999">\[{next_platform}\]</span> {arrival_time} '
|
||||||
'({arrival_in}[ | <span color="#FF0000">{delay}</span>])][ '
|
'({arrival_in}[ | <span color="#FF0000">{delay}</span>])][ '
|
||||||
'<span color="#999999">(Net: {net_current} > \[{net_duration}\] '
|
'<span color="#999999">(Net: {net_current} > \[{net_duration}\] '
|
||||||
|
|
24
.ssh/config
24
.ssh/config
|
@ -5,16 +5,32 @@ Host *
|
||||||
|
|
||||||
Include ~/.ssh/bwnodes
|
Include ~/.ssh/bwnodes
|
||||||
|
|
||||||
|
Host akamai.lan.c3voc.de
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host cloudflare.lan.c3voc.de
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host fastly.lan.c3voc.de
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host *.lan.c3voc.de
|
||||||
|
SetEnv TERM=xterm-256color
|
||||||
|
|
||||||
|
#Host 10.73.200.201
|
||||||
|
# User voc
|
||||||
|
|
||||||
|
Host 172.19.138.4
|
||||||
|
PubkeyAcceptedKeyTypes +ssh-rsa
|
||||||
|
|
||||||
Host voc-servercase-switch
|
Host voc-servercase-switch
|
||||||
HostName 10.73.0.253
|
HostName 10.73.200.200
|
||||||
KexAlgorithms diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
|
KexAlgorithms diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
|
||||||
HostKeyAlgorithms ssh-dss,ssh-rsa
|
HostKeyAlgorithms ssh-dss,ssh-rsa
|
||||||
Ciphers aes128-cbc,3des-cbc
|
Ciphers aes128-cbc,3des-cbc
|
||||||
|
SetEnv TERM=xterm-256color
|
||||||
User admin
|
User admin
|
||||||
|
|
||||||
Host 10.73.200.101
|
|
||||||
User voc
|
|
||||||
|
|
||||||
Host r3spluto
|
Host r3spluto
|
||||||
HostName r3spluto.ffdus.de
|
HostName r3spluto.ffdus.de
|
||||||
Port 62969
|
Port 62969
|
||||||
|
|
Loading…
Reference in a new issue