diff options
author | Mattias Andrée <maandree@kth.se> | 2024-02-18 13:22:42 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-02-18 13:22:42 +0100 |
commit | c274475635d410c0e9f812e71d20183cb923cd6b (patch) | |
tree | 70f59c3b28a36921ea46a93effc565d59e20f43b /xorg-xrandr/setres/__main__.py.gpp | |
parent | Add makeenv (diff) | |
download | dotfiles-c274475635d410c0e9f812e71d20183cb923cd6b.tar.gz dotfiles-c274475635d410c0e9f812e71d20183cb923cd6b.tar.bz2 dotfiles-c274475635d410c0e9f812e71d20183cb923cd6b.tar.xz |
misc updates
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rwxr-xr-x | xorg-xrandr/setres/__main__.py.gpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-xrandr/setres/__main__.py.gpp b/xorg-xrandr/setres/__main__.py.gpp index d34b85c..f5200c8 100755 --- a/xorg-xrandr/setres/__main__.py.gpp +++ b/xorg-xrandr/setres/__main__.py.gpp @@ -50,12 +50,12 @@ if hostname == 'zenith': sec_position = 'left' %%>hostname="$(hostname | tr '[A-Z]' '[a-z]')" -%%>file="${HOME}/.dotfiles/xorg-xrandr/setres/${hostname}" +%%>file="${HOME}/.dotfiles/private/setres/${hostname}" %%>if test -r "${file}"; then elif hostname == '%%{hostname}': connectors = {con.edid: con.name for con in screen.connectors if con.connected and con.edid and con.name} -%%>cat -- "${file}" +%%>sed 's/^[[:space:]]*\([^[:space:]]\)/ \1/' < "${file}" primes = [(home_prime, '1920x1200'), (work_prime, '1920x1080')] |