Commit 5f55e3a62314

Vincent Demeester <vincent@sbr.pm>
2025-02-26 10:36:32
users/vincent: some sway updates
- Add a way to switch from bepo to ergol and back - Use `i3-back` ๐Ÿ˜‡ Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 55a39a6
Changed files (1)
users
vincent
desktop
users/vincent/desktop/sway.nix
@@ -57,8 +57,8 @@ in
       bindkeysToCode = true;
       input = {
         "type:keyboard" = {
-          xkb_layout = "fr";
-          xkb_variant = "bepo";
+          xkb_layout = "fr,fr";
+          xkb_variant = "bepo,ergol";
           xkb_options = "grp:menu_toggle,grp_led:caps,compose:caps";
         };
       };
@@ -103,6 +103,7 @@ in
 
           "${mod}+Shift+space" = "floating toggle";
           "${mod}+space" = "focus mode_toggle";
+          "${mod}+Tab" = "[con_mark=_back] focus";
 
           "XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 10%+";
           "XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 10%-";
@@ -167,6 +168,8 @@ in
         { command = "${pkgs.pa-notify}/bin/pa-notify"; always = true; }
         # Probably put a condition here.
         { command = "emacs --fg-daemon"; }
+        { command = "i3-back"; }
+        { command = "firefox"; }
       ];
     };
     extraConfig =
@@ -274,6 +277,7 @@ in
   home.packages = with pkgs; [
     swaybg
     pinentry-gnome3
+    i3-back
   ];
 
 }