From d7f6edb7e9fb5e79d1d55ae589efadecfe119a5c Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Wed, 2 Mar 2022 20:41:56 -0500 Subject: fix spec for move-to-next-mon --- move-to-next-monitor/move-to-next-monitor.spec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'move-to-next-monitor') diff --git a/move-to-next-monitor/move-to-next-monitor.spec b/move-to-next-monitor/move-to-next-monitor.spec index 332b8b9..7615227 100644 --- a/move-to-next-monitor/move-to-next-monitor.spec +++ b/move-to-next-monitor/move-to-next-monitor.spec @@ -34,7 +34,12 @@ BuildRequires: coreutils Requires: python3 Requires: wmctrl Requires: xdotool +%if 0%{?rhel} == 7 +Requires: xorg-x11-utils +%else Requires: (xorg-x11-utils or ((xprop and xrandr) and xwininfo)) +Requires: make +%fi %description move-to-next-monitor is a small script that makes it easy for display managers without this native functionality to provide it. You can assign a shortcut key in the display manager settings to the script to use it. -- cgit