Updated scripts
This commit is contained in:
parent
179ab2707f
commit
9ad2f5aa66
@ -5,7 +5,7 @@ general {
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 60
|
||||
timeout = 300
|
||||
on-timeout = python ~/linuxbox/black.py
|
||||
}
|
||||
|
||||
|
||||
@ -170,6 +170,7 @@ bind = $mainMod, J, layoutmsg, preselect d
|
||||
bind = $mainMod, K, layoutmsg, preselect u
|
||||
bind = $mainMod, M, exec, com.moonlight_stream.Moonlight
|
||||
bind = $mainMod, F, exec, walker --modules applications
|
||||
bind = SUPER, L, exec, python ~/linuxbox/black.py
|
||||
bind = $mainMod CTRL, W, exec, $browser
|
||||
bind = $mainMod , N, exec, $nvim
|
||||
bind = ALT, Tab, workspace, e+1
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
exec-once = /home/cm/linuxbox/set-xr18-2ch.sh
|
||||
exec-once = [workspace 1] $nvim
|
||||
exec-once = systemctl --user start hypridle
|
||||
bind = $mainMod, D, togglespecialworkspace, discord
|
||||
bind = $mainMod, W, togglespecialworkspace, web
|
||||
bind = $mainMod, A, togglespecialworkspace, ranger
|
||||
|
||||
12
pico-load.sh
12
pico-load.sh
@ -24,13 +24,9 @@ if [ "$OS" == "Ubuntu" ]; then
|
||||
sudo umount /mnt/usb
|
||||
fi
|
||||
elif [ "$OS" == "Arch Linux" ]; then
|
||||
# sudo umount /mnt/usb
|
||||
# while [ ! -f /mnt/usb/INFO_UF2.TXT ]; do
|
||||
# sudo mkdir -p /mnt/usb
|
||||
# sudo mount /dev/sda1 /mnt/usb -o umask=000
|
||||
# sleep 1
|
||||
# done
|
||||
while [ ! -d /media/RPI-RP2 ]; do
|
||||
sleep 1
|
||||
done
|
||||
set -e
|
||||
cargo run --release
|
||||
# sudo umount /mnt/usb
|
||||
cargo run --release --target thumbv6m-none-eabi
|
||||
fi
|
||||
|
||||
@ -76,14 +76,14 @@ sleep 1
|
||||
|
||||
# Create backup/snapshot
|
||||
if pacman -Qs timeshift >/dev/null; then
|
||||
CONFIG_FILE="/etc/timeshift/timeshift.json"
|
||||
if [ -f "$CONFIG_FILE" ]; then
|
||||
BTRFS_MODE=$(jq '.btrfs_mode' "$CONFIG_FILE")
|
||||
if [ "$BTRFS_MODE" == '"true"' ]; then
|
||||
printf -- '\033[33m Creating backup/snapshot\n\033[37m'
|
||||
sudo timeshift --create --comments "Update script"
|
||||
fi
|
||||
fi
|
||||
# CONFIG_FILE="/etc/timeshift/timeshift.json"
|
||||
# if [ -f "$CONFIG_FILE" ]; then
|
||||
# BTRFS_MODE=$(jq '.btrfs_mode' "$CONFIG_FILE")
|
||||
# if [ "$BTRFS_MODE" == '"true"' ]; then
|
||||
printf -- '\033[33m Creating backup/snapshot\n\033[37m'
|
||||
sudo timeshift --create --comments "Update script"
|
||||
# fi
|
||||
# fi
|
||||
fi
|
||||
|
||||
# Enable multilib (if applicable)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user