blob: 9fb4b3cd40819ca316bc92176d05e665d2cd6b6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
# Launch a specific class that is used to dim the background of the power menu
# This is done via a workaround window rules by creating a window size 1x1 behind the tofi menu
# and using this fake window to stay focused and dim around it
# This looks nicer than fiddling with the tofi styling in power.sh
exec setsid uwsm-app -- alacritty --class="work.kartoffln.power-menu" -e "/etc/hypr/scripts/power.sh"
# if you prefer you can use the following code, and update the tofi styling inside the script
# exec setsid uwsm-app -- /etc/hypr/scripts/power.sh
|