summaryrefslogtreecommitdiffstats
path: root/local/bin/laptop-xrandr.sh
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2024-09-11 04:25:38 +0900
committerMitsuo Tokumori <[email protected]>2024-09-11 04:25:38 +0900
commit37ff7062874b72bafa99afe661f42653565ed511 (patch)
tree60372bf7fdb94c9034c7d1cc5a17cd7df526c4fc /local/bin/laptop-xrandr.sh
parentdca319b8d9d221f1aaf3a00ee457d202096c66ac (diff)
downloaddotfiles-37ff7062874b72bafa99afe661f42653565ed511.tar.gz
dotfiles-37ff7062874b72bafa99afe661f42653565ed511.tar.bz2
dotfiles-37ff7062874b72bafa99afe661f42653565ed511.zip
RESTRUCTURE. Replicate relative paths in public/
Diffstat (limited to 'local/bin/laptop-xrandr.sh')
-rwxr-xr-xlocal/bin/laptop-xrandr.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/local/bin/laptop-xrandr.sh b/local/bin/laptop-xrandr.sh
deleted file mode 100755
index cbe9479..0000000
--- a/local/bin/laptop-xrandr.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-# See https://wiki.archlinux.org/title/Multihead
-
-# Didn't know how to get the screen name, this works for now
-#screen=$(xrandr | grep "primary" | awk '{ print $1 }')
-# But now how do I get the rest? And the correct order? Maybe it's better just
-# to define "hardcoded" functions and just call them.
-
-simple_2_monitor() {
- # enable
- xrandr --output eDP --auto \
- --output HDMI-A-0 --auto --left-of eDP
- # disable
- xrandr --output eDP --auto \
- --output HDMI-A-0 --off
-}
-
-# Thank you: https://www.maketecheasier.com/how-to-setup-dual-monitors-with-xrandr/
-# xrandr --auto --output HDMI-A-0 --mode 1920x1080 --right-of eDP
-
-#simple_2_monitor
-xrandr --auto --output HDMI-A-0 --mode 1920x1080 --right-of eDP