fix dashes in hyprctl

This commit is contained in:
vaxerski 2022-07-15 20:07:52 +02:00
parent 90ebeaa881
commit fbcc6936f4
1 changed files with 1 additions and 1 deletions

View File

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