From b2aa06f910c2b34ddb3d47df2ed03112f7949fb9 Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Wed, 10 Sep 2025 21:11:18 -0500 Subject: [PATCH] - changed i3 bar to put taskbar on the right monitor... for now - added pull down sync script. just workes for one thing for now - added next/prev workspace to i3 - boost libs for vr --- env/.config/i3/config | 8 +++++++ env/.local/bin/scripts/backup/pull-froml | 30 ++++++++++++++++++++++++ runs-all/get-reqs-arch/for-vr.sh | 1 + 3 files changed, 39 insertions(+) create mode 100755 env/.local/bin/scripts/backup/pull-froml diff --git a/env/.config/i3/config b/env/.config/i3/config index 31b4bc3..c7fd2de 100644 --- a/env/.config/i3/config +++ b/env/.config/i3/config @@ -171,6 +171,8 @@ set $ws8 "8" set $ws9 "9" set $ws10 "10" +bindsym $mod+n workspace next +bindsym $mod+b workspace prev # switch to workspace bindsym $mod+1 workspace number $ws1 bindsym $mod+2 workspace number $ws2 @@ -258,5 +260,11 @@ bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { + output primary + status_command i3status +} + +bar { + output nonprimary status_command i3status } diff --git a/env/.local/bin/scripts/backup/pull-froml b/env/.local/bin/scripts/backup/pull-froml new file mode 100755 index 0000000..421fc30 --- /dev/null +++ b/env/.local/bin/scripts/backup/pull-froml @@ -0,0 +1,30 @@ +cd ~/ + +fsynca () { + # t? + rsync -RUuavn $exclude $syncfile "$target" +} + +fsyncb () { + printf "===confirm changes?\n" + read -p "y/n: " uinput + if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then + printf "\n\n\n" + rsync -RUuav --progress $exclude $syncfile "$target" + printf "\n===end sync\n---------\n\n" + fi +} + +# !! no in use. backup script does not perserve timestamps or something so it wants to overwrite most files +# will fix bidirectional sync at some point +# syncfile="laptop:.surf/styles laptop:.urlview laptop:.gnupg laptop:.local/bin/lf-gadgets laptop:.local/share/applications/custom laptop:.config/FreeTube laptop:.config/newsboat laptop:.config/zsh laptop:.config/vesktop/themes laptop:.keepass laptop:.config/Pinta laptop:.config/cmus laptop:.config/gajim/theme laptop:stuff" +syncfile="laptop:stuff/scripts/node/Nwjs/nms-data/" + +#sync game stuff +target="/home/iceyrazor/" +exclude="--exclude suff/.private --exclude stream.sh --exclude node_modules --exclude **/target" + + +fsynca + +fsyncb diff --git a/runs-all/get-reqs-arch/for-vr.sh b/runs-all/get-reqs-arch/for-vr.sh index 938f030..486c8e7 100755 --- a/runs-all/get-reqs-arch/for-vr.sh +++ b/runs-all/get-reqs-arch/for-vr.sh @@ -1 +1,2 @@ $sudo pacman -S --noconfirm cli11 eigen glib2 glib2-devel nlohmann-json patch +# $sudo pacman -S --noconfirm boost-libs boost #solarxr