aboutsummaryrefslogtreecommitdiff
path: root/env/.local/bin
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2025-05-24 21:15:23 -0500
committericeyrazor <iceyrazor@mailfence.com>2025-05-24 21:15:23 -0500
commit90248ad8222cf99d5a8ef7e1f2816d3ee810d3b8 (patch)
treef79b4b9f0aeef744727caafb786bd00262d143c3 /env/.local/bin
parent1be4f161e38b721086c5aaab48d007e63fbec571 (diff)
stuff and things
Diffstat (limited to 'env/.local/bin')
-rwxr-xr-xenv/.local/bin/system/backup/backup.sh4
-rwxr-xr-xenv/.local/bin/system/backup/copy-to-git.sh21
-rwxr-xr-xenv/.local/bin/system/restart-pipe.sh1
-rwxr-xr-xenv/.local/bin/system/start-scripts/autostart.sh4
4 files changed, 6 insertions, 24 deletions
diff --git a/env/.local/bin/system/backup/backup.sh b/env/.local/bin/system/backup/backup.sh
index 7cbd20b..29ba348 100755
--- a/env/.local/bin/system/backup/backup.sh
+++ b/env/.local/bin/system/backup/backup.sh
@@ -15,13 +15,13 @@ fsyncb () {
fi
}
-syncfile="stuff .bash_profile .bashrc .surf/styles .gtkrc-2.0 .urlview .vimrc .xinitrc .Xresources .zshrc .p10k.zsh .gnupg .ssh .local/bin/lf-gadgets .config/dwm .config/wezterm .config/.profile .config/tmux .config/wireplumber .config/FreeTube .config/awesome .config/wlxoverlay .config/newsboat .var/app/dev.vencord.Vesktop/config/vesktop/themes .config/fastfetch .config/gtk-3.0 .config/rofi .config/lf .config/mutt .config/zsh .config/picom.conf .config/nvim .config/atuin .config/screenkey.json .config/vesktop/themes .keepass .config/Pinta .config/cmus .config/cava .config/hypr .config/waybar .local/share/applications/custom .local/share/osu"
+syncfile="stuff .surf/styles .gnupg .ssh .local/bin/lf-gadgets .config/wireplumber .config/FreeTube .config/wlxoverlay .config/newsboat .var/app/dev.vencord.Vesktop/config/vesktop/themes .config/zsh .config/vesktop/themes .keepass .config/Pinta .config/cmus .config/cava .local/share/applications/custom .local/share/osu"
# se shit
syncfile="$syncfile /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Blueprints /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/IngameScripts /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Saves"
target="/home/iceyrazor/mnt-backups/LINUX FILES/home/iceyrazor"
-exclude="--exclude node_modules --exclude node_modules_23 --exclude dontsync --exclude **/iceys-linux-stuffs --exclude **/target --exclude LinVAM/pyenv"
+exclude="--exclude node_modules --exclude node_modules_23 --exclude dontsync --exclude **/target --exclude LinVAM/pyenv"
fsynca
diff --git a/env/.local/bin/system/backup/copy-to-git.sh b/env/.local/bin/system/backup/copy-to-git.sh
deleted file mode 100755
index 212abda..0000000
--- a/env/.local/bin/system/backup/copy-to-git.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-cd ~/
-
-fsync () {
- rsync -RUurvn --delete-after $exclude $syncfile "$target"
- printf "===commit these changes?\n"
- read -p "y/n: " uinput
- if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then
- printf "\n\n\n"
- rsync -RUurv --progress --delete-after $exclude $syncfile "$target"
- printf "\n===end sync\n---------\n\n"
- fi
-}
-
-syncfile=".urlview .vimrc .Xresources .bashrc .zshrc .p10k.zsh .config/.profile .config/wezterm .config/dwm .config/tmux .config/awesome .config/rofi .config/lf .config/cava .config/hypr .config/waybar .config/picom.conf .config/nvim .config/atuin .config/screenkey.json .config/fastfetch stuff/manual-programs/suckless"
-
-syncfile="$syncfile stuff/scripts/system/stbar stuff/scripts/system/url-handler.sh stuff/scripts/system/backup/copy-to-git.sh stuff/scripts/system/backup/backup.sh"
-syncfile="$syncfile stuff/scripts/system/neoboot.sh stuff/scripts/system/math.sh stuff/scripts/system/bri.sh stuff/scripts/system/restart-pipe.sh stuff/scripts/system/set-pri-java.sh"
-target=~/stuff/iceys-linux-stuffs
-exclude="--exclude check_weth.sh --exclude awesome/default --exclude lua-ls-cc-tweaked --exclude .config/nvim/plugin"
-
-fsync
diff --git a/env/.local/bin/system/restart-pipe.sh b/env/.local/bin/system/restart-pipe.sh
deleted file mode 100755
index ec693dc..0000000
--- a/env/.local/bin/system/restart-pipe.sh
+++ /dev/null
@@ -1 +0,0 @@
-systemctl --user restart wireplumber pipewire pipewire-pulse
diff --git a/env/.local/bin/system/start-scripts/autostart.sh b/env/.local/bin/system/start-scripts/autostart.sh
index 3d1d1d6..822a0e5 100755
--- a/env/.local/bin/system/start-scripts/autostart.sh
+++ b/env/.local/bin/system/start-scripts/autostart.sh
@@ -33,6 +33,10 @@ fi
pipewire-pulse & disown
sleep 0.5s
+if [ "$WAYLAND_SESSION" ]; then
+ waybar & disown
+fi
+
if [ -z $(pgrep -f newsboat-fetch.sh) ]; then
~/.config/dwm/newsboat-fetch.sh &
fi