about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-11-17 15:08:40 +0900
committersefidel <contact@sefidel.net>2023-11-17 15:08:40 +0900
commitca4cf27840e0a407a5c5d46c391731a1b4c35f5e (patch)
treeec8d3081a5e322963b678940b3ddd4412d10fa5c
parente754f3f99c18a774e9d8d3dfff02660c6d9d729a (diff)
downloadnixrc-ca4cf27840e0a407a5c5d46c391731a1b4c35f5e.tar.gz
nixrc-ca4cf27840e0a407a5c5d46c391731a1b4c35f5e.zip
feat(home/gui): sway: add display mirroring binding
-rw-r--r--home/profiles/gui/config/sway.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/profiles/gui/config/sway.nix b/home/profiles/gui/config/sway.nix
index 9fe97c4..f97e5e9 100644
--- a/home/profiles/gui/config/sway.nix
+++ b/home/profiles/gui/config/sway.nix
@@ -164,6 +164,9 @@ in
   # Aeroplane mode
   bindsym XF86WLAN exec ${pkgs.writeShellScript "aeroplane-mode" (import ../scripts/aeroplane-mode.nix)}
 
+  # Display mirroring
+  bindsym XF86Display exec wl-present mirror
+
   # Screenshot
   bindsym $mod+Print exec grimshot copy area
   bindsym Print      exec grimshot copy active