fix dashes in hyprctl

This commit is contained in:
vaxerski 2022-07-15 20:07:52 +02:00
parent 90ebeaa881
commit fbcc6936f4

View file

@ -215,7 +215,7 @@ int main(int argc, char** argv) {
const auto ARGS = splitArgs(argc, argv); const auto ARGS = splitArgs(argc, argv);
for (auto i = 0; i < ARGS.size(); ++i) { for (auto i = 0; i < ARGS.size(); ++i) {
if (ARGS[i].contains("-")) { if (ARGS[i][0] == '-') {
// parse // parse
if (ARGS[i] == "-j" && !fullArgs.contains("j")) { if (ARGS[i] == "-j" && !fullArgs.contains("j")) {
fullArgs += "j"; fullArgs += "j";