Compare commits
No commits in common. "38ee91873272f31e00e18a7864e4dac9cb708114" and "4fa1d623bd7e8cbb4f0e10adbe503250d300592a" have entirely different histories.
38ee918732
...
4fa1d623bd
@ -1,13 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
if xrandr | grep 'HDMI-A-0' | grep connected >/dev/null; then
|
||||
# Turn off laptop monitor
|
||||
xrandr --output eDP --off
|
||||
# Make sure it's running at 144hz
|
||||
xrandr --output HDMI-A-0 --mode 1920x1080 --rate 144
|
||||
# Enable tear free
|
||||
xrandr --output HDMI-A-0 --set TearFree on
|
||||
else
|
||||
# Just enable tearfree
|
||||
xrandr --output eDP --set TearFree on
|
||||
fi
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec dbus-launch --exit-with-session Hyprland
|
@ -1,21 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
doIt() {
|
||||
if xrandr | grep 'HDMI-A-0' | grep connected >/dev/null; then
|
||||
xrandr --output HDMI-A-0 --set TearFree "$1"
|
||||
else
|
||||
xrandr --output eDP --set TearFree "on"
|
||||
fi
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
"on")
|
||||
doIt "on"
|
||||
;;
|
||||
"off")
|
||||
doIt "off"
|
||||
;;
|
||||
*)
|
||||
echo "That option doesn't exist"
|
||||
;;
|
||||
esac
|
8
vpn
8
vpn
@ -2,16 +2,16 @@
|
||||
|
||||
up () {
|
||||
transmission-remote --exit
|
||||
sudo wg-quick up $1
|
||||
sudo wg-quick up myvpn
|
||||
exit
|
||||
}
|
||||
|
||||
down () {
|
||||
sudo wg-quick down $1
|
||||
sudo wg-quick down myvpn
|
||||
start-program transmission-daemon
|
||||
exit
|
||||
}
|
||||
|
||||
[ "$2" = "up" ] && up $1
|
||||
[ "$2" = "down" ] && down $1
|
||||
[ "$1" = "up" ] && up
|
||||
[ "$1" = "down" ] && down
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user