DOTS
parent
b176c83374
commit
411a3ad9de
@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
#screen
|
||||
SCRH=`xrandr | awk '/current/ { print $8 }'`
|
||||
SCRW=`xrandr | awk '/current/ { print $10 }' | sed 's/,//'`
|
||||
#SCRW=${SCRW%\.}
|
||||
|
||||
#gif
|
||||
IMGHW=`gifsicle --info $1 | awk '/logical/ { print $3 }'`
|
||||
IMGH=${IMGHW%x*}
|
||||
IMGW=${IMGHW#*x}
|
||||
|
||||
#position
|
||||
POSH=$((($SCRH/2)-($IMGH/2)))
|
||||
POSW=$((($SCRW/2)-($IMGW/2)))
|
||||
|
||||
xwinwrap -g ${IMGHW}+${POSH}+${POSW} -ov -ni -s -nf -- gifview -w WID $1 -a
|
@ -1,3 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
rsync -avhW --compress-level=0 --progress --delete --checksum Sync /Volumes/NO\ NAME/
|
||||
rsync -avhW --compress-level=0 --progress --delete --checksum Pictures /Volumes/NO\ NAME/
|
||||
rsync -avhW --compress-level=0 --progress --delete --checksum Contacts /Volumes/NO\ NAME/
|
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
# if type "$brew" > /dev/null; then
|
||||
if command -v brew &> /dev/null; then
|
||||
brew update
|
||||
brew upgrade
|
||||
brew cask upgrade
|
||||
fi
|
||||
|
||||
if command -v nix &> /dev/null; then
|
||||
# if type "$nix" > /dev/null; then
|
||||
nix-channel --update
|
||||
nix-env -u
|
||||
home-manager switch
|
||||
fi
|
Loading…
Reference in New Issue