aboutsummaryrefslogtreecommitdiffhomepage
path: root/hyprctl/main.cpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-07-21 19:27:55 +0200
committervaxerski <[email protected]>2022-07-21 19:27:55 +0200
commitf512bf6b5a5c003560e421a0ccf4c1adb19148f5 (patch)
tree91091d8b588f5f83389fbebfd24151e23fc97e7d /hyprctl/main.cpp
parent7f660fed0d4a8133ccde21c3e092dbc8c6e08c60 (diff)
downloadHyprland-f512bf6b5a5c003560e421a0ccf4c1adb19148f5.tar.gz
Hyprland-f512bf6b5a5c003560e421a0ccf4c1adb19148f5.zip
remove server from hyprctl as it's unused
Diffstat (limited to 'hyprctl/main.cpp')
-rw-r--r--hyprctl/main.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp
index 4ff1aade..27b33523 100644
--- a/hyprctl/main.cpp
+++ b/hyprctl/main.cpp
@@ -105,13 +105,6 @@ void requestHyprpaper(std::string arg) {
return;
}
- const auto SERVER = gethostbyname("localhost");
-
- if (!SERVER) {
- std::cout << "Couldn't get host (2)";
- return;
- }
-
// get the instance signature
auto instanceSig = getenv("HYPRLAND_INSTANCE_SIGNATURE");