From bbc3fd250bd3956afb46bc759597cb2db5d2fdd9 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Tue, 4 Jul 2023 03:02:29 -0400 Subject: [PATCH] Configure looking-glass --- home-manager/linux/programs/hyprland.nix | 2 ++ machines/levitation/home.nix | 14 ++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/home-manager/linux/programs/hyprland.nix b/home-manager/linux/programs/hyprland.nix index b7b92f5..50f61db 100644 --- a/home-manager/linux/programs/hyprland.nix +++ b/home-manager/linux/programs/hyprland.nix @@ -234,6 +234,8 @@ in with lib; { # Emacs streaming windowrulev2 = float,title:^(emacs-streaming)$ + # Looking Glass + ## Scratchpads # Alacritty diff --git a/machines/levitation/home.nix b/machines/levitation/home.nix index 19fe6eb..edce33c 100644 --- a/machines/levitation/home.nix +++ b/machines/levitation/home.nix @@ -90,4 +90,18 @@ }; }; + # Looking glass + xdg.configFile."looking-glass/client.ini" = { + text = '' + [input] + rawMouse=yes + [audio] + periodSize=512 + bufferLatency=7 + micDefault=allow + [egl] + scale = 1 + ''; + }; + }