20250416.1744835274

This commit is contained in:
fz0x1 2025-04-16 22:27:54 +02:00
parent 2ab53d7a93
commit 285a4b58c1
7 changed files with 48 additions and 32 deletions

View file

@ -0,0 +1,10 @@
return {
"lowitea/aw-watcher.nvim",
opts = {
aw_server = {
host = "127.0.0.1",
port = 5600,
},
},
lazy = false
}

View file

@ -56,13 +56,14 @@ set -g status on
# plugins # plugins
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-battery' # set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-sensible'
# set -g @plugin 'tmux-plugins/tmux-resurrect' # set -g @plugin 'tmux-plugins/tmux-resurrect'
# set -g @plugin 'tmux-plugins/tmux-continuum' # set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'MunifTanjim/tmux-mode-indicator' # set -g @plugin 'MunifTanjim/tmux-mode-indicator'
set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'schasse/tmux-jump' set -g @plugin 'schasse/tmux-jump'
set -g @plugin 'https://git.fz0x1.wtf/fz0x1/aw-watcher-tmux.git'
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'

View file

@ -23,30 +23,30 @@ source $ZSH/oh-my-zsh.sh
# functions # functions
### ARCHIVE EXTRACTION ### ARCHIVE EXTRACTION
# usage: ex <file> # usage: ex <file>
ex () # ex ()
{ # {
if [ -f "$1" ] ; then # if [ -f "$1" ] ; then
case $1 in # case $1 in
*.tar.bz2) tar xjf $1 ;; # *.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;; # *.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;; # *.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;; # *.rar) unrar x $1 ;;
*.gz) gunzip $1 ;; # *.gz) gunzip $1 ;;
*.tar) tar xf $1 ;; # *.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;; # *.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;; # *.tgz) tar xzf $1 ;;
*.zip) unzip $1 ;; # *.zip) unzip $1 ;;
*.Z) uncompress $1;; # *.Z) uncompress $1;;
*.7z) 7z x $1 ;; # *.7z) 7z x $1 ;;
*.deb) ar x $1 ;; # *.deb) ar x $1 ;;
*.tar.xz) tar xf $1 ;; # *.tar.xz) tar xf $1 ;;
*.tar.zst) unzstd $1 ;; # *.tar.zst) unzstd $1 ;;
*) echo "'$1' cannot be extracted via ex()" ;; # *) echo "'$1' cannot be extracted via ex()" ;;
esac # esac
else # else
echo "'$1' is not a valid file" # echo "'$1' is not a valid file"
fi # fi
} # }
DIARY="default" DIARY="default"

Binary file not shown.

View file

@ -16,9 +16,11 @@ xrdb -merge ~/.Xresources &
# xrandr settings # xrandr settings
~/scripts/bin/setup_displays ~/scripts/bin/setup_displays
# PolicyKit Authentication Agent - Gnome # PolicyKit Authentication Agent - KDE
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & # /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets & /usr/lib/polkit-kde-authentication-agent-1 &
# /usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets &
/sbin/kwalletd6 &
sleep 2 sleep 2
@ -31,7 +33,7 @@ i3-msg restart
dunst & dunst &
# vpn # vpn
mullvad-vpn & # mullvad-vpn &
# caffeine # caffeine
caffeine start & caffeine start &

View file

@ -2,10 +2,13 @@
Description=index promnesia Description=index promnesia
[Service] [Service]
; ExecStart=/home/fz0x1/.local/share/pipx/venvs/promnesia/bin/promnesia index 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' Environment=HOME=/home/fz0x1
Environment=PATH=/home/fz0x1/.local/bin:/usr/local/bin:/usr/bin
; ExecStart=/bin/zsh -c '. /home/fz0x1/.zshrc && /home/fz0x1/.local/share/pipx/venvs/promnesia/bin/promnesia index'
StandardOutput=append:/tmp/promnesia-index.log StandardOutput=append:/tmp/promnesia-index.log
StandardError=append:/tmp/promnesia-index.err StandardError=append:/tmp/promnesia-index.err
EnvironmentFile=/home/fz0x1/.linkding_env
Restart=on-failure Restart=on-failure
RestartSec=10 RestartSec=10