xmonad: only reset builtin display

This commit is contained in:
Primrose 2024-07-28 16:46:55 +02:00
parent 566a908ce8
commit 5e084d770d
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 2 additions and 4 deletions

View file

@ -46,7 +46,6 @@ import Control.Monad (msum)
import Data.Ratio (Ratio, (%))
import qualified Data.Text as T
import NeatInterpolation (text)
xmonadConfig = def
{ modMask = myMod
@ -184,8 +183,8 @@ myKeymaps =
, spawn "scrot -s"
)
-- reset all displays
, ((0, xF86XK_Display), spawn "xrandr --auto")
-- reset builtin display
, ((0, xF86XK_Display), spawn "xrandr --output eDP-1 --auto")
, ((0, xF86XK_MonBrightnessDown), spawn "light -U 5")
, ((0, xF86XK_MonBrightnessUp), spawn "light -A 5")