diff options
Diffstat (limited to 'basics/.local/bin')
| -rwxr-xr-x | basics/.local/bin/scrnshot | 5 | ||||
| -rwxr-xr-x | basics/.local/bin/setup-widescreen | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/basics/.local/bin/scrnshot b/basics/.local/bin/scrnshot new file mode 100755 index 0000000..a2dda76 --- /dev/null +++ b/basics/.local/bin/scrnshot @@ -0,0 +1,5 @@ +#/bin/sh + +# TODO: configure delay, output directory and others + +scrot -s -p -e 'mv $f ~/Desktop/shots && echo "$$HOME/Desktop/shots/$f"' diff --git a/basics/.local/bin/setup-widescreen b/basics/.local/bin/setup-widescreen new file mode 100755 index 0000000..0082ff9 --- /dev/null +++ b/basics/.local/bin/setup-widescreen @@ -0,0 +1,10 @@ +#!/usr/bin/env sh + +# Modeline +# cvt 3440 1440 30 +xrandr --newmode "3440x1440_30.00" 196.25 3440 3600 3952 4464 1440 1443 1453 1468 -hsync +vsync + +xrandr --addmode HDMI1 3440x1440_30.00 + +xrandr --output HDMI1 --mode 3440x1440_30.00 --primary --left-of eDP1 + |
