1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

changing scripts slightly

This commit is contained in:
TiynGER
2020-05-04 10:53:44 +02:00
parent b61d3da860
commit 0130de12b4
9 changed files with 15 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
intern=LVDS-1
extern=HDMI-1
extern=HDMI-2
(xrandr | grep "$extern disconnected")
(xrandr --listactivemonitors | grep $extern) || ((xrandr --output $extern --right-of $intern --auto && setbg) & exit)
(xrandr --listactivemonitors | grep $extern) && xrandr --output $extern --off

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Toggle touchpad. Requires xf86-input-synaptics.
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice