diff --git a/src/commands/utils/tab_data.toml b/src/commands/utils/tab_data.toml index 2e5e1283..209a4015 100644 --- a/src/commands/utils/tab_data.toml +++ b/src/commands/utils/tab_data.toml @@ -18,11 +18,12 @@ name = "Monitor Control" [[data.preconditions]] matches = true data = { environment = "XDG_SESSION_TYPE" } -values = ["x11"] +values = ["x11", "X11", "xorg", "Xorg", "tty"] -[[data.entries]] -name = "Set Resolution" -script = "monitor-control/set_resolutions.sh" +[[data.preconditions]] +matches = true +data = { environment = "DISPLAY" } +values = [":0", ":1", ":2", ":3", ":4", ":5", ":6", ":7", ":8", ":9"] [[data.entries]] name = "Set Resolution"