Created
September 18, 2022 09:29
-
-
Save tyjak/95863f4302b5bd8c85e565a122f8e0df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# get width of the monitor | |
# GistID: 95863f4302b5bd8c85e565a122f8e0df | |
xrandr | grep "*" | cut -d" " -f4 | cut -d"x" -f2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment