From 657696630f3aa7cee1ab17ecd88c34c2c47e2c80 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Wed, 21 Feb 2024 08:14:20 +0000
Subject: [PATCH] Add keybinding to cycle between autorandr profiles

---
 system/nixos/home-manager/modules/i3.nix | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/system/nixos/home-manager/modules/i3.nix b/system/nixos/home-manager/modules/i3.nix
index bb40ba3d..2af45b16 100644
--- a/system/nixos/home-manager/modules/i3.nix
+++ b/system/nixos/home-manager/modules/i3.nix
@@ -46,9 +46,9 @@ in {
         "${modifier}+Shift+k" = "move up";
         "${modifier}+Shift+l" = "move right";
 
-        "${modifier}+Shift+s" = "exec --no-startup-id feh --randomize --bg-scale /home/${username}/Pictures/Wallpaper/*;";
-        "${modifier}+Shift+p" = "exec flameshot gui";
-        "${modifier}+Shift+y" = "exec copyq toggle";
+        "${modifier}+Shift+s" = "exec ${pkgs.flameshot}/bin/flameshot gui";
+        "${modifier}+Shift+p" = "exec ${pkgs.autorandr}/bin/autorandr --cycle";
+        "${modifier}+Shift+y" = "exec ${pkgs.copyq}/bin/copyq toggle";
 
         "XF86AudioRaiseVolume" = "exec pamixer -ui 2 && pamixer --get-volume";
         "XF86AudioLowerVolume" = "exec pamixer -ud 2 && pamixer --get-volume";