From 334f60008b6547deee70c27f040c7e0976d67a30 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 29 Sep 2024 03:04:35 +0300 Subject: feat(tazjin/emacs): wire up niri integration Change-Id: Ib0ef3b7cbf4c1dde121e31aa5052145efe350472 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12541 Reviewed-by: tazjin Tested-by: BuildkiteCI --- users/tazjin/dotfiles/niri.config.kdl | 1 + users/tazjin/emacs/default.nix | 1 + users/tazjin/nixos/modules/desktop.nix | 1 + 3 files changed, 3 insertions(+) diff --git a/users/tazjin/dotfiles/niri.config.kdl b/users/tazjin/dotfiles/niri.config.kdl index 1d1e69cf8f4d..a5926d5a8a8d 100644 --- a/users/tazjin/dotfiles/niri.config.kdl +++ b/users/tazjin/dotfiles/niri.config.kdl @@ -63,6 +63,7 @@ binds { Mod+Shift+T { spawn "alacritty"; } // fallback terminal Mod+D { spawn "xfce4-appfinder" "--disable-server"; } Super+Alt+L { spawn "swaylock" "-fFkl" "-c" "#008080"; } + Super+B { spawn "emacsclient" "-e" "(niri-go-anywhere-external)"; } // Volume control XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; } diff --git a/users/tazjin/emacs/default.nix b/users/tazjin/emacs/default.nix index 80db7610a107..80a922043277 100644 --- a/users/tazjin/emacs/default.nix +++ b/users/tazjin/emacs/default.nix @@ -113,6 +113,7 @@ pkgs.makeOverridable # Custom depot packages (either ours, or overridden ones) tvlPackages.dottime + tvlPackages.niri tvlPackages.nix-util tvlPackages.passively tvlPackages.rcirc diff --git a/users/tazjin/nixos/modules/desktop.nix b/users/tazjin/nixos/modules/desktop.nix index 8d599e4c920d..9511b57add50 100644 --- a/users/tazjin/nixos/modules/desktop.nix +++ b/users/tazjin/nixos/modules/desktop.nix @@ -34,6 +34,7 @@ # support tooling alacritty + fuzzel qt5.qtwayland swayidle waybar -- cgit 1.4.1