about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2024-09-29T00·04+0300
committertazjin <mail@tazj.in>2024-09-29T00·50+0000
commit334f60008b6547deee70c27f040c7e0976d67a30 (patch)
tree4db42812b60ed225be428cc57725e230ed603236
parent09cd095d2366edc07c4b6773dffafcbf4ee43269 (diff)
feat(tazjin/emacs): wire up niri integration r/8731
Change-Id: Ib0ef3b7cbf4c1dde121e31aa5052145efe350472
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12541
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
-rw-r--r--users/tazjin/dotfiles/niri.config.kdl1
-rw-r--r--users/tazjin/emacs/default.nix1
-rw-r--r--users/tazjin/nixos/modules/desktop.nix1
3 files changed, 3 insertions, 0 deletions
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