Files
hyprland-toggle-tiling/src/main.cpp

15 lines
389 B
C++
Raw Normal View History

2025-06-10 14:16:44 +02:00
#include "../include/HyprlandService.h"
2025-06-10 14:09:56 +02:00
int main(int, char**){
for (auto& c : HyprlandService::getClientsOnActiveWorkspace()) {
HyprlandService::setClientFloating(c);
}
HyprlandService::setFloatingRule(true);
sleep(5);
for (auto& c : HyprlandService::getClientsOnActiveWorkspace()) {
HyprlandService::setClientTiled(c);
}
HyprlandService::setFloatingRule(false);
}