move scripts, update other things

This commit is contained in:
fbachus committed 2026-09-30 23:23:35 +02:00
1 parent 8be9fe6370
commit 0c79acd431
61 files changed
+2728 -539

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/fish
set b $(seq 0 5 100 | tofi --config ~/.config/tofi/brightness_config)
for i in (ddcutil detect | rg Display | sed -r "s/^Display (\d*)/$1/")
ddcutil setvcp 10 $b -d $i
end
+8
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 in $(ddcutil detect | rg Display | sed -r "s/^Display (\d*)/$1/")
do ddcutil setvcp 10 $b -d $i
done
+1
View File
@@ -0,0 +1 @@
cliphist list | awk '{gsub("\t", " "); print}'\ | tofi --width=800 --font-size=14 --font-features="" --anchor=bottom-right --background-color=191A1CE0 | awk '{print $1}' | tr -d '\n' | cliphist decode | wl-copy
+10
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