From 36b30d96f2fc01d0d037f3fab39de29f9714bb30 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Fri, 9 May 2025 22:51:36 +0530 Subject: [PATCH] feat: Added mate polkit agent and added droidcam-obs plugin --- home/apps/obs-studio.nix | 5 ++++- home/linux/hyprland.nix | 5 +++-- neovim/default.nix | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/home/apps/obs-studio.nix b/home/apps/obs-studio.nix index a1c48bb0..d986a598 100644 --- a/home/apps/obs-studio.nix +++ b/home/apps/obs-studio.nix @@ -2,6 +2,9 @@ programs.obs-studio = { enable = pkgs.stdenv.isLinux; # enableVirtualCamera = true; - plugins = [pkgs.obs-studio-plugins.wlrobs]; + plugins = [ + pkgs.obs-studio-plugins.wlrobs + pkgs.obs-studio-plugins.droidcam-obs + ]; }; } diff --git a/home/linux/hyprland.nix b/home/linux/hyprland.nix index dc7aa431..ba7845f6 100644 --- a/home/linux/hyprland.nix +++ b/home/linux/hyprland.nix @@ -7,7 +7,7 @@ ../../modules/hyprpaper.nix ]; - services.hyprpolkitagent.enable = true; + # services.hyprpolkitagent.enable = true; services.hypridle = { enable = true; settings = { @@ -157,7 +157,7 @@ ]; exec-once = [ # "${pkgs.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1" - # "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1" + "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1" # "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1" # "${pkgs.swww}/bin/swww init; swww img ~/.local/share/dotfiles/images/wallpaper.jpg" "${pkgs.ironbar}/bin/ironbar" @@ -182,6 +182,7 @@ # "$mainMod, M, exit," "$mainMod, t, togglefloating," "$mainMod, f, fullscreen," + "$mainMod, g, fullscreenstate,0,2" "$mainMod, d, exec, ${pkgs.anyrun}/bin/anyrun" "$mainMod, Space, exec, ${pkgs.anyrun}/bin/anyrun" "$mainMod, p, pseudo, # dwindle" diff --git a/neovim/default.nix b/neovim/default.nix index eba88bea..4a110643 100644 --- a/neovim/default.nix +++ b/neovim/default.nix @@ -176,6 +176,7 @@ in { }; suggestion = { enabled = true; + auto_trigger = true; keymap = { accept = ""; };