From 09708c2646763aeec7d1cb3d6e1bafc20302a444 Mon Sep 17 00:00:00 2001 From: pika Date: Fri, 21 Mar 2025 20:14:05 +0100 Subject: [PATCH] f --- install.sh | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/install.sh b/install.sh index 542b8e0..dedc992 100755 --- a/install.sh +++ b/install.sh @@ -222,14 +222,6 @@ __dep__() { done } -__monitors__() { - if [ ! -e "$HOME/.monitors.conf" ]; then - res="$(hyprctl monitors | grep -oP '\d+x\d+@\d+\.\d+' | head -n 1)" - touch "$HOME/.monitors.conf" - echo "monitor = eDP-1, ${res}, 0x0, 1" >"$HOME/.monitors.conf" - fi -} - pkg_optional() { _ops=( "cowsay" @@ -287,11 +279,11 @@ main() { sleep 2 - [ "$__optional__" -eq "true" ] && + [ "$__optional__" == 'true' ] && pkg_optional - __monitors__ - echo_note "found resolution ${res}" + # __monitors__ + # echo_note "found resolution ${res}" } main