aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/gdb/gdbinit (renamed from .gdbinit)0
-rw-r--r--.config/mbsyncrc (renamed from .mbsyncrc)0
-rw-r--r--.config/systemd/user/mbsync.service2
-rwxr-xr-x.local/share/bin/163
-rwxr-xr-x.local/share/bin/=2
-rwxr-xr-x.xinitrc6
-rw-r--r--.zshrc5
7 files changed, 10 insertions, 8 deletions
diff --git a/.gdbinit b/.config/gdb/gdbinit
index 7e59573..7e59573 100644
--- a/.gdbinit
+++ b/.config/gdb/gdbinit
diff --git a/.mbsyncrc b/.config/mbsyncrc
index d321628..d321628 100644
--- a/.mbsyncrc
+++ b/.config/mbsyncrc
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/.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/.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 `= <expr>`
-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