Initial commit
This commit is contained in:
commit
209ba130c0
4852 changed files with 1517959 additions and 0 deletions
5
.config/ml4w/scripts/wlogout.sh
Executable file
5
.config/ml4w/scripts/wlogout.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
res_w=$(hyprctl -j monitors | jq '.[] | select(.focused==true) | .width')
|
||||
res_h=$(hyprctl -j monitors | jq '.[] | select(.focused==true) | .height')
|
||||
h_scale=$(hyprctl -j monitors | jq '.[] | select (.focused == true) | .scale' | sed 's/\.//')
|
||||
w_margin=$((res_h * 27 / h_scale))
|
||||
wlogout -b 5 -T $w_margin -B $w_margin
|
||||
Loading…
Add table
Add a link
Reference in a new issue