From 84eff8a560dd427a48bfffcd098f7b0a6145f0ba Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Tue, 13 Aug 2024 23:19:28 +0300 Subject: [PATCH] IPC, FAQ: revamp --- pages/FAQ/_index.md | 20 ++++++++++---------- pages/IPC/_index.md | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pages/FAQ/_index.md b/pages/FAQ/_index.md index 8d2888f..5a98f2d 100644 --- a/pages/FAQ/_index.md +++ b/pages/FAQ/_index.md @@ -160,10 +160,10 @@ silently (i.e. without the flickering from workspace to workspace). Put the following in your `hyprland.conf`: (example) ```ini -exec-once=[workspace 1 silent] kitty -exec-once=[workspace 1 silent] subl -exec-once=[workspace 3 silent] mailspring -exec-once=[workspace 4 silent] firefox +exec-once = [workspace 1 silent] kitty +exec-once = [workspace 1 silent] subl +exec-once = [workspace 3 silent] mailspring +exec-once = [workspace 4 silent] firefox ``` ### How do I move my favorite workspaces to a new monitor when I plug it in? @@ -174,7 +174,7 @@ following: In hyprland.conf: ```ini -exec-once=handle_monitor_connect.sh +exec-once = handle_monitor_connect.sh ``` where `handle_monitor_connect.sh` is: (example) @@ -209,7 +209,7 @@ Until then, OTD is the way to go. _~/.config/hypr/hyprland.conf_ ```ini -exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP ``` Make sure that your portals launch _after_ this gets executed. For some people, @@ -272,9 +272,9 @@ these window rules to your config to make these programs work with both of your screens. ```ini -windowrulev2=float,title:^(flameshot) -windowrulev2=move 0 0,title:^(flameshot) -windowrulev2=suppressevent fullscreen,title:^(flameshot) +windowrulev2 = float,title:^(flameshot) +windowrulev2 = move 0 0,title:^(flameshot) +windowrulev2 = suppressevent fullscreen,title:^(flameshot) ``` ### I cannot bind SUPER as my mod key on my laptop @@ -375,7 +375,7 @@ If you see a monitor that should not be there (usually named `Unknown-1`), you can work around the issue by adding in your `hyprland.conf`: ```ini -monitor=Unknown-1,disabled +monitor = Unknown-1,disabled ``` ## I get a .so file missing error on launch diff --git a/pages/IPC/_index.md b/pages/IPC/_index.md index 6920ef5..ff614b2 100644 --- a/pages/IPC/_index.md +++ b/pages/IPC/_index.md @@ -12,14 +12,14 @@ via code / bash utilities. echo $HYPRLAND_INSTANCE_SIGNATURE ``` -## $XDG_RUNTIME_DIR/hypr/\[HIS\]/.socket.sock +## `$XDG_RUNTIME_DIR/hypr/[HIS]/.socket.sock` Used for hyprctl-like requests. See the [Hyprctl page](../Configuring/Using-hyprctl) for commands. basically, write `[flag(s)]/command args`. -## $XDG_RUNTIME_DIR/hypr/\[HIS\]/.socket2.sock +## `$XDG_RUNTIME_DIR/hypr/[HIS]/.socket2.sock` Used for events. Hyprland will write to each connected client live events like this: