From 2a4fb6c0c533cd01e52e2a1e56935fd8ad87eed3 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 8 May 2022 02:37:04 +0200 Subject: update --- .local/bin/scrhome | 4 ++-- .local/bin/vps | 29 +++++++++++++++++++---------- 2 files changed, 21 insertions(+), 12 deletions(-) (limited to '.local/bin') diff --git a/.local/bin/scrhome b/.local/bin/scrhome index 0b406e3..5762acb 100755 --- a/.local/bin/scrhome +++ b/.local/bin/scrhome @@ -50,11 +50,11 @@ xrandr --output VGA-1 --off #xrandr --output LVDS-1 --mode 1366x768 --pos 1920x657 --rotate normal xrandr \ --output HDMI-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal \ - --output VGA-1 --mode 1440x900 --pos 1920x0 --rotate normal \ + --output DP-2 --mode 1440x900 --pos 1920x0 --rotate normal \ + --output VGA-1 --off \ --output DP-1 --off \ --output HDMI-2 --off \ --output HDMI-3 --off \ - --output DP-2 --off \ --output DP-3 --off setwp ekb diff --git a/.local/bin/vps b/.local/bin/vps index 2828ed1..78cffc2 100755 --- a/.local/bin/vps +++ b/.local/bin/vps @@ -1,15 +1,22 @@ #!/bin/sh -serv_addr="root@jozanofastora.xyz" +serv_addr="root@95.179.223.82" -# jozanofastora-www +# joe-www rsync -urvhP --delete-after \ --exclude '.*' \ --exclude 'README.org' \ --exclude 'LICENSE' \ --exclude 'asm-example.cgi' \ - "$HOME"/dev/web/jozanofastora-www/ \ + "$HOME"/dev/web/joe-www/ \ $serv_addr:/usr/local/www/jozan +# joe-gemini +rsync -urvhP --delete-after \ + --exclude '.*' \ + --exclude 'README.org' \ + --exclude 'LICENSE' \ + "$HOME"/dev/web/joe-gemini/ \ + $serv_addr:/usr/local/gemini # gitjoe-cgit rsync -urvhP \ --exclude '.*' \ @@ -17,19 +24,21 @@ rsync -urvhP \ --exclude 'LICENSE' \ "$HOME"/dev/web/gitjoe-cgit/ \ $serv_addr:/usr/local/www/gitjoe -# jozanofastora-gemini +# joe-scripts rsync -urvhP --delete-after \ --exclude '.*' \ --exclude 'README.org' \ --exclude 'LICENSE' \ - "$HOME"/dev/web/jozanofastora-gemini/ \ - $serv_addr:/usr/local/gemini -# jozanofastora-scripts + "$HOME"/dev/perl/joe-scripts/ \ + $serv_addr:/root/bin/joe + +# gitjoe-scripts rsync -urvhP --delete-after \ --exclude '.*' \ --exclude 'README.org' \ --exclude 'LICENSE' \ - "$HOME"/dev/perl/jozanofastora-scripts/ \ - $serv_addr:/root/scripts + "$HOME"/dev/perl/gitjoe-scripts/src/ \ + $serv_addr:/root/bin/gitjoe # backups -rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat +rsync -uvhP "$XDG_CONFIG_HOME"/newsboat/urls $serv_addr:/root/backup/apps/newsboat +rsync -uvhP "$HOME"/.mozilla/firefox/jozan_privacy.tar.xz $serv_addr:/root/backup/apps/firefox -- cgit v1.2.3