Updated scripts
This commit is contained in:
parent
e4525c333c
commit
ed2a3ae710
@ -323,6 +323,13 @@ windowrulev2 = workspace emptyn, initialTitle:^(.*PrusaSlicer.*)$
|
||||
# FreeCad
|
||||
windowrulev2 = workspace emptyn, initialTitle:^(FreeCAD.*)$
|
||||
|
||||
# RSI
|
||||
windowrulev2 = workspace 1, initialClass:^(.*explorer.exe.*)$
|
||||
windowrulev2 = workspace 1, initialTitle:^(.*RSI.*)$
|
||||
|
||||
# Steam
|
||||
windowrulev2 = workspace 2, initialTitle:^(.*Steam.*)$
|
||||
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
windowrulev2 = suppressevent maximize, class:.*
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ HOSTNAME=$(hostname | tr '[:lower:]' '[:upper:]')
|
||||
|
||||
# Declare associative array for roles
|
||||
declare -A ROLES
|
||||
for role in GAME VR DESKTOP_BASE DESKTOP_WORK CODE NVIDIA_GPU NVIDIA_1080_GPU TERMINAL HYPERLAND; do
|
||||
for role in BT GAME VR DESKTOP_BASE DESKTOP_WORK CODE NVIDIA_GPU NVIDIA_1080_GPU TERMINAL HYPERLAND; do
|
||||
ROLES["$role"]="no"
|
||||
done
|
||||
|
||||
@ -44,6 +44,7 @@ SIMONBOX)
|
||||
ROLES[NVIDIA_1080_GPU]="yes"
|
||||
ROLES[TERMINAL]="yes"
|
||||
ROLES[HYPERLAND]="yes"
|
||||
ROLES[BT]="yes"
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -405,4 +406,9 @@ if [ "${ROLES[LAB]}" == "yes" ]; then
|
||||
cd~ && wget "https://git.cmtec.se/cm/spm6103_viewer/-/raw/main/spm6103_viewer.py?ref_type=heads&inline=false"
|
||||
fi
|
||||
|
||||
if [ "${ROLES[BT]}" == "yes" ]; then
|
||||
sudo pacman -S --noconfirm --neededs bluez bluez-utils blueman
|
||||
sudo systemctl enable bluetooth.service
|
||||
sudo systemctl start bluetooth.service
|
||||
fi
|
||||
printf -- '\033[32m \n\n***** Update complete! Please reboot. *****\n\n\033[37m'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user