-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstartup.sh
executable file
·36 lines (32 loc) · 1.37 KB
/
startup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh
set -x
[ -f ~/.config/wall.png ] && xwallpaper --zoom ~/.config/wall.png || xwallpaper --zoom ~/.config/default_wall.jpg &
dwmblocks | tee /tmp/dwmblock.log &
xset r rate 300 50 &
cp ~/.cach/zsh/history ~/.cache/zsh/history-$(date +"%d-%m-%Y-%T")
unclutter &
sxhkd &
xrdb ~/.cache/wal/.Xresources # || xrdb ~/.Xresources & # update x database
bluetoothctl power on &
dropbox &
xautolock -time 30 -locker lock.sh -notify 30 -notifier "notify-send --urgency low --expire-time=10000 -- 'Locking screen in 30 seconds'" &
xss-lock lock.sh &
surf hackernews.com &
wmbubble &
# LD_LIBRARY_PATH="/opt/gai/lib" shermans_applet &
syncthing --no-browser &
# surf https://rss.bsd.am &
pulseaudio -D
dunst &
source $HOME/intel/oneapi/setvars.sh && \
export ZES_ENABLE_SYSMAN=1 && \
OLLAMA_ORIGINS="app://obsidian.md*" ollama serve 2>&1 | tee /tmp/ollama.log &
# backup zsh history for good
#
# Watch for updates in todo.txt
ls ~/Dropbox/todo/todo.txt | entr -n -r notify-send "Update in todo list 📔" -u critical &
ls ~/Dropbox/todo/done.txt | entr -n -r ~/.local/bin/vis_life.py &
# Watch for updates in xresources when template of pywal has changed
ls ~/.config/wal/templates/.Xresources | entr -n -r wal -n -i .config/wall.png --backend $(cat $HOME/.config/pywal_backend) &
ls ~/.cache/wal/.Xresources | entr -n -r xrdb ~/.cache/wal/.Xresources &
notify-send "Welcome to Rice of rafasaurus"