include /nix/store/wikvvzqfk86y5rlx8bx0jlq59aa7l414-catppuccin-sway-0-unstable-2024-10-14/catppuccin-mocha

font pango:monospace 10.000000
floating_modifier Mod4
default_border pixel 3
default_floating_border normal 2
hide_edge_borders smart
focus_wrapping no
focus_follows_mouse yes
focus_on_window_activation smart
mouse_warping output
workspace_layout default
workspace_auto_back_and_forth no
client.focused #f5a7de #11111b #cdd6f4 #f5e0dc #f5a7de
client.focused_inactive #6c7086 #181825 #cdd6f4 #f5e0dc #6c7086
client.unfocused #6c7086 #181825 #cdd6f4 #bac2de #bac2de
client.urgent #ce052a #181825 #fab387 #6c7086 #ce052a
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #181825
bindsym Mod4+1 workspace number 1
bindsym Mod4+0 workspace number 10
bindsym Mod4+2 workspace number 2
bindsym Mod4+3 workspace number 3
bindsym Mod4+4 workspace number 4
bindsym Mod4+5 workspace number 5
bindsym Mod4+6 workspace number 6
bindsym Mod4+7 workspace number 7
bindsym Mod4+8 workspace number 8
bindsym Mod4+9 workspace number 9
bindsym Mod4+Down focus down
bindsym Mod4+Left focus left
bindsym Mod4+Return exec /nix/store/6lmh9qmlb13c6ch9zd1pr5pdhc1gcplh-foot-1.22.3/bin/foot
bindsym Mod4+Right focus right
bindsym Mod4+Shift+0 move container to workspace number 10
bindsym Mod4+Shift+1 move container to workspace number 1
bindsym Mod4+Shift+2 move container to workspace number 2
bindsym Mod4+Shift+3 move container to workspace number 3
bindsym Mod4+Shift+4 move container to workspace number 4
bindsym Mod4+Shift+5 move container to workspace number 5
bindsym Mod4+Shift+6 move container to workspace number 6
bindsym Mod4+Shift+7 move container to workspace number 7
bindsym Mod4+Shift+8 move container to workspace number 8
bindsym Mod4+Shift+9 move container to workspace number 9
bindsym Mod4+Shift+Down move down
bindsym Mod4+Shift+Left move left
bindsym Mod4+Shift+Right move right
bindsym Mod4+Shift+Up move up
bindsym Mod4+Shift+c reload
bindsym Mod4+Shift+e exec swaymsg exit
bindsym Mod4+Shift+h move left
bindsym Mod4+Shift+j move down
bindsym Mod4+Shift+k move up
bindsym Mod4+Shift+l move right
bindsym Mod4+Shift+minus move scratchpad
bindsym Mod4+Shift+q kill
bindsym Mod4+Shift+space floating toggle
bindsym Mod4+Up focus up
bindsym Mod4+a focus parent
bindsym Mod4+b splith
bindsym Mod4+d exec /nix/store/l52hchbxk9w6i9hi513vspwh2mvyp37k-dmenu-5.3/bin/dmenu_path | /nix/store/l52hchbxk9w6i9hi513vspwh2mvyp37k-dmenu-5.3/bin/dmenu | /nix/store/c14zwgl8hf1wm0izij2i16xvk8ak70cy-findutils-4.10.0/bin/xargs swaymsg exec --
bindsym Mod4+e layout toggle split
bindsym Mod4+f fullscreen toggle
bindsym Mod4+h focus left
bindsym Mod4+j focus down
bindsym Mod4+k focus up
bindsym Mod4+l focus right
bindsym Mod4+minus scratchpad show
bindsym Mod4+r mode resize
bindsym Mod4+s layout stacking
bindsym Mod4+space focus mode_toggle
bindsym Mod4+v splitv
bindsym Mod4+w layout tabbed
bindsym Mod4+y exec /nix/store/6lmh9qmlb13c6ch9zd1pr5pdhc1gcplh-foot-1.22.3/bin/foot /nix/store/866y2shya5rca4w3r2c8yfwa5g5zf252-yazi-25.5.31/bin/yazi

input "type:keyboard" {
  xkb_layout us,ch(fr)
  xkb_options caps:escape,grp:win_space_toggle
}

output "*" {
  bg ~/.backgrounds/nixos-wallpaper-catppuccin-mocha.png fill
}

mode "resize" {
  bindsym Down resize grow height 10 px
  bindsym Escape mode default
  bindsym Left resize shrink width 10 px
  bindsym Return mode default
  bindsym Right resize grow width 10 px
  bindsym Up resize shrink height 10 px
  bindsym h resize shrink width 10 px
  bindsym j resize grow height 10 px
  bindsym k resize shrink height 10 px
  bindsym l resize grow width 10 px
}

bar {
  font pango:monospace 8.000000
  position top
  status_command /nix/store/mympf64s5g95vjx5mr2infhwi3jxdmzs-i3status-2.15/bin/i3status
  swaybar_command /nix/store/0dqqgd2rqq5djcz45i0pv30lpbik79qn-sway-1.11/bin/swaybar
  colors {
    background #11111b
    focused_workspace #f5a7de #f5a7de #585b70
    active_workspace #11111b #313244 #cdd6f4
    inactive_workspace #1e1e2e #313244 #cdd6f4
    urgent_workspace #ce052a #ce052a #585b70
  }
}

exec "/nix/store/lww2khz04qsc8prjp8l0haldwz15yivi-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP XDG_SESSION_TYPE NIXOS_OZONE_WL XCURSOR_THEME XCURSOR_SIZE; systemctl --user reset-failed && systemctl --user start sway-session.target && swaymsg -mt subscribe '[]' || true && systemctl --user stop sway-session.target"
