too many things

This commit is contained in:
fbachus
2025-09-02 03:32:47 +02:00
parent c26d3a64b0
commit f19e8a00c7
81 changed files with 2724 additions and 1549 deletions

View File

@@ -0,0 +1,6 @@
#!/usr/bin/fish
set b $(seq 0 100 | tofi --config ~/.config/tofi/brightness_config)
for i in (seq 1 2)
ddcutil setvcp 10 $b -d $i
end

View File

@@ -0,0 +1,8 @@
#!/usr/bin/sh
b=$( for ((i=0;i<=100;i+=5)) do
echo $i
done| tofi --config ~/.config/tofi/brightness_config)
for ((i=0; i<3;i++)) do
ddcutil setvcp 10 $b -d $i
done

View File

@@ -0,0 +1,10 @@
#!/usr/bin/bash
case "$(printf "sleep\nreboot\nshutdown\nhybrid-sleep\nhibernate" | tofi --config .config/tofi/powermenu_config)" in
sleep) systemctl suspend;;
reboot) systemctl reboot;;
shutdown) shutdown now ;;
hybrid-sleep) hyprlock; systemctl suspend-then-hibernate;;
hibernate) systemctl hibernate;;
*) exit 1 ;;
esac