diff options
| author | JaKooLit <jimmielovejay.com> | 2024-01-01 15:13:32 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay.com> | 2024-01-01 15:13:32 +0900 |
| commit | 16621bef0e8e3419f82389ba841b97db40a555b1 (patch) | |
| tree | 01d154902acde99d3e110072259a9d72f1eee4af /config/hypr/scripts/Wlogout.sh | |
| parent | 978cb01c7794ca6aabc613810b23698f94fad298 (diff) | |
- Breaking Changes.
- Quick Edit script moved to user scripts - I understand some users wants to use other editor
- RofiBeats moved to user scripts - This is because users wants their own stations :)
- RofiBeats keybinds changed to SUPER SHIFT M keybind
- Keybinds to change layout SUPER ALT L
- Wlogout Script adjusted with 4K.
- Wallpaper Scripts are moved to UserScripts. This is because if users has a different location of wallpapers and also wants a different animations
Diffstat (limited to 'config/hypr/scripts/Wlogout.sh')
| -rwxr-xr-x | config/hypr/scripts/Wlogout.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/hypr/scripts/Wlogout.sh b/config/hypr/scripts/Wlogout.sh index 998d3fed..71d21447 100755 --- a/config/hypr/scripts/Wlogout.sh +++ b/config/hypr/scripts/Wlogout.sh @@ -1,8 +1,8 @@ #!/bin/bash # Set variables for parameters -A_2160=2500 -B_2160=2700 +A_2160=500 +B_2160=500 A_1440=500 B_1440=550 A_1080=300 @@ -24,7 +24,7 @@ echo "Detected Resolution: $resolution" # Set parameters based on screen resolution and scaling factor if ((resolution >= 2160)); then - wlogout --protocol layer-shell -b 6 -T $(awk "BEGIN {printf \"%.0f\", $A_2160 * 2160 * $hypr_scale / $resolution}") -B $(awk "BEGIN {printf \"%.0f\", $B_2160 * 2160 * $hypr_scale / $resolution}") & + wlogout --protocol layer-shell -b 3 -T $(awk "BEGIN {printf \"%.0f\", $A_2160 * 2160 * $hypr_scale / $resolution}") -B $(awk "BEGIN {printf \"%.0f\", $B_2160 * 2160 * $hypr_scale / $resolution}") & echo "Setting parameters for resolution >= 2160p" elif ((resolution >= 1440)); then wlogout --protocol layer-shell -b 6 -T $(awk "BEGIN {printf \"%.0f\", $A_1440 * 1440 * $hypr_scale / $resolution}") -B $(awk "BEGIN {printf \"%.0f\", $B_1440 * 1440 * $hypr_scale / $resolution}") & @@ -38,4 +38,4 @@ elif ((resolution > 720)); then else wlogout & echo "Setting default parameters for resolution <= 720p" -fi +fi
\ No newline at end of file |
