mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-13 23:51:34 +09:00
Wallpaper : crond added
This commit is contained in:
@ -7,12 +7,8 @@
|
||||
#picom -b --config /home/jaeus/.config/i3/picom.conf &
|
||||
# Enable screen locking on suspend
|
||||
#xss-lock -- slock &
|
||||
# Fire it up for WSL
|
||||
VETHER_IP=$(/bin/grep nameserver /etc/resolv.conf 2> /dev/null | /bin/tr -s ' ' | /bin/cut -d' ' -f2)
|
||||
export DISPLAY=$VETHER_IP:10.0
|
||||
#export DISPLAY=192.168.144.1:10.0
|
||||
|
||||
rm ~/.emacs.d/emacs.el
|
||||
picom -b --config $HOME/.xmonad/scripts/picom.conf &
|
||||
~/scripts/random_wallpaper.sh ~/ShareDirectory/wallpaper/karina/portrait
|
||||
~/scripts/random_wallpaper.sh
|
||||
exec dbus-launch --exit-with-session emacs -mm --debug-init -l ~/.emacs.d/desktop.el
|
||||
|
||||
6
.zshrc
6
.zshrc
@ -30,3 +30,9 @@ alias ytv-best="youtube-dl -f bestvideo+bestaudio "
|
||||
figlet -w 100 "JaeUs-Device"
|
||||
|
||||
cat ~/.cache/wal/sequences &
|
||||
|
||||
# Fire it up for WSL2
|
||||
#VETHER_IP=$(/bin/grep nameserver /etc/resolv.conf 2> /dev/null | /bin/tr -s ' ' | /bin/cut -d' ' -f2)
|
||||
#export DISPLAY=$VETHER_IP:10.0
|
||||
export DISPLAY=192.168.144.1:10.0
|
||||
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
#!/bin/bash
|
||||
#wal_dir=~/ShareDirectory/wallpaper/idol/landscape/karina
|
||||
#wal_dir=~/ShareDirectory/wallpaper/idol/portrait/karina
|
||||
wal_dir=~/ShareDirectory/wallpaper/normal
|
||||
|
||||
files=($1/*)
|
||||
|
||||
export DISPLAY=192.168.144.1:10.0
|
||||
files=($wal_dir/**/*)
|
||||
randomfile=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}")
|
||||
echo $randomfile
|
||||
wal -i $randomfile --saturate 1.0
|
||||
|
||||
10
scripts/wsl_init_daemon.sh
Normal file
10
scripts/wsl_init_daemon.sh
Normal file
@ -0,0 +1,10 @@
|
||||
# SSH Daemon
|
||||
sudo /bin/sshd
|
||||
|
||||
# Cron
|
||||
sudo /bin/crond
|
||||
|
||||
# Ip config ( When Netcus desktop )
|
||||
sudo ip addr add dev eth0 192.168.144.2/24
|
||||
sudo ip addr add dev eth0 192.168.1.146/24
|
||||
|
||||
Reference in New Issue
Block a user