From 836e2f723b9856fa6ca9eee1494fe6cdb915df2b Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 2 Mar 2024 23:38:47 +0100 Subject: more cleanup --- .config/gdb/gdbinit | 2 ++ .config/mbsyncrc | 24 ++++++++++++++++++++++++ .config/systemd/user/mbsync.service | 2 +- .gdbinit | 2 -- .local/share/bin/16 | 3 +++ .local/share/bin/= | 2 ++ .mbsyncrc | 24 ------------------------ .xinitrc | 6 ++++-- .zshrc | 5 ----- 9 files changed, 36 insertions(+), 34 deletions(-) create mode 100644 .config/gdb/gdbinit create mode 100644 .config/mbsyncrc delete mode 100644 .gdbinit create mode 100755 .local/share/bin/16 create mode 100755 .local/share/bin/= delete mode 100644 .mbsyncrc diff --git a/.config/gdb/gdbinit b/.config/gdb/gdbinit new file mode 100644 index 0000000..7e59573 --- /dev/null +++ b/.config/gdb/gdbinit @@ -0,0 +1,2 @@ +set disassembly-flavor intel +set debuginfod enabled off diff --git a/.config/mbsyncrc b/.config/mbsyncrc new file mode 100644 index 0000000..d321628 --- /dev/null +++ b/.config/mbsyncrc @@ -0,0 +1,24 @@ +IMAPAccount pipeframe +Host mail.pipeframe.xyz +Port 993 +User loek@mail.pipeframe.xyz +PassCmd "pass srv/fortnite/passwd/loek" +SSLType IMAPS +CertificateFile /etc/ssl/certs/ca-certificates.crt + +IMAPStore pipeframe-remote +Account pipeframe + +MaildirStore pipeframe-local +SubFolders Verbatim +Path ~/docs/mail/pipeframe/ +Inbox ~/docs/mail/pipeframe/Inbox + +Channel pipeframe +Far :pipeframe-remote: +Near :pipeframe-local: +# Patterns "/Inbox" "/Drafts" "/Junk" "/Sent" "/Trash" "/Archive" +Patterns * +Create Both +SyncState * + diff --git a/.config/systemd/user/mbsync.service b/.config/systemd/user/mbsync.service index 8a26bbd..892b701 100644 --- a/.config/systemd/user/mbsync.service +++ b/.config/systemd/user/mbsync.service @@ -3,5 +3,5 @@ Description=Mailbox synchronization service [Service] Type=oneshot -ExecStart=/usr/bin/mbsync -Va +ExecStart=/usr/bin/mbsync --verbose --all --config "${XDG_CONFIG_HOME}/mbsyncrc" diff --git a/.gdbinit b/.gdbinit deleted file mode 100644 index 7e59573..0000000 --- a/.gdbinit +++ /dev/null @@ -1,2 +0,0 @@ -set disassembly-flavor intel -set debuginfod enabled off diff --git a/.local/share/bin/16 b/.local/share/bin/16 new file mode 100755 index 0000000..f8cc49f --- /dev/null +++ b/.local/share/bin/16 @@ -0,0 +1,3 @@ +#!/bin/sh +python3 -c 'import sys ; print(f"{int(sys.stdin.read().strip()):x}")' + diff --git a/.local/share/bin/= b/.local/share/bin/= new file mode 100755 index 0000000..59b9b45 --- /dev/null +++ b/.local/share/bin/= @@ -0,0 +1,2 @@ +#!/bin/sh +python3 -c "from math import *; deg = pi / 180; print($*)" diff --git a/.mbsyncrc b/.mbsyncrc deleted file mode 100644 index d321628..0000000 --- a/.mbsyncrc +++ /dev/null @@ -1,24 +0,0 @@ -IMAPAccount pipeframe -Host mail.pipeframe.xyz -Port 993 -User loek@mail.pipeframe.xyz -PassCmd "pass srv/fortnite/passwd/loek" -SSLType IMAPS -CertificateFile /etc/ssl/certs/ca-certificates.crt - -IMAPStore pipeframe-remote -Account pipeframe - -MaildirStore pipeframe-local -SubFolders Verbatim -Path ~/docs/mail/pipeframe/ -Inbox ~/docs/mail/pipeframe/Inbox - -Channel pipeframe -Far :pipeframe-remote: -Near :pipeframe-local: -# Patterns "/Inbox" "/Drafts" "/Junk" "/Sent" "/Trash" "/Archive" -Patterns * -Create Both -SyncState * - diff --git a/.xinitrc b/.xinitrc index 5859886..a2d9bc6 100755 --- a/.xinitrc +++ b/.xinitrc @@ -1,11 +1,13 @@ #!/bin/sh . ~/.profile -systemctl --user import-environment DISPLAY +# make current environment available to systemd user units +systemctl --user import-environment $(export | cut -d= -f1) + xrdb -override "$XDG_CONFIG_HOME/X11/base" # https://github.com/swaywm/sway/wiki#gtk-applications-take-20-seconds-to-start dbus-update-activation-environment --systemd DISPLAY -i3 +exec i3 diff --git a/.zshrc b/.zshrc index f44c660..1303dbf 100644 --- a/.zshrc +++ b/.zshrc @@ -18,11 +18,6 @@ bindkey '^[[Z' reverse-menu-complete # zsh autocompletion compinit -D -# evaluate math expression in python by running `= ` -function = () { python3 -c "from math import *; deg = pi / 180; print($*)" } -aliases[=]="noglob =" -alias 16="python3 -c 'import sys;print(f\"{int(sys.stdin.read().strip()):x}\")'" - # cleanup fork rm -rf ~/.xsession-errors ~/.xsession-errors.old ~/.zshrc.zwc ~/.lesshst ~/.lyrics ~/.android ~/.zcalc_history .git-credentials .node_repl_history .python_history -- cgit v1.2.3