mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-16 00:51:35 +09:00
Compare commits
2 Commits
8edbaa5024
...
cfdd08bfe6
| Author | SHA1 | Date | |
|---|---|---|---|
| cfdd08bfe6 | |||
| 63770c0d61 |
@ -72,8 +72,8 @@ bspc rule -a \* state=tiled
|
|||||||
#fi
|
#fi
|
||||||
|
|
||||||
# TODO heres polybar
|
# TODO heres polybar
|
||||||
if [[ $JUPCID == "HWDEV" ]]; then
|
if [[ $JUPCID == "HOME-DESKTOP" ]]; then
|
||||||
polybar panel-bspwm --config=~/.config/polybar/config.ini
|
|
||||||
else
|
|
||||||
polybar panel-bspwm-1 & polybar panel-bspwm-2
|
polybar panel-bspwm-1 & polybar panel-bspwm-2
|
||||||
|
else
|
||||||
|
polybar panel-bspwm --config=~/.config/polybar/config.ini
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -533,7 +533,7 @@ ws-icon-5 = 6;6
|
|||||||
ws-icon-6 = 7;7
|
ws-icon-6 = 7;7
|
||||||
ws-icon-7 = 8;8
|
ws-icon-7 = 8;8
|
||||||
ws-icon-8 = 9;9
|
ws-icon-8 = 9;9
|
||||||
ws-icon-9 = 10;10
|
ws-icon-9 = 0;10
|
||||||
ws-icon-default = " "
|
ws-icon-default = " "
|
||||||
|
|
||||||
format = <label-state> <label-mode>
|
format = <label-state> <label-mode>
|
||||||
|
|||||||
@ -4,17 +4,28 @@
|
|||||||
wal_dir=~/walls/normal
|
wal_dir=~/walls/normal
|
||||||
|
|
||||||
# random wallpaper
|
# random wallpaper
|
||||||
files=()
|
if [[ $JUPCID == "HOME-DESKTOP" ]]; then
|
||||||
while IFS= read -r -d $'\0'; do
|
files=()
|
||||||
files+=("$REPLY")
|
while IFS= read -r -d $'\0'; do
|
||||||
done < <(find $wal_dir -type f -name "*" -print0)
|
files+=("$REPLY")
|
||||||
randomfile=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}")
|
done < <(find $wal_dir -type f -name "*" -print0)
|
||||||
echo $randomfile
|
randomfile=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}")
|
||||||
|
echo $randomfile
|
||||||
|
|
||||||
|
files=()
|
||||||
|
while IFS= read -r -d $'\0'; do
|
||||||
|
files+=("$REPLY")
|
||||||
|
done < <(find $wal_dir -type f -name "*" -print0)
|
||||||
|
randomfile2=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}")
|
||||||
|
echo $randomfile2
|
||||||
|
feh --bg-max "$randomfile" --bg-max "$randomfile2"
|
||||||
|
else
|
||||||
|
files=()
|
||||||
|
while IFS= read -r -d $'\0'; do
|
||||||
|
files+=("$REPLY")
|
||||||
|
done < <(find $wal_dir -type f -name "*" -print0)
|
||||||
|
randomfile=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}")
|
||||||
|
echo $randomfile
|
||||||
|
feh --bg-max "$randomfile"
|
||||||
|
fi
|
||||||
|
|
||||||
files=()
|
|
||||||
while IFS= read -r -d $'\0'; do
|
|
||||||
files+=("$REPLY")
|
|
||||||
done < <(find $wal_dir -type f -name "*" -print0)
|
|
||||||
randomfile2=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}")
|
|
||||||
echo $randomfile2
|
|
||||||
feh --bg-max "$randomfile" --bg-max "$randomfile2"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user