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