summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/mpv/mpv.conf2
-rw-r--r--.config/x11/xinitrc17
-rwxr-xr-x.local/bin/scr12
-rwxr-xr-x.local/bin/scr227
-rwxr-xr-x.local/bin/scr32
5 files changed, 31 insertions, 19 deletions
diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf
index d1f0c60..749a32a 100644
--- a/.config/mpv/mpv.conf
+++ b/.config/mpv/mpv.conf
@@ -1,5 +1,5 @@
# video-sync=display-resample
-vo=x11
+vo=gpu
osc=yes
cache=yes
demuxer-max-bytes=4GiB
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
index 8c23f02..63d8141 100644
--- a/.config/x11/xinitrc
+++ b/.config/x11/xinitrc
@@ -63,14 +63,15 @@ start_apps() {
}
export LANG='en_US.UTF-8'
-[ $host = "mother" ] && xrandr \
- --output HDMI-0 --mode 1920x1080 --pos 2560x0 --rotate normal \
- --output DP-0 --off \
- --output DP-1 --off \
- --output DP-2 --off \
- --output DP-3 --off \
- --output DP-4 --primary --mode 2560x1440 --rate 180 --pos 0x0 --rotate normal \
- --output DP-5 --off
+[ $host = "mother" ] && "$HOME"/.local/bin/scr2
+# [ $host = "mother" ] && xrandr \
+# --output HDMI-0 --mode 1920x1080 --pos 2560x0 --rotate normal \
+# --output DP-0 --off \
+# --output DP-1 --off \
+# --output DP-2 --off \
+# --output DP-3 --off \
+# --output DP-4 --primary --mode 2560x1440 --rate 180 --pos 0x0 --rotate normal \
+# --output DP-5 --off
[ $host = "po-rbo" ] && xrandr \
--output eDP-1 --mode 1920x1200 --pos 0x0 --rotate normal \
--output HDMI-1 --primary --mode 2560x1440 --pos 1920x0 --rotate normal \
diff --git a/.local/bin/scr1 b/.local/bin/scr1
index 9e94aef..4c41065 100755
--- a/.local/bin/scr1
+++ b/.local/bin/scr1
@@ -6,7 +6,7 @@ xrandr \
--output DP-1 --off \
--output DP-2 --off \
--output DP-3 --off \
- --output DP-4 --primary --mode 2560x1440 --rate 180 --pos 0x0 --rotate normal \
+ --output DP-4 --primary --mode 2560x1440 --rate 144 --pos 0x0 --rotate normal \
--output DP-5 --off
setwp "$HOME"/pics/wp.png
diff --git a/.local/bin/scr2 b/.local/bin/scr2
index ea823c8..6631c01 100755
--- a/.local/bin/scr2
+++ b/.local/bin/scr2
@@ -1,12 +1,23 @@
#!/bin/sh
-xrandr \
- --output HDMI-0 --mode 1920x1080 --pos 2560x0 --rotate normal \
- --output DP-0 --off \
- --output DP-1 --off \
- --output DP-2 --off \
- --output DP-3 --off \
- --output DP-4 --primary --mode 2560x1440 --rate 180 --pos 0x0 --rotate normal \
- --output DP-5 --off
+if [ $1 == "low" ]; then
+ xrandr \
+ --output HDMI-0 --mode 1920x1080 --pos 1920x0 --rotate normal \
+ --output DP-0 --off \
+ --output DP-1 --off \
+ --output DP-2 --off \
+ --output DP-3 --off \
+ --output DP-4 --primary --mode 1920x1080 --rate 144 --pos 0x0 --rotate normal \
+ --output DP-5 --off
+else
+ xrandr \
+ --output HDMI-0 --mode 1920x1080 --pos 2560x0 --rotate normal \
+ --output DP-0 --off \
+ --output DP-1 --off \
+ --output DP-2 --off \
+ --output DP-3 --off \
+ --output DP-4 --primary --mode 2560x1440 --rate 144 --pos 0x0 --rotate normal \
+ --output DP-5 --off
+fi
setwp "$HOME"/pics/wp.png
diff --git a/.local/bin/scr3 b/.local/bin/scr3
index 1724e90..a035fb0 100755
--- a/.local/bin/scr3
+++ b/.local/bin/scr3
@@ -6,7 +6,7 @@ xrandr \
--output DP-1 --off \
--output DP-2 --mode 1680x1050 --pos 0x0 --rotate normal \
--output DP-3 --off \
- --output DP-4 --primary --mode 2560x1440 --rate 180 --pos 1680x0 --rotate normal \
+ --output DP-4 --primary --mode 2560x1440 --rate 144 --pos 1680x0 --rotate normal \
--output DP-5 --off