mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
6 lines
250 B
Bash
Executable File
6 lines
250 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Print the monitor scale of the internal monitor or first other monitor
|
|
|
|
hyprctl monitors -j | jq -r '([.[] | select(.name | contains("eDP"))][0] // .[0]).scale // empty | tonumber | if . == floor then floor else . end'
|