mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-27 05:34:35 +00:00
Merge branch 'arch' into gentoo
This commit is contained in:
commit
04f2c314c4
4
.gitmodules
vendored
4
.gitmodules
vendored
|
@ -7,6 +7,6 @@
|
||||||
[submodule "root/usr/share/zsh/site-functions/zsh-syntax-highlighting"]
|
[submodule "root/usr/share/zsh/site-functions/zsh-syntax-highlighting"]
|
||||||
path = "root/usr/share/zsh/site-functions/zsh-syntax-highlighting"
|
path = "root/usr/share/zsh/site-functions/zsh-syntax-highlighting"
|
||||||
url = "https://github.com/zsh-users/zsh-syntax-highlighting"
|
url = "https://github.com/zsh-users/zsh-syntax-highlighting"
|
||||||
[submodule "home/.local/src/z.lua"]
|
[submodule "root/usr/local/src/z.lua"]
|
||||||
path = "home/.local/src/z.lua"
|
path = "root/usr/local/src/z.lua"
|
||||||
url = "https://github.com/skywind3000/z.lua"
|
url = "https://github.com/skywind3000/z.lua"
|
||||||
|
|
|
@ -61,5 +61,5 @@ zstyle ':completion:::::' completer _expand _complete _ignored _approximate #ena
|
||||||
# Load extensions (should be last)
|
# Load extensions (should be last)
|
||||||
. /usr/share/zsh/site-functions/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
|
. /usr/share/zsh/site-functions/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
|
||||||
. /usr/share/zsh/site-functions/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null
|
. /usr/share/zsh/site-functions/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null
|
||||||
eval "$(lua ~/.local/src/z.lua/z.lua --init zsh enhanced)"
|
eval "$(lua /usr/local/src/z.lua/z.lua --init zsh enhanced)"
|
||||||
|
|
||||||
|
|
12
root/usr/local/bin/cron-notify
Executable file
12
root/usr/local/bin/cron-notify
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Crontab requires DISPLAY and XDG_RUNTIME_HOME
|
||||||
|
# to be set when running notify-send, this script
|
||||||
|
# makes defines those to make it eaiser to send
|
||||||
|
# notifications from crontab without cluttering it
|
||||||
|
# It sets "Cron Notification" title, rest of the
|
||||||
|
# arguments are passed to notfiy-send
|
||||||
|
|
||||||
|
XDG_RUNTIME_DIR="/run/user/$(id -u)" \
|
||||||
|
DISPLAY=:0 \
|
||||||
|
notify-send "Cron Notification" $@
|
||||||
|
|
Loading…
Reference in a new issue