Cleanup dotfiles, fixed permissions

Also updated i3 config
This commit is contained in:
Tristaan
2021-01-19 17:19:26 +01:00
parent dc12ab6e04
commit f21bbe6edb
62 changed files with 35 additions and 991 deletions

View File

@@ -0,0 +1,9 @@
#! /bin/bash
WALLPAPERS="/home/tristan/Pictures/bg_1440p"
ALIST=( `ls -w1 $WALLPAPERS` )
RANGE=${#ALIST[@]}
let "number = $RANDOM"
let LASTNUM="`cat $WALLPAPERS/.last` + $number"
let "number = $LASTNUM % $RANGE"
echo $number > $WALLPAPERS/.last
nitrogen --set-scaled --save $WALLPAPERS/${ALIST[$number]}