Big changes concerning color scheme (switching to seventy nine), reorganized monitors config files, new notification daemon and quick settings panel, new scripts and other minor changes

This commit is contained in:
Gu://em_ 2025-06-04 19:28:09 +02:00
parent 746fa5a835
commit 602e3f2f97
28 changed files with 1034 additions and 60 deletions

50
.local/bin/afs.sh Executable file
View file

@ -0,0 +1,50 @@
#!/bin/sh
# Variables
student_id='guillem.george'
server_url='cri.epita.fr'
afs_path="/afs/${server_url}/user/g/gu/${student_id}/u/"
mount_path="$HOME/Drives/afs"
# Functions
connect() {
kinit -f $student_id@CRI.EPITA.FR
sshfs -o reconnect $student_id@ssh.$server_url:$afs_path $mount_path
cd $mount_path
}
reconnect() {
kinit -f $student_id@CRI.EPITA.FR
}
print_help() {
echo "Usage: $0 (connect|reconnect)"
echo
echo " connect Mounts the AFS on the specified folder"
echo " reconnect Fix filesystem not responding problem"
}
# Handle arguments
if [ $# -eq 0 ]; then
connect
elif [ $# -eq 1 ]; then
if [ $1 == "connect" ]; then
connect
elif [ $1 == "reconnect" ]; then
reconnect
fi
else
print_help
fi
## Warning you need to adjust your ssh config file correctly to make
## it work. Just add the following lines:
# Host ssh.cri.epita.fr
# GSSAPIAuthentication yes
# GSSAPIDelegateCredentials yes
## You'll also need to configure your keys properly in your CRI profile

18
.local/bin/avahi-patch.sh Executable file
View file

@ -0,0 +1,18 @@
#!/bin/sh
if [ $(whoami) != root ]; then
echo "Please run this script as root"
echo "-> sudo $0"
echo
sudo $0
exit $?
fi
apps_path=/usr/share/applications
rm $apps_path/avahi-discover.desktop
rm $apps_path/bvnc.desktop
rm $apps_path/bssh.desktop
echo "- Done"
exit 0