using archlinux sway -
when quiting sway using sway exit or mod+shift+e
this error arises -
conpositer does not implement the XDG toplevel icon protocol
common/ipc-client: unable to recive IPC responsee ERROR main > Wayland connect error: connection reset by peer (os error 104)
err:wayland.c 2212: failed to flush wayland socket: Broken pipe
ERROR main > Wayland connect error: No such file or direciory (os error 2)

my sway config -
set $mod Mod4

set $left h
set $down j
set $up k
set $right l

set $term exec foot
set $menu exec rofi -show drun
set $browser exec chromium
set $fileBrowser exec pcmanfm

set $paste exec cliphist list | rofi -dmenu | cliphist decode | wl-copy

set $screenshot exec shotman --capture
set $swaylock exec swaylock -f -c 000000
set $htop $term -a 'htop' htop

for_window [app_id="htop"] floating enable

exec wl-paste --type text --watch cliphist store
exec wl-paste --type image --watch cliphist store
exec wl-clip-persist --clipboard regular

exec mako
exec sway-audio-idle-inhibit
exec swayidle -w \
    timeout 300 'swaylock -f -c 000000' \
    timeout 300 'swaymsg "output * power off"' \
    resume 'swaymsg "output * power on"' \
    before-sleep 'playerctl pause' \
    before-sleep 'swaylock -f -c 000000'

floating_modifier $mod normal
bindsym $mod+Shift+q kill
bindsym $mod+Shift+c reload
bindsym $mod+Shift+e exec swaynag -t warning -m 'Do you really want to exit sway?' -B 'Yes' 'swaymsg exit' 'sleep 1 && swaymsg exit'

bindsym $mod+Return $term
bindsym $mod+space $menu
bindsym $mod+Shift+Return $browser
bindsym $mod+Shift+p $browser --incognito
bindsym $mod+e $fileBrowser

bindsym $mod+p $paste
bindsym control+Shift+l $swaylock
bindsym control+Shift+escape $htop

bindsym Print $screenshot region
bindsym Shift+Print $screenshot output
bindsym Ctrl+Print $screenshot window

bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right

bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10

bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+3 move container to workspace number 3
bindsym $mod+Shift+4 move container to workspace number 4
bindsym $mod+Shift+5 move container to workspace number 5
bindsym $mod+Shift+6 move container to workspace number 6
bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10

bindsym $mod+b splith
bindsym $mod+v splitv
bindsym $mod+f fullscreen

bindsym $mod+a focus mode_toggle
bindsym $mod+Shift+space floating toggle

bindsym $mod+Shift+minus move scratchpad
bindsym $mod+minus scratchpad show

mode "resize" {
    bindsym $left resize shrink width 10px
    bindsym $down resize grow height 10px
    bindsym $up resize shrink height 10px
    bindsym $right resize grow width 10px
    bindsym Left resize shrink width 10px
    bindsym Down resize grow height 10px
    bindsym Up resize shrink height 10px
    bindsym Right resize grow width 10px
    bindsym Return mode "default"
    bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"

bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindsym XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle

bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+

bar {
    position bottom
    mode hide
    status_command ~/.config/sway/bar.sh
    colors {
        statusline #abb2bf
        background #ffffff00
        inactive_workspace #282c34 #282c34  #5c5c5c
        focused_workspace #458588 #458588 #ebdbb2
        active_workspace #83a598 #83a598 #282828
    }
}
bindsym $mod+m bar mode toggle

output * bg ./nixos.png fill

### Input Configuration
# Example for configuring input devices
# input "2:14:SynPS/2_Synaptics_TouchPad" {
#     dwt enabled
#     tap enabled
#     natural_scroll enabled
#     middle_emulation enabled
# }

input "type:pointer" accel_profile flat
input "type:keyboard" xkb_options caps:swapescape
input * {
    xkb_layout "us"
}

seat * hide_cursor 3000

font pango: "Iosevka" Regular 9

default_border pixel
hide_edge_borders smart

include /etc/sway/config.d/*

bashrc - 
PS1="\n \[\e[38;5;40m\]\w\[\e[38;5;51m\] > \[\e[0m\]"
set -o vi
HISTCONTROL=ignoreboth
export EDITOR=nvim
export VISUAL=nvim
# eval "$(direnv hook bash)"

alias l="eza -l --icons=always"
alias ll="eza -la --icons=always"
alias vi="nvim ~/vimwiki/index.md"
alias vim="nvim"
alias nb="newsboat"
alias pic="swayimg"
alias speed="speedtest-cli --bytes"
alias record="asciinema rec"
alias play="asciinema play"
alias yt="yt-dlp"
alias fzf="fzf --preview 'bat --color=always --style=numbers --line-range=:500 {}'"