display stuff i guess

This commit is contained in:
h
2023-10-10 16:53:57 -04:00
parent 7e43e05a73
commit a7e4592a9c
5 changed files with 19 additions and 1 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
#!/bin/bash
oled-brightness "$@"
if [[ $(cat /etc/hostname) == "uzui" ]]; then
"${XDG_CONFIG_HOME}"/bin/uzui/oled-brightness "$@"
fi
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
#
if [[ $(cat /etc/hostname) == "uzui" ]]; then
"${XDG_CONFIG_HOME}"/bin/uzui/monitor_connect "$@"
fi
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
if [[ "$1" == "0x0" ]]; then
xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-1 --off
elif [[ "$1" == "mirror" ]]; then
xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-1 --mode 1920x1080 --same-as eDP-1
else
xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-1 --mode "$1" --pos 1920x0 --rotate normal
fi