Fix fullscreen notis from Firefox (i3)

This commit is contained in:
2024-03-20 15:08:00 -04:00
parent b40f818e3c
commit d9a49a4bb4
4 changed files with 8 additions and 1 deletions

36
scripts/executable_backup-pc Executable file
View File

@@ -0,0 +1,36 @@
#!/bin/bash
# mount_dir="/run/media/kevin/backup-hd"
mount_dir="/mnt/linux-files-2"
# Backup destination
case $1 in
nzxt )
backup_dest="$mount_dir/nzxt"
# backup_dest="$mount_dir/backup-usb/nzxt"
;;
arch-2 )
backup_dest="$mount_dir/arch-2"
# backup_dest="$mount_dir/backup-usb/nzxt"
;;
x1 )
backup_dest="$mount_dir/laptop"
;;
esac
exclude_dirs_list="/home/kevin/txt/exclude-dirs-backup.txt"
exclude_dirs_list_full="/home/kevin/txt/exclude-dirs-backup-full.txt"
case $2 in
tar-root )
# Labels for backup name
distro="arch"
datetime=$(date "+%m.%d-%H.%M")
backup_file="$backup_dest/tar/$datetime-$distro-root.tar.gz"
sudo tar -czpvf "$backup_file" --exclude-from="$exclude_dirs_list" --exclude=/home /
;;
# full )
# sudo rsync -PraAX --exclude-from="$exclude_dirs_list_full" / "$backup_dest/full"
# ;;
home )
sudo rsync -PraAX --exclude-from="$exclude_dirs_list_full" /home "$backup_dest/full"
esac