20250416.1744836110
This commit is contained in:
parent
4ac6476247
commit
f2381e0978
4 changed files with 35 additions and 29 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -9,3 +9,5 @@ global/.zshrc-secrets filter=git-crypt diff=git-crypt
|
|||
global/.borgmatic/sensitive.yaml filter=git-crypt diff=git-crypt
|
||||
global/.borgmatic/pass.gpg filter=git-crypt diff=git-crypt
|
||||
global/.newsboat/miniflux filter=git-crypt diff=git-crypt
|
||||
global/.linkding_env filter=git-crypt diff=git-crypt
|
||||
|
||||
|
|
|
@ -23,30 +23,30 @@ source $ZSH/oh-my-zsh.sh
|
|||
# functions
|
||||
### ARCHIVE EXTRACTION
|
||||
# usage: ex <file>
|
||||
ex ()
|
||||
{
|
||||
if [ -f "$1" ] ; then
|
||||
case $1 in
|
||||
*.tar.bz2) tar xjf $1 ;;
|
||||
*.tar.gz) tar xzf $1 ;;
|
||||
*.bz2) bunzip2 $1 ;;
|
||||
*.rar) unrar x $1 ;;
|
||||
*.gz) gunzip $1 ;;
|
||||
*.tar) tar xf $1 ;;
|
||||
*.tbz2) tar xjf $1 ;;
|
||||
*.tgz) tar xzf $1 ;;
|
||||
*.zip) unzip $1 ;;
|
||||
*.Z) uncompress $1;;
|
||||
*.7z) 7z x $1 ;;
|
||||
*.deb) ar x $1 ;;
|
||||
*.tar.xz) tar xf $1 ;;
|
||||
*.tar.zst) unzstd $1 ;;
|
||||
*) echo "'$1' cannot be extracted via ex()" ;;
|
||||
esac
|
||||
else
|
||||
echo "'$1' is not a valid file"
|
||||
fi
|
||||
}
|
||||
# ex ()
|
||||
# {
|
||||
# if [ -f "$1" ] ; then
|
||||
# case $1 in
|
||||
# *.tar.bz2) tar xjf $1 ;;
|
||||
# *.tar.gz) tar xzf $1 ;;
|
||||
# *.bz2) bunzip2 $1 ;;
|
||||
# *.rar) unrar x $1 ;;
|
||||
# *.gz) gunzip $1 ;;
|
||||
# *.tar) tar xf $1 ;;
|
||||
# *.tbz2) tar xjf $1 ;;
|
||||
# *.tgz) tar xzf $1 ;;
|
||||
# *.zip) unzip $1 ;;
|
||||
# *.Z) uncompress $1;;
|
||||
# *.7z) 7z x $1 ;;
|
||||
# *.deb) ar x $1 ;;
|
||||
# *.tar.xz) tar xf $1 ;;
|
||||
# *.tar.zst) unzstd $1 ;;
|
||||
# *) echo "'$1' cannot be extracted via ex()" ;;
|
||||
# esac
|
||||
# else
|
||||
# echo "'$1' is not a valid file"
|
||||
# fi
|
||||
# }
|
||||
|
||||
DIARY="default"
|
||||
|
||||
|
|
|
@ -16,9 +16,11 @@ xrdb -merge ~/.Xresources &
|
|||
# xrandr settings
|
||||
~/scripts/bin/setup_displays
|
||||
|
||||
# PolicyKit Authentication Agent - Gnome
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets &
|
||||
# PolicyKit Authentication Agent - KDE
|
||||
# /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
/usr/lib/polkit-kde-authentication-agent-1 &
|
||||
# /usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets &
|
||||
/sbin/kwalletd6 &
|
||||
|
||||
sleep 2
|
||||
|
||||
|
|
|
@ -2,10 +2,12 @@
|
|||
Description=index promnesia
|
||||
|
||||
[Service]
|
||||
; ExecStart=/home/fz0x1/.local/share/pipx/venvs/promnesia/bin/promnesia index
|
||||
ExecStart=/bin/zsh -c '. /home/fz0x1/.zshrc && /home/fz0x1/.local/share/pipx/venvs/promnesia/bin/promnesia index'
|
||||
ExecStart=/home/fz0x1/.local/share/pipx/venvs/promnesia/bin/promnesia index
|
||||
Environment=HOME=/home/fz0x1
|
||||
Environment=PATH=/home/fz0x1/.local/bin:/usr/local/bin:/usr/bin
|
||||
StandardOutput=append:/tmp/promnesia-index.log
|
||||
StandardError=append:/tmp/promnesia-index.err
|
||||
EnvironmentFile=/home/fz0x1/.linkding_env
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue