aboutsummaryrefslogtreecommitdiffstats
path: root/basics/.local
diff options
context:
space:
mode:
authorPeter Son Struschka <me@peter-struschka.com>2021-02-28 17:58:30 +0800
committerPeter Son Struschka <me@peter-struschka.com>2021-02-28 17:58:30 +0800
commit83d7b9c7ce20f16681afacf99ed3ab47427f1ded (patch)
tree5f607e348dadf13e5d6061217b7a317a48527d83 /basics/.local
parente5209aad576fe44d3965fcb94d6709348b0a93bf (diff)
downloaddotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.gz
dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.bz2
dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.lz
dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.xz
dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.zst
dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.zip
all: fixes and new modules
Diffstat (limited to 'basics/.local')
-rwxr-xr-xbasics/.local/bin/scrnshot5
-rwxr-xr-xbasics/.local/bin/setup-widescreen10
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
+