From 2c0d93cc03e2fcdd2d2c614cd19247eca96cea77 Mon Sep 17 00:00:00 2001 From: samedamci Date: Tue, 2 Jun 2020 11:28:34 +0200 Subject: [PATCH] Add rotscreen script and bindings --- .config/sxhkd/sxhkdrc | 3 +++ .local/bin/scripts/rotscreen | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 .local/bin/scripts/rotscreen diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 6deafa7..76c18e9 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -63,3 +63,6 @@ ctrl + XF86Audio{Next,Prev} # stop XF86AudioStop mpc stop && refbar + +super + {Left,Up,Down,Right} + rotscreen {left,normal,inverted,right} diff --git a/.local/bin/scripts/rotscreen b/.local/bin/scripts/rotscreen new file mode 100755 index 0000000..4fbfd46 --- /dev/null +++ b/.local/bin/scripts/rotscreen @@ -0,0 +1,3 @@ +#!/bin/sh + +xrandr --output HDMI-1 --rotate "$1"