DOTS
This commit is contained in:
parent
b176c83374
commit
411a3ad9de
6 changed files with 20 additions and 20 deletions
|
|
@ -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/
|
||||
15
bin/update
Executable file
15
bin/update
Executable file
|
|
@ -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
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
ripgrep fd wget silver-searcher tree ranger nodejs yarn mosh w3m urlview nmap rtv gnupg youtube-dl nodePackages.tern nodePackages.eslint nodePackages.javascript-typescript-langserver nodePackages.js-beautify nodePackages.prettier ffmpeg ispell aspell hexyl nnn entr httpie cacert
|
||||
ripgrep fd wget silver-searcher tree ranger nodejs yarn mosh w3m urlview nmap rtv gnupg youtube-dl nodePackages.tern nodePackages.eslint nodePackages.javascript-typescript-langserver nodePackages.js-beautify nodePackages.prettier ffmpeg ispell aspell aspellDicts.en aspellDicts.en-computers aspellDicts.en-science aspellDicts.fr aspellDicts.de aspellDicts.eo aspellDicts.es hexyl nnn entr httpie cacert
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ fileext = ".vcf"
|
|||
type = "carddav"
|
||||
url = "https://carddav.messagingengine.com/"
|
||||
username = "dustinswan@fastmail.com"
|
||||
password.fetch = ["command", "~/dotfiles/bin/decrypt_password.sh", "dustinswan@fastmail.com"]
|
||||
password.fetch = ["command", "~/dotfiles/bin/decrypt-password", "dustinswan@fastmail.com"]
|
||||
|
||||
[pair fastmail_calendar]
|
||||
a = "fastmail_calendar_local"
|
||||
|
|
@ -34,4 +34,4 @@ fileext = ".ics"
|
|||
type = "caldav"
|
||||
url = "https://caldav.messagingengine.com/"
|
||||
username = "dustinswan@fastmail.com"
|
||||
password.fetch = ["command", "~/dotfiles/bin/decrypt_password.sh", "dustinswan@fastmail.com"]
|
||||
password.fetch = ["command", "~/dotfiles/bin/decrypt-password", "dustinswan@fastmail.com"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue