summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-08 02:37:04 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-08 02:37:04 +0200
commit2a4fb6c0c533cd01e52e2a1e56935fd8ad87eed3 (patch)
treef32e1abb9e0fedd0542535ca5519ebb2baca9d91
parenttypo (diff)
downloaddotfiles-bsd-2a4fb6c0c533cd01e52e2a1e56935fd8ad87eed3.tar.gz
dotfiles-bsd-2a4fb6c0c533cd01e52e2a1e56935fd8ad87eed3.tar.bz2
dotfiles-bsd-2a4fb6c0c533cd01e52e2a1e56935fd8ad87eed3.tar.xz
dotfiles-bsd-2a4fb6c0c533cd01e52e2a1e56935fd8ad87eed3.tar.zst
dotfiles-bsd-2a4fb6c0c533cd01e52e2a1e56935fd8ad87eed3.zip
update
-rw-r--r--.config/x11/xinitrc2
-rw-r--r--.config/zsh/alias.zsh2
-rwxr-xr-x.local/bin/scrhome4
-rwxr-xr-x.local/bin/vps29
4 files changed, 23 insertions, 14 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
index 04b65c3..317029b 100644
--- a/.config/x11/xinitrc
+++ b/.config/x11/xinitrc
@@ -4,7 +4,7 @@ startif() {
pgrep "$1" >/dev/null || "$@" >/dev/null 2>&1 &
}
-"$HOME"/.local/bin/scrmain
+"$HOME"/.local/bin/setwp
"$HOME"/.local/bin/kb
startif dunst
startif picom
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh
index a66e15d..2e5e8da 100644
--- a/.config/zsh/alias.zsh
+++ b/.config/zsh/alias.zsh
@@ -57,7 +57,7 @@ alias \
irc='irssi' \
dgit='git --git-dir=$HOME/docs/dotfiles-bsd --work-tree=$HOME' \
confgit='git --git-dir=$HOME/docs/conffiles-bsd --work-tree=/' \
- vpsdo='/usr/home/jozan/dev/perl/jozanofastora-scripts/vps-do.pl'
+ gjdo='/usr/home/jozan/dev/perl/gitjoe-scripts/gitjoe-do.pl'
upsrc() {
doas git -C /usr/src pull --ff-only
}
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