aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2024-05-13 09:31:53 +0900
committerJaKooLit <jimmielovejay@gmail.com>2024-05-13 09:31:53 +0900
commit811c587a4a10ed54d0a13ffbec20319197e342b7 (patch)
tree828bb4fe54f4b7232b2a497c4f6a251bc2b18122 /config/hypr/scripts
parent598bc000c06cae385732b2cb41cc575496db37c3 (diff)
waybar modules cleanup and some new icons
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/Wlogout.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/hypr/scripts/Wlogout.sh b/config/hypr/scripts/Wlogout.sh
index f3746530..e2126016 100755
--- a/config/hypr/scripts/Wlogout.sh
+++ b/config/hypr/scripts/Wlogout.sh
@@ -10,8 +10,8 @@ A_1600=400
B_1600=400
A_1440=350
B_1440=350
-A_1080=50
-B_1080=50
+A_1080=350
+B_1080=350
A_720=50
B_720=50
@@ -45,7 +45,7 @@ elif ((resolution >= 1080 && resolution < 1440)); then
T_val=$(awk "BEGIN {printf \"%.0f\", $A_1080 * 1080 * $hypr_scale / $resolution}")
B_val=$(awk "BEGIN {printf \"%.0f\", $B_1080 * 1080 * $hypr_scale / $resolution}")
echo "Setting parameters for resolution >= 1080p and < 2k"
- wlogout --protocol layer-shell -b 3 -T $T_val -B $B_val &
+ wlogout --protocol layer-shell -b 6 -T $T_val -B $B_val &
elif ((resolution >= 720 && resolution < 1080)); then
T_val=$(awk "BEGIN {printf \"%.0f\", $A_720 * 720 * $hypr_scale / $resolution}")
B_val=$(awk "BEGIN {printf \"%.0f\", $B_720 * 720 * $hypr_scale / $resolution}")
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage