Fully updated to the actual (Boussole v1) config and got rid of most things that shouldn't be there

This commit is contained in:
Guillem George 2025-10-28 19:25:40 +01:00
parent 6b616b44dd
commit 71f2b38a0d
192 changed files with 854 additions and 605 deletions

10
.config/hypr/scripts/.__afs88AC Executable file
View file

@ -0,0 +1,10 @@
time_elapsed=0
while true; do
hours=$(($time_elapsed/3600))
minutes=$(($time_elapsed/60))
seconds=$(($time_elapsed%60))
printf '%02d:%02d:%02d\n' $hours $minutes $seconds
echo "$hours:$minutes:$seconds"
time_elapsed=$(($time_elapsed+1))
sleep 1
done

View file

@ -5,8 +5,8 @@
# If you want to add your own applications you may rather want to use exec-once in the environment.conf file
hyprpaper &
hyprpm reload -nn &
albert &
#hyprpm reload -nn &
swaync &
systemctl --user start hyprpolkitagent &
~/.config/hypr/scripts/restore-waybar.sh
waybar
#systemctl --user start hyprpolkitagent &
#~/.config/hypr/scripts/restore-waybar.sh

View file

@ -1,7 +1,6 @@
killall albert
killall hyprpaper
killall waybar
killall swaync
kill $(pidof hyprpaper)
kill $(pidof waybar)
kill $(pidof swaync)
hyprctl reload

View file

@ -13,10 +13,10 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then
keyword general:border_size 1;\
keyword decoration:rounding 0"
killall waybar
hyprctl notify 1 2000 0 "Enabled game mode"
hyprctl notify 1 2000 0 "Enabled simple mode"
exit
fi
hyprctl reload
~/.config/hypr/scripts/restore-waybar.sh
hyprctl notify 1 2000 0 "Disabled game mode"
hyprctl notify 1 2000 0 "Disabled simple mode"

View file

@ -1,2 +0,0 @@
song_info=$(playerctl metadata --format '{{title}} 󰎆 {{artist}}')
echo "$song_info"

View file

@ -1,35 +0,0 @@
#!/bin/sh
device=znt0001:00-14e5:650e-touchpad
toggle_variable="device[${device}]:enabled"
hyprctl keyword "${toggle_variable}" true
status_file="$HOME/.config/hypr/status/touchpad"
enable_touchpad() {
printf "on" > "${status_file}"
hyprctl notify 1 2000 0 "Enabled touchpad"
hyprctl keyword "${toggle_variable}" true
}
disable_touchpad() {
printf "off" > "${status_file}"
hyprctl notify 0 2000 0 "Disabled Touchpad"
hyprctl keyword "${toggle_variable}" false
}
if ! [ -f "${status_file}" ]; then
hyprctl notify 3 3000 0 "Status file missing"
enable_touchpad
else
if [ $(cat "${status_file}") = "on" ]; then
disable_touchpad
elif [ $(cat "${status_file}") = "off" ]; then
enable_touchpad
fi
fi